anonaddy / docker

AnonAddy Docker image
MIT License
468 stars 51 forks source link

Add variable(s) to strip off headers from forwarded emails (Amazon SES compatibility) #267

Open buxm opened 3 months ago

buxm commented 3 months ago

Description

In this issue I opened in the anonaddy/anonaddy repository, I reported an error occurring when forwarding emails from certain senders while using Amazon SES as an email relay. I also described that the cause is in the sender setting certain email headers such as Sender with the original sender's address and Amazon SES checking that that header (and a few others) contains a verified identity. This makes Amazon SES essentially not 100% compatible with how Addy.io works. I finally explained a solution/workaround I found consisting of modifying the postfix configuration so that it strips the "offending" headers from forwarded emails.

It would be very helpful if anonaddy/docker had some environment variable(s) that can be set with the email header(s) (e.g. Sender, Source, etc.) to strip off from forwarded emails, so that postfix is automatically configured accordingly.

Bart1909 commented 2 months ago

+1 for this. I'm also facing this issue