Hi,Another dirty workaround to hide X-Envelope-To from other recipients than the piler archive:
/etc/postfix/master.cf:
smtp unix - - - - - smtp
-o smtp_header_checks=pcre:/etc/postfix/x-remove-envelope-to
smtp_keep_envelope_to unix - - - - -
smtp
lmtp unix - - - - - lmtp
-o lmtp_header_checks=pcre:/etc/postfix/x-remove-envelope-to
/etc/postfix/transport_maps:
piler.domain.tld smtp_keep_envelope_to:[mypilerhost]:25
/etc/postfix/x-remove-envelope-to:
/^X-Envelope-To/ IGNORE
This uses smtp_keep_envelope_to as transport to piler.
Everything else is sent via smtp (when default_transport is smtp, of
course).
smtp then removes the "X-Envelope-To" header. Yes, I add it and then
remove it. :-/
Just wanted to share this idea... André
smime.p7s
Description: S/MIME Cryptographic Signature
