[Mailman-Users] rare problem
msapiro at value.net
Fri Jun 29 17:31:17 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Jesús Oliván wrote:
> I've applied changes in my regexp like u said, thanks!
> and this is the From line you requested:
> From: =?ISO-8859-1?Q?123456789-123456789-12345678=E99-123456789-123456789?=
> =?ISO-8859-1?Q?-123456789-123456789-?= <ccmjs at cc.mynet.com>
> This one comes from a mail that has not beed accepted by mailman,
> although address in from is allowed by regexp in Allowed senders.
The problem is a bug in some versions of the Python email library. This
problem will occur whether the 'address' in *_these_nonmembers is a
regexp or a string. It also does not depend on the 'real name' being RFC
2047 encoded. All that is required is that the 'real name' be long
enough that the From: header folds into two lines. In this case, the
email.Utils function getaddresses() returns a spurious extra 'address'
based on the first line of the folded header and this is the 'address'
we check against *_these_nonmembers instead of checking the real address.
This bug exists in Mailman through 2.1.9. I will work around it for
Mark Sapiro <msapiro at value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
-----END PGP SIGNATURE-----
More information about the Mailman-Users