Postfix version: 2.10.1
We have applications that send mail as firstname.lastname@example.org. These applications send to a postfix mail server, to relay mails. I would like to rewrite the from address to be email@example.com. I realise we need to change it on the app, but these changes will only go live in a few months, so I am trying to rewrite in postfix in the intrim
I have been able to rewrite all mails to firstname.lastname@example.org but i just want mails from email@example.com to be rewritten.
vi /etc/postfix/sender_canonical adding the following
This works, but changes all mail sent from the Postfix server to firstname.lastname@example.org
I have also tried adding
But this does not seem to do anything