8000 cannot parse header or From address when replying to a mail · Issue #344 · mjl-/mox · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

Closed
wneessen opened this issue Apr 28, 2025 · 4 comments
Closed

cannot parse header or From address when replying to a mail #344

wneessen opened this issue Apr 28, 2025 · 4 comments

Comments

@wneessen
Copy link
wneessen commented Apr 28, 2025

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):

Apr 28 17:10:15 mail1 mox[5029]: l=info m="new connection" pkg=smtpserver remote=XXX.XXX.XXX.XXX:62607 local=YYY.YYY.YYY.YYY:587 submission=true tls=false viahttps=false listener=public cid=19658108294 delta="77.784µs"
Apr 28 17:10:15 mail1 mox[5029]: l=debug m="smtp command result" pkg=smtpserver kind=submission cmd=ehlo code=250 ecode= duration="54.596µs" cid=19658108294 delta=33.309474ms
Apr 28 17:10:15 mail1 mox[5029]: l=debug m="smtp command result" pkg=smtpserver kind=submission cmd=starttls code=220 ecode=2.0.0 duration="36.196µs" cid=19658108294 delta=19.647185ms
Apr 28 17:10:15 mail1 mox[5029]: l=debug m="starting tls server handshake" pkg=smtpserver cid=19658108294 delta="167.394µs"
Apr 28 17:10:15 mail1 mox[5029]: l=debug m="tls handshake completed" pkg=smtpserver version=tls1.2 ciphersuite=tls_ecdhe_ecdsa_with_aes_128_gcm_sha256 sni=mox.server.tld resumed=false clientcerts=0 cid=19658108294 delta=43.691806ms
Apr 28 17:10:15 mail1 mox[5029]: l=debug m="smtp command result" pkg=smtpserver kind=submission cmd=ehlo code=250 ecode= duration="35.306µs" cid=19658108294 delta=50.73576ms
Apr 28 17:10:15 mail1 mox[5029]: l=debug m="smtp command result" pkg=smtpserver kind=submission cmd=auth code=235 ecode=2.7.0 duration=37.740069ms cid=19658108294 delta=57.159882ms username=user@on.mox.server.tld
Apr 28 17:10:15 mail1 mox[5029]: l=info m="login attempt" pkg=smtpserver address=user@on.mox.server.tld account=user@on.mox.server.tld protocol=submission authmech= result=ok remoteip=XXX.XXX.XXX.XXX localip=YYY.YYY.YYY.YYY tls="version=tls1.2 ciphersuite=tls_ecdhe_ecdsa_with_aes_128_gcm_sha256 sni=mox.server.tld resumed=false alpn=" useragent= tlspubkeyfp= count=3 cid=19658108294 username=user@on.mox.server.tld
Apr 28 17:10:15 mail1 mox[5029]: l=debug m="smtp command result" pkg=smtpserver kind=submission cmd=mail code=250 ecode=2.1.0 duration="37.598µs" cid=19658108294 delta=51.38535ms username=user@on.mox.server.tld
Apr 28 17:10:15 mail1 mox[5029]: l=debug m="smtp command result" pkg=smtpserver kind=submission cmd=rcpt code=250 ecode=2.1.0 duration="32.159µs" cid=19658108294 delta=19.049541ms username=user@on.mox.server.tld
Apr 28 17:10:15 mail1 mox[5029]: l=debug m="parsing message for smtputf8 check" err="reading header line: line too long" pkg=smtpserver cid=19658108294 delta=79.872547ms username=user@on.mox.server.tld
Apr 28 17:10:15 mail1 mox[5029]: l=info m="parsing message From address" err="parsing message: reading header line: line too long" pkg=smtpserver user=user@on.mox.server.tld cid=19658108294 delta="191.783µs" username=user@on.mox.server.tld
Apr 28 17:10:15 mail1 mox[5029]: l=debug m="smtp command result" err="cannot parse header or From address: parsing message: reading header line: line too long" pkg=smtpserver kind=submission cmd=data code=550 ecode=5.6.0 duration=60.580296ms cid=19658108294 delta="342.3µs" username=user@on.mox.server.tld
Apr 28 17:10:18 mail1 mox[5029]: l=debug m="smtp command result" pkg=smtpserver kind=submission cmd=quit code=221 ecode=2.0.0 duration="18.523µs" cid=19658108294 delta=2.685673085s username=user@on.mox.server.tld
Apr 28 17:10:18 mail1 mox[5029]: l=info m="connection closed" pkg=smtpserver cid=19658108294 delta="218.604µs" username=user@on.mox.server.tld
@mjl-
Copy link
Owner
mjl- commented Apr 28, 2025

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.

