We’re trying to use postfix as our MTA, and are running into an issue
We want it to set up so emails sent with a from address of user1@. gets re-written to firstname.lastname@example.org when the email leaves the MTA.
Currently, we can configure Postfix with rewrite rules that have one-one mappings where
email@example.com -> firstname.lastname@example.org. But we have several subdomains and other internal domains in various combinations that could potentially relay through MTA.
Hence we’re seeking a way to configure it to rewrite the domain name
Any help would be appreciated.