Article View: alt.privacy.anon-server
Article #293199Re: mail2news bug: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 ...
From: Zax
Date: Mon, 26 Jun 2017 09:34
Date: Mon, 26 Jun 2017 09:34
92 lines
4673 bytes
4673 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Sat, 24 Jun 2017 21:16:44 +0000 (UTC), Anonymous wrote in
Message-Id: <98f59a6eb95da1d08a560ddc22f4861c@remailer.paranoici.org>:
> In article <08be7b84d34254bac2efb1728e15a1b4@dizum.com> I wrote:
>
>>Nomen Nescio <nobody@dizum.com> wrote:
>>
>>>Mail2News software developers,
>>>
>>>within at least the Subject: header argument after each comma directly
>>>followed by any printable character the m2n unit inserts a separating
>>>whitespace.
>>>
>>>This posting was sent by OmniMix 2.4.6 (exit dizum =>
>>>mail2news@m2n.mixmin.net) including the headers
>>>
>>>| Subject: mail2news bug: 10,11,12, 13,14,15, 16,17,18, 19,20,21
>>>| X-Test: 10,11,12, 13,14,15, 16,17,18, 19,20,21
>>>
>>>With QSL 1.1.2 I got similar results.
>>>
>>>Mail delivery works as expected, it's only about Usenet postings. AFAICS
>>>mail2news@dizum.com and mail2news@m2n.mixmin.net 'normalize' comma
>>>separation, whereas frell and frell2, which may have their own m2n
>>>strategy, get it right by not altering the original text.
>>>
>>>TIA for fixing that bug
>>
>>Does it only happen with longer, folded header entries?
>>
>>| Subject: Re: mail2news bug: 1,2,3, 4,5,6, 7,8,9, 10,11,12, 13,14,15, 16,17,18, 19,20,21 ...
>>| X-Test: Numbers to follow ... 1,2,3, 4,5,6, 7,8,9, 10,11,12, 13,14,15, 16,17,18, 19,20,21 ...
>
> Obviously is does. To sum it up, the m2n gateways mail2news@dizum.com
> and mail2news@m2n.mixmin.net corrupt header entries containing commas
> while folding them.
>
> It would be great if that could be fixed.
>
> Zax, any thoughts?
I'm struggling to reproduce the behaviour you describe. In fact, in my
tests, no folding at all takes place. Check out the short test thread
beginning with
<20170625200006.viikqxon4pwz5s7c@mixmin.net> in alt.testing.testing.
The mail2news gateway software doesn't perform any deliberate header
folding, it's handled by the email library. Specifically,
email.as_string(). When I use this directly in Python, it seems to wrap
at a whitespace close to the max line length.
>>> msg = """From: Steve Crook <steve@mixmin.net>
... Subject: Testing header folding
... Foldit: This is a long header, complete with a comma, some spaces,
and a number or two; 1,2,3.
...
... Payload space"""
>>> m.as_string()
'From: Steve Crook <steve@mixmin.net>\nSubject: Testing header
folding\nFoldit: This is a long header, complete with a comma, some
spaces, and a\n number or two; 1,2,3.\n\nPayload space'
As you can see in the above test, a \n has been inserted between "a" and
" number".
Can you post an example to a test group and let me know the Message-ID?
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEYtRzDvCkhhVOX3JsJqfI5MW644EFAllQ1ScACgkQJqfI5MW6
44GOVQ//Zt2gp3qBVFDGVUTrBYwMqqE9W7+blmN1LWEgpioQkvZsm6AHo0BU25WY
gCSUr2hv+IYuN5pIlk99bTDS48NhMow4o0t3ajssg1+LS02t6s6RVINjcykQMrsV
+iULuyBOHxmXAMpSgj8NZ0V5gf372CW/u2mPX7pVKqIfsU11jqSJ0SYp0qU57k5Y
3f/ZQ6U51l7XWqvKzNogWSMGseehf0NNFEAxCOaZvMZL5kg9kwuZlf3wc/05oZ3h
ocgiX5nZyW1iFYrO5XNbMuqH+C6Zm4Etqyv6ODMK+aNiEIEJkxn+2sW7Y1vJsx1g
5wdvQgdA3aLqPWub6McXwND7mWZZXlgBMU5ABcbvTEwVAP2jf2KWdhJbAxS9z2vo
W1UIsxP81z8Kdec56oHMTknPpY1l1FCx3OusfPLo4MUmoVpv9SlYioOAvXgIjH5Z
MgeeceRvsbBkpftvbz+EWrft0VLHKuAp6WZdL4toAdPrjHH1qxlUAokgRgZlBYEI
n6Bqr8hrWXBktpJgI2YmapkRkbzARYdNvYDnOxfZDxEZZZ+tWMbT0RH9cI5V8LSX
0lJq13KN+qo5N9DtGhz8wGJm0fk4NEkUECJGt/Sxy5xM9AwGEKkqq6ujX9U3CYmD
kC0Avt+ax+ihhS2LOqiXzRvO95JXlXUJN+1vJVBWEJP5I/JRnnU=
=HQzo
-----END PGP SIGNATURE-----
--
pub 1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net>
Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7
sub 4096R/BE3EFAA7 created: 2014-11-14 expires: 2016-11-13 usage: S
Technical Details
Message-ID:
<slrnol1l9i.er6.admin@fleegle.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mailReferences:
<4099ff6cad6321af959d333c72e2ab58@dizum.com> <08be7b84d34254bac2efb1728e15a1b4@dizum.com> <98f59a6eb95da1d08a560ddc22f4861c@remailer.paranoici.org>Show Full Headers
Complete Article Headers
Message-ID: <slrnol1l9i.er6.admin@fleegle.mixmin.net> Subject: Re: mail2news bug: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 ... Date: Mon, 26 Jun 2017 09:34:42 +0000 From: Zax <admin@mixmin.net> References: <4099ff6cad6321af959d333c72e2ab58@dizum.com> <08be7b84d34254bac2efb1728e15a1b4@dizum.com> <98f59a6eb95da1d08a560ddc22f4861c@remailer.paranoici.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail Newsgroups: alt.privacy.anon-server Organization: Mixmin Injection-Date: Mon, 26 Jun 2017 09:34:42 -0000 (UTC) Injection-Info: news.mixmin.net; posting-host="be33e8c4b019bd61620a053168d52c8c202e7b1c"; User-Agent: slrn/1.0.3 (Linux) Lines: 91