Steve Burling wrote: >> >>But as near as I can tell, she *is* putting the list address in the To: >>field, it's just been munged (presumably by Micro$oft LookOut) to have >>quotes in funny places. Here's what the To: field looks like from the >>listname.mbox file (edited to protect the innocent): >> >>To: "[EMAIL PROTECTED]" <'[EMAIL PROTECTED]'> >> >>Are those unnecessary single quotes inside the "<...>" confusing Mailman?
And Mark Sapiro replied: >Python's email.Utils.parseaddr() returns the single quotes as part of >the address. > >I hate to be in a position of defending LookOut, but are you sure she >doesn't have the quoted address in her address book entry? > >If this can't be fixed at her end, you could put the quoted address in >the list's acceptable_aliases. >From my reading of RFC2821, <'[EMAIL PROTECTED]'> is invalid. Here is how I parse it, followed by the RFC 2821 definitions: To: "[EMAIL PROTECTED]" <'[EMAIL PROTECTED]'> To: [display-name] angle-addr To: [display-name] "<" addr-spec ">" To: [display-name] "<" local-part "@" domain ">" to = "To:" address-list CRLF address-list = (address *("," address)) / obs-addr-list address = mailbox / group mailbox = name-addr / addr-spec name-addr = [display-name] angle-addr display-name = phrase angle-addr = [CFWS] "<" addr-spec ">" [CFWS] / obs-angle-addr addr-spec = local-part "@" domain local-part = dot-atom / quoted-string / obs-local-part obs-addr-list = 1*([address] [CFWS] "," [CFWS]) [address] obs-angle-addr = [CFWS] "<" [obs-route] addr-spec ">" [CFWS] Note that addr-spec does not have apostrophes at each end. ---------------------------------------------------------------------- Barry S. Finkel Computing and Information Systems Division Argonne National Laboratory Phone: +1 (630) 252-7277 9700 South Cass Avenue Facsimile:+1 (630) 252-4601 Building 222, Room D209 Internet: [EMAIL PROTECTED] Argonne, IL 60439-4828 IBMMAIL: I1004994 ------------------------------------------------------ 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