docker icon indicating copy to clipboard operation
docker copied to clipboard

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

Open buxm opened this issue 1 year ago • 1 comments

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.

buxm avatar Mar 17 '24 21:03 buxm

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

Bart1909 avatar Apr 24 '24 15:04 Bart1909