Hi all,

Apologies in advance if this is a redundant query. I did some searching on
the previous list posts and wasn't able to find a definitive recommendation
on this.

What I am trying to do is:

Setup a SMTP relay for outgoing mail where:
(a) All From: headers of the form [email protected] (example) are
rewritten to be [email protected]
(b) A Reply-To: header with the original [email protected] is added

I have achieved this by using this combination:
-- using sender_canonical_maps set to:
@cooldomain1.com  [email protected]
-- using header_checks set to:
/^From: (.*@cooldomain1\.com)/ PREPEND Reply-To:$1

This seems to work. However, I am not sure if this is a good approach or
would using a
milter (FILTER action in header_checks) be a better way? If so, is there a
pre-existing milter
available for this that is recommended? Thanks all.

cheers,

VM

Reply via email to