-
Notifications
You must be signed in to change notification settings - Fork 153
cannot parse header or From address when replying to a mail #344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
8000 Already on GitHub? Sign in to your account
Comments
I don't think the problem is with the From address or header. The error message is just saying it was looking for the From address, and was parsing the message, and then encountered a long header when parsing the message. Any header that is longer than 1000 characters would trigger this. I don't suppose you have the message, or just its headers, to see what's going on with them? I check my logging, found a few lines about long header lines. They were spams with an actual too long header (looked like a corrupt dkim header). Btw, am I understanding it correctly this is during submission (to the queue for outgoing delivery), not for incoming deliveries? If it is during submission, and the headers are indeed too long, we can look at the application and why it generates long headers. |
I asked the client for the headers of the original mail and I think it's the
Correkt, the client received a mail and tried to reply to it and mox rejected it with the error message in my initial post. Looks like a typical "MS doesn't care for RFCs and standards" thing. |
Yeah, that's the header causing trouble. Outlook should just wrap it over multiple lines. Mox rejects it during submission in part because we don't want to be a bad sender, and we need to protect our reputation: Anything that is invalid about email messages can be held against your mail server or sending domain by receiving mail servers as a sign of spam. A workaround is probably to send a new message, not reply to the existing message. If they are a customer of microsoft, they could file a bug report with them (I don't think that's possible if you're not a paying microsoft customer). Perhaps we should stretch our limits a bit more. I think we already have a way to parse messages less strictly, allowing longer header lines (but there will always be some limit). |
Yeah, I suggested that too. I haven't heard back but it probably worked.
I don't think they are.
Maybe for headers that are known to hold longer values that might be a good idea. It's the first time i'm seeing this so it's likely a fluke more than a general issue. I think for now we can close this issue as the question on "why" has been answered. |
Uh oh!
There was an error while loading. Please reload this page.
A customer tried to reply to a mail today and the delivery was rejected with an error during
parsing message for smtputf8 check
. The error was:parsing message From address - parsing message: reading header line: line too long
His from address is pretty short, any idea what happend here?
Full log is here (sensitive date redacted):
The text was updated successfully, but these errors were encountered: