1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-01-14 02:34:22 +02:00
Mailu/core
Mildred Ki'Lya 649a4fc9cf Add Delivered-To header to received messages
Postfix, after expanding the alias, is not transmitting the original
envelope recipient email address to dovecot and cannot record it in a
Received: header.

The LMTP DSN extension allows postfix to specify an ORCPT= parameter to
the "RCPT TO:" line (in postfix src/smtp/smtp_proto.c). However, dovecot
does not support the DNS extension on the LMTP endpoint. It has
preliminary support of the ORCPT parameter in latest versions but is is
disabled and not working.

The solution taken was to add a sieve script to parse the Received:
header written by postfix and parse the original RCPT TO address from
it. Then add the header through the "editheader" sieve extension. Later
sieve scripts can take this header to perform further filtering.
2018-04-03 22:19:13 +01:00
..
admin Parametrize hosts 2018-01-24 22:54:41 +01:00
dovecot Add Delivered-To header to received messages 2018-04-03 22:19:13 +01:00
nginx Relax the frame filtering to allow roundcube to display previews 2018-02-11 22:56:26 +01:00
none Move all directories per theme 2017-11-01 12:11:04 +01:00
postfix Update main.cf 2017-12-04 22:04:22 +01:00