Duplicate header MIME-Version when using Amazon SES as mail relay #1300
Unanswered
DANgerous25
asked this question in
Self-hosting question
Replies: 1 comment 3 replies
-
With hints from this article I've managed to get a workaround working:
I don't know the implications of doing this but it appears to work. I'm all ears if anyone has any insight! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, my ISP blocks outbound SMTP so I'm trying to get my SL self-host working with SES. I've followed this guide for your reference.
I've now got to a point where the first email to verify a new user is getting bounced. The bounce message (which I presume comes from SES) looks like this from my postfix log /var/log/mail.log:
Sep 21 21:06:22 myserver postfix/smtp[494856]: 950083806B3: to=<[email protected]>, relay=email-smtp.ap-northeast-1.amazonaws.com[18.176.73.83]:587, delay=1.5, delays=0.27/0.08/0.71/0.43, dsn=5.0.0, status=bounced (host email-smtp.ap-northeast-1.amazonaws.com[18.176.73.83] said: 554 Transaction failed: Duplicate header 'MIME-Version'. (in reply to end of DATA command))
Internet searches yield many many cases of folks with similar issues when they switch to SES. In almost all cases I can find, the suggested solution is for apps to fix their code not to provide duplicate headers.
Looking at my email logs for the sl-email container I get this:
Unfortunately I have no clue how to debug this, or how to work around or fix the issue. Hopefully someone can help?
N.B. in changing what I thought to be personal information in the two snippets above, I lost consistency but I hope that's not important in the context of the question.
Beta Was this translation helpful? Give feedback.
All reactions