Closed Cerothen closed 11 months ago
Rewriting the mails content is definitely out of scope. If you think you need this there will be other mail servers out there that are happy to modify your mail to your taste.
As a side note. Most mail providers (Google, Zoho, ...) don't care what you write in the From header and will automatically rewrite the header themselves based on your authentication credentials.
The above configuration should based on my understanding take the parameter
remote_sender
and rewrite any FROM portion of the request to use that email to the upstream provider. Instead it just rejects the SMTP request.