[leafnode-list] Re: Malformed Message-ID?
Matěj Cepl
mcepl at cepl.eu
Wed Mar 1 14:06:47 CET 2023
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
--
https://matej.ceplovi.cz/blog/, @mcepl at floss.social
GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8
Home is where ~/.profile is.
-- from Usenet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <https://www.leafnode.org/pipermail/leafnode-list/attachments/20230301/d6351b0a/attachment.sig>
More information about the leafnode-list
mailing list