@wneessen
Copy link
Author

I don't suppose you have the message, or just its headers, to see what's going on with them?

I asked the client for the headers of the original mail and I think it's the References header, which is 1000+ chars long.

Received: from
        eur05-db8-obe.outbound.protection.outlook.com (mail-db8eur05on2125.outbound.protection.outlook.com [40.107.20.125])
        by mox.server.tld ([YYY.YYY.YYY.YYY]) via tcp with ESMTPS id
        j1LhcxAzcCODWET47cvF1w (TLS1.3 TLS_AES_128_GCM_SHA256) for
        user@domain.on.mox.server.tld; 23 Apr 2025 14:00:18 +0200
Received: from AM0PR01MB6515.eurprd01.prod.exchangelabs.com
	2603:10a6:20b:161::13) by AS1PR01MB9011.eurprd01.prod.exchangelabs.com
	2603:10a6:20b:4dc::12) with Microsoft SMTP Server (version=TLS1_2,
	ipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8655.35; Wed, 23 Apr
	025 12:00:12 +0000
Received: from AM0PR01MB6515.eurprd01.prod.exchangelabs.com
	[fe80::fd51:330c:3070:8e6a]) by AM0PR01MB6515.eurprd01.prod.exchangelabs.com
	[fe80::fd51:330c:3070:8e6a%4]) with mapi id 15.20.8678.021; Wed, 23 Apr 2025
	2:00:12 +0000
