-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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-?= <[EMAIL PROTECTED]> > > 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 Mailman 2.1.10. - -- Mark Sapiro <[EMAIL PROTECTED]> 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) iD8DBQFGhSXFVVuXXpU7hpMRAkRpAKDYF1Lk1dsNRfVAgX8QomeswrkadwCfbmVN Yk6i/KOIfDCFHUrUGUhurq4= =dH8a -----END PGP SIGNATURE----- ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp