Is it true that masquerade_domains does not work for header From: in relayed 
emails? I have a fairly generic setup:

masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains = mydomain.com

that does indeed rewrite envelope from, but not header from, and subsequently 
DKIM signer (opendkim) in my relay does not match and does not sign the email.

if this is true, how do i properly masquerade header from in relayed emails?

header_checks? Does not seem to have regexp groups replace so

/From: (.*)@.*?mydomain.com/ <http://mydomain.com/> REPLACE From: 
$1...@mydomain.com <mailto:1...@mydomain.com>

does not seem to work and it does not really cover all cases like From: “some 
name “ <b...@mydomain.com>, etc.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to