From: Info@sender.domain.tld
To: user@domain.on.mox.server.tld
References: AM8PR01MB76841E7AC0D81DD8A1B5C55184DE2@AM8PR01MB7684.eurprd01.prod.exchangelabs.com AM8PR01MB76840E4964043D81066B0E3684DE2@AM8PR01MB7684.eurprd01.prod.exchangelabs.com AM8PR01MB76843E475B69F8167E9F4D5E84DE AM8PR01MB7684.eurprd01.prod.exchangelabs.com AM8PR01MB7684CB8CDCC31EF096C8999584DE2@AM8PR01MB7684.eurprd01.prod.exchangelabs.com AM8PR01MB768497F86FF53BF7EECFEFFF84DE2@AM8PR01MB7684.eurprd01.prod.exchangelabs.com AM8PR01MB76841D66C71F4AEAD5EA7C0E84DE2@AM8PR01MB7684.eurprd01.prod.exchangelabs.com AM8PR01MB7684A9CB2AB131EC97E44EA184AA2@AM8PR01MB7684.eurprd01.prod.exchangelabs.com AM0PR01MB6515511799A707F334095076EA602@AM0PR01MB6515.eurprd01.prod.exchangelabs.com AM0PR01MB65150EEFC9A604F37C41B5CAEA602@AM0PR01MB6515.eurprd01.prod.exchangelabs.com AM0PR01MB6515D77ABFD69522C50BF86EEA632@AM0PR01MB6515.eurprd01.prod.exchangelabs.com DBBPR01MB7692AB5E6999049F34C207B184582@DBBPR01MB7692.eurprd01.prod.exchangelabs.com <AM8PR01MB76846D32184683482BC882A684E92@AM8PR01MB7684.eurprd01.prod.exchangelabs.com> AM8PR01MB7684261298D18325CA9E9F3F84F42@AM8PR01MB7684.eurprd01.prod.exchangelabs.com AM0PR01MB65151062740C2618B61CFDF4EAA72@AM0PR01MB6515.eurprd01.prod.exchangelabs.com AM0PR01MB6515AA210788296A629ADFF9EAA72@AM0PR01MB6515.eurprd01.prod.exchangelabs.com AM0PR01MB6515039939088DD8FE8462B3EAA62@AM0PR01MB6515.eurprd01.prod.exchangelabs.com AM0PR01MB651538834C1CEC6C10504D7AEAA62@AM0PR01MB6515.eurprd01.prod.exchangelabs.com DB8PR01MB65208CCFE83D679A2E8EEE0EEAA12@DB8PR01MB6520.eurprd01.prod.exchangelabs.com DB8PR01MB65206A6671E436990D196C6EEAA12@DB8PR01MB6520.eurprd01.prod.exchangelabs.com AM0PR01MB6515DF0DE579D2F74E06951AEAAA2@AM0PR01MB6515.eurprd01.prod.exchangelabs.com AM0PR01MB6515E4F6FD2B4F8A9D9A0195EAB72@AM0PR01MB6515.eurprd01.prod.exchangelabs.com AM0PR01MB6515F99A0648C175DC6A5945EAB72@AM0PR01MB6515.eurprd01.prod.exchangelabs.com AM0PR01MB651561674AAFD4A6A76BAC61EAB72@AM0PR01MB6515.eurprd01.prod.exchangelabs.com <AM0PR01MB6515CF7808B896A2BD06AF33EAB72@AM0PR01MB6515.eurprd01.prod.exchangelabs.com>
In-Reply-To: AM0PR01MB6515CF7808B896A2BD06AF33EAB72@AM0PR01MB6515.eurprd01.prod.exchangelabs.com
Subject: Initiativbewerbung  - Rechtsanwaltsfachangestellte
Date: Wed, 23 Apr 2025 14:00:12 +0200
Message-ID: AM0PR01MB65151EE403B40C8340D894FDEABA2@AM0PR01MB6515.eurprd01.prod.exchangelabs.com
MIME-Version: 1.0
Content-Type: multipart/mixed;
                boundary="----=_NextPart_000_02C4_01DBB860.6EE2A540"
X-Mailer: Microsoft Outlook 16.0
X-Mox-Reason: no-bad-signals; not using any dmarc result;
                address/dkim/spf/ip-based reputation (inconclusive, no address/spf/dkim/ip
                reputation);
                content: not junk, spamscore 0.00, threshold 0.93 (ham words: (non-ascii)
                0.010, (non-ascii) 0.010, datenschutz 0.010, vertraulich 0.010,
                informieren 0.010, weitergabe 0.010, (non-ascii) 0.010, bewerbung 0.010,
                (non-ascii) 0.010, genannten 0.010), (spam words: alle 0.926, handel
                0.892, kanzleien 0.882, bitte 0.865, des 0.864, sein 0.859, (non-ascii)
                0.777, (non-ascii) 0.768, To:herkenroth 0.753, wird 0.725);
                remote ip not blocklisted;
                no known reputation and no bad signals;
Authentication-Results: mox.server.tld;
                iprev=pass (without dnssec) policy.iprev=40.107.20.125;
                dkim=pass (1024 bit rsa, without dnssec) header.d=wkmunter.onmicrosoft.com
                header.s=selector1-wkmunter-onmicrosoft-com header.a=rsa-sha256
                header.b=mxlVjIsB7Jm3;
                spf=permerror (without dnssec) smtp.mailfrom=sender.domain.tld;
                dmarc=none (without dnssec) header.from=sender.domain.tld
Thread-Index: AQHD/SpoEOVrVKAn+zVCH2OVq/9+IgHbAc1SAMV5KycCP8t5AAGlyM+2AgL+otkB0/G8ZwEbQZvHAnxQFUUBt+aPXAElk3mQAcbyAGcCzEaqoQIF8fOQAVz8OJwCLGVn8wI6Hk3jAgid0OMBY9VOTwIGQ3O6ASKV7NkBEakBIgDqRG8IAQkyvgkDDKQm8g==
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: AM0PR01MB6515:EE_|AS1PR01MB9011:EE_
x-ms-office365-filtering-correlation-id: a449ced6-56c7-4341-7dbf-08dd825e6738
x-microsoft-antispam: BCL:0;ARA:13230040|1800799024|376014|366016|10070799003|38070700018|8096899003|4053099003|13003099007;
x-microsoft-antispam-message-info: =?iso-8859-1?Q?oBXZpv/EGJitWziLVwlseYe0/CB1UZrkENsFswaR+BX7iBAuJygySyCUF7?=
	=?iso-8859-1?Q?d02YXz29wOBqR3uTsv2WHefgqn8cfO63Oqqy02QAHM2owuvzz1s9q6xqZu?=
	=?iso-8859-1?Q?mOhMQAC0e/QcI36JdwSrKYaZBoHe/wYT/i8M0jZw/eI2XaAHZ/3eXN0Vf/?=
	=?iso-8859-1?Q?8NESsffEe8IvhKLb2J2fXOTbwN8ZQe+d/59y1UZiHt6ZJ+XYkvwVvQRdyp?=
	?iso-8859-1?Q?P4/foQ0oEkRHMsZBQNrVl953/me44BDPUL82FA9S9djSRgnv+q/a5IXcg1?=
	?iso-8859-1?Q?JqiTeRQPv2A3/up1uG91XQLJHSlqlcM1qTuBWcdVH85zuCWwyKqNxTQuKi?=
	?iso-8859-1?Q?NZfAED2QKdtA1UGKT0PK79ZMQ244MvnLojrPB7VsL7J4F+NSZ+aXjkTK1u?=
	?iso-8859-1?Q?sS9HXb0peOA6yOtm6Y5H3aWVyhBLWOuriYzcOwfnafBsHYsGJRVGN/okYg?=
	?iso-8859-1?Q?eVr98iYY3pkqlzFdenVVprXnnESeTF+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iso-8859-1?Q?3fdnDsL8Vm6cq+QBPPsAZkzikqvF7qrI6Td0VUdXumo277mWOJectsBxxR?=
	?iso-8859-1?Q?i1NmTDHfv2u8smyRw2zPlIkUIf97p9T6zwCThl9E2fFFFd/GxrTv9jHztN?=
	?iso-8859-1?Q?emcg=3D=3D?=
X-OriginatorOrg: sender.domain.tld
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM0PR01MB6515.eurprd01.prod.exchangelabs.com
X-MS-Exchange-CrossTenant-Network-Message-Id: a449ced6-56c7-4341-7dbf-08dd825e6738
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Apr 2025 12:00:12.6294 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: c0380fb5-a41e-4326-8e12-6e9b0b68588e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1PR01MB9011
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:de;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR01MB6515.eurprd01.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(366016)(10070799003)(38070700018)(8096899003)(4053099003)(13003099007);DIR:OUT;SFP:1102;
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 37OoVqgBPoQUATtm5S6jJZekmwuS6fqitMxYLJVSNqG6euqlxmf8nAcPr5ihZL0B2Imyzfl+h7byofKOg/zQ3bKPC4o9vYae/KMDQdnNOvc=

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.

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.

@mjl-
Copy link
Owner
mjl- commented Apr 29, 2025

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).

@wneessen
Copy link
Author

A workaround is probably to send a new message, not reply to the existing message.

Yeah, I suggested that too. I haven't heard back but it probably worked.

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).

I don't think they are.

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).

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0