Postfix version: 2.10.1
We have applications that send mail as email@example.com. These applications send to a postfix mail server, to relay mails. I would like to rewrite the from address to be firstname.lastname@example.org. 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 email@example.com but i just want mails from firstname.lastname@example.org to be rewritten.
vi /etc/postfix/sender_canonical adding the following
This works, but changes all mail sent from the Postfix server to email@example.com
I have also tried adding
But this does not seem to do anything