[leafnode-list] Re: Malformed Message-ID?

Matthias Andree matthias.andree at gmx.de
Thu Mar 2 23:35:28 CET 2023


Am 01.03.23 um 14:06 schrieb Matěj Cepl via leafnode-list:
> On 2023-03-01, 02:41 GMT, Gary R. Schmidt via leafnode-list wrote:
>> 	 message-id      =  "Message-ID:" SP *WSP msg-id *WSP CRLF
>>
>> I think that  means the Message-ID is not malformed, it has a CRLF quite
>> happily embedded in it.
>>
>> Well, presuming it *is* a CRLF breaking the line, if it's just a NL,
>> then it probably is malformed.  Reading EBNF is tiring.
> That's probably it. I was using email.policy.default [1] for
> generating email messages in pyg [2], and it doesn't generate
> correct CRLF EOLs. Hopefully, it should be fixed now [3].
>
>> Which version of Leafnode are you using?  I cannot find your error
>> message in 1.12.0.
> leafnode-2.0.0+git.1625851959.1275fbe-1.3.x86_64 from SUSE
> packages (of which I am a maintainer).
>
> Best,
>
> Matěj
>
> [1] https://docs.python.org/3/library/email.policy.html#email.policy.default
> [2] https://sr.ht/~mcepl/pygn
> [3] https://git.sr.ht/~mcepl/pygn/commit/8dc75e435075
>
Matěj,

Chances are I never tested with this, OTOH if you have long Message-IDs
that your generator wants to fold them, ...

What are those two hex tags on your leafnode git tag? What is the commit
hash?

Thanks,
Matthias



More information about the leafnode-list mailing list