------------------------------------------------------------ revno: 1312 committer: Mark Sapiro <m...@msapiro.net> branch nick: 2.2 timestamp: Sun 2014-04-06 10:58:01 -0700 message: For from_is_list, if no real name in From, use email address. modified: Mailman/Handlers/CookHeaders.py
-- lp:mailman/2.2 https://code.launchpad.net/~mailman-coders/mailman/2.2 Your team Mailman Checkins is subscribed to branch lp:mailman/2.2. To unsubscribe from this branch go to https://code.launchpad.net/~mailman-coders/mailman/2.2/+edit-subscription
=== modified file 'Mailman/Handlers/CookHeaders.py' --- Mailman/Handlers/CookHeaders.py 2014-03-14 17:13:30 +0000 +++ Mailman/Handlers/CookHeaders.py 2014-04-06 17:58:01 +0000 @@ -121,6 +121,8 @@ # Do we change the from so the list takes ownership of the email if mm_cfg.ALLOW_FROM_IS_LIST and mlist.from_is_list and not fasttrack: realname, email = parseaddr(msg['from']) + if not realname: + realname = email replies = getaddresses(msg.get('reply-to', '')) reply_addrs = [x[1].lower() for x in replies] if reply_addrs:
_______________________________________________ Mailman-checkins mailing list Mailman-checkins@python.org Unsubscribe: https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org