I want to configure Postfix to replace the 'From' header in all forwarded/aliased messages with a custom email address, and the 'Reply-To' header with the original sender's address. Is that something that can be done with a simple configuration change, or am I looking at a more complex problem? For example:
From: "John Smith" <email@example.com> To: "Jane Rice" <firstname.lastname@example.org>
Would get translated to:
From: "My Email Forwarding Service" <email@example.com> Reply-To: "John Smith" <firstname.lastname@example.org> To: "Jane Rice" <email@example.com>
Ideally, I would also have it rewrite the message body (adding something about how the message was forwarded for them), but I know that's much more difficult. We have a number of email aliases, and everytime someone reports spam they received through their alias, our server gets flagged. I'm trying to minimize that damage as much as possible.
Any help is greatly appreciated!