Hi List,

I am running an application which is sending mail through Postfix
containing both a "From:" and a "Sender:" header.

For one specific address in "Sender:", I would like to swap the values
for "From:" and "Sender:".

For example:
The application dispatches a message
    From: addre...@domain1.com
    Sender: addre...@domain2.com
to Postfix.

Before Postfix delivers the message I would like it to be changed to
    From: addre...@domain2.com
    Sender: addre...@domain1.com

This swap should be done if, and only if the original "Sender:" is
addre...@domain2.com, and not for any other "Sender:" address.

Can this be achieved in Postfix?

Regards,
Lucas

Reply via email to