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 u...@cooldomain1.com (example) are
rewritten to be no-re...@cooldomain2.com
(b) A Reply-To: header with the original u...@cooldomain1.com is added

I have achieved this by using this combination:
-- using sender_canonical_maps set to:
@cooldomain1.com  no-re...@cooldomain2.com
-- 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