user part of domain names case-folded for bounces

Bug #266200 reported by Kjd-users
2
Affects Status Importance Assigned to Milestone
GNU Mailman
New
Medium
Unassigned

Bug Description

Problem:

As a non-subscriber, if you email a subscription-only
list from <email address hidden>, the bounce that it is either in
a queue or rejected comes back to <email address hidden>.

Comments:

I am not familiar with the Mailman code. I am not sure
if there is a simple fix. At really first glace
Utils.py has some probably incorrect code in the
ParseEmail function. I am not sure if this is the
cause, and if so, if it has any side-effects by
changing it. I know Mailman internally stores the user
part as lower case, but for mail delivery purposes it
should retain the case.

The function (in 2.1.6b4) I am guessing should probably
look more like this:

def ParseEmail(email):
    user = None
    domain = None
    at_sign = email.find('@')
    if at_sign < 1:
        return email, None
    user = email[:at_sign]
    rest = email[at_sign+1:].lower()
    domain = rest.split('.')
    return user, domain

[http://sourceforge.net/tracker/index.php?func=detail&aid=1155029&group_id=103&atid=100103]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.