Re: Malformed Message-ID?

MatÄ›j Cepl via leafnode-list <[email protected]> Wed, 1 Mar 2023 14:06:47 +0100
Newsgroups gmane.network.leafnode
Organization SUSE Czech, s.r.o.
Message-ID <Y/[email protected]>
--===============1837908964982090253==
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="0G1Q6j6gJdCHLZRM"
Content-Disposition: inline


--0G1Q6j6gJdCHLZRM
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2023-03-01, 02:41 GMT, Gary R. Schmidt via leafnode-list wrote:
> 	 message-id      =3D  "Message-ID:" SP *WSP msg-id *WSP CRLF
>
> I think that  means the Message-ID is not malformed, it has a CRLF quite=
=20
> happily embedded in it.
>
> Well, presuming it *is* a CRLF breaking the line, if it's just a NL,=20
> 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=20
> 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=ECj

[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
--=20
https://matej.ceplovi.cz/blog/, @mcepl-ZvyNPa7Jd/[email protected]
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
=20
Home is where ~/.profile is.
   -- from Usenet


--0G1Q6j6gJdCHLZRM
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEPHagJ8pFrXCYtbwdeSBYAogLydgFAmP/TecACgkQeSBYAogL
ydi8qg//SwoxWtkuf13dmFm2VPNxZddn1Y5GJR6F6ndecfHVAZaCCk0qkYsrVj0x
z8wBl9WnmJwg6kgeKlTUEtqVd/Am4AEf4MiWb/95QhlekcHbGOyzg2RCam1fMZ3z
duJh5+LBSWEjpbP+a+Skb9LcdtC7OmiZ+iCUITto3F6O3J1umpDhtOdsaHQxbuNH
e3H1HMXBUwh2tsa+YmzI3b4yBN9sPKhk3Kl0P4/fkPzhc2YGmc0Ok4euXGZOUuIh
WV3BPFwsYlYyMru8czSlVsk9BDVz9tvRNWrP5HCLnn2Vv0HqtyvmTdE34Fc+vpq+
GarKiHHrneS3RONXWOXEnx42QehhBX1cN8jwEK4Md2yhOHdI7N57tcJ4S4G1su1w
GPXuJ6W1aqvmSaVntvLNmciTHAJEAARqXX2B4xgbvmEKpxURIlxHRn6g8G3sbRz7
WeC9+XYHne3FWuVFTsgb+nHXQYhzVYpmNW0L38ErNW9vwlE0Bo8/cdiC0IDFvDF5
h0zQCNnSNQldDvhRgK4p7iC1jHe61ZYovxuY51jep5NYdXe1mP4s9Zq4VQsGHN0h
DqtMNSRLL/elUZ/BENdi2feK1bi6d4HkjcBiQMHpRlSLlx1ZspIy96kQoA9LYfmY
kHeM+8KkUetgKw7wBH6woUwsOKQWaRyLjuzvYv02NOY2e1jsKoA=
=DNlq
-----END PGP SIGNATURE-----

--0G1Q6j6gJdCHLZRM--

--===============1837908964982090253==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline