On May 24, 2011, at 11:29 AM, Stephen J. Turnbull wrote: >Barry Warsaw writes: > > > What's the legitimate use case for multiple From headers? > >Technically, there is none. RFC 5322 requires exactly one From field, >and that's that. http://www.ietf.org/rfc/rfc5322.txt, table in >section 3.6. (Resent-From, of course, is a different kettle of fish.) > >However, presumably multiple addresses in the From field (same URL, >section 3.6.2) would have the same effect on Mailman's (current) >filtering strategy.
Actually, I think MM3 could handle either case: field_values = self.get_all(header, []) senders.extend(address.lower() for (real_name, address) in email.utils.getaddresses(field_values)) -Barry
signature.asc
Description: PGP signature
------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org