4 Commits (ac62f26dfde937c27d9523d050fe051ab864c53d)

Author SHA1 Message Date
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.
7 years ago
kaiyou 28eff398d1 Send a vacation response only until the end date, fixes #218 7 years ago
kaiyou 1d9b3b00a7 Use rspamd as a milter service instead of deprecated rmilter 7 years ago
kaiyou 689be5f2d9 Move all directories per theme 7 years ago