Rejected mails are unreadable

When I check my self-hosted site’s /admin/email-logs/rejected, I find that rejected mails have their body like this:

The correct mail body starts with 谢谢 in UTF-8 (the full body is much longer), and the damaged text is m6Mtyx7x7j+rjuVupyY= in base64.

The mails in the database are already in this damaged state. Comparing that one with the one from the mail server, I find that the mail was rewritten, and I suspect that the email cleaner module scrambled the mail. (But I don’t have enough Ruby knowledge to understand its unique string encoding feature.)

Any chance these messages come from an Exchange server..?:

2 Likes

No. They come from Tencent and Netease. The original mail (I kept it on the mail server to investigate this issue) has no issue with either mutt or Ruby’s Mail lib.