This appears to be a problem with line 210 of Utils.py, in
the ValidateEmail function:
if _badchars.search(s) or s[0] == '-':
raise Errors.MMHostileAddress, s
MailMan is explicitly rejecting e-mails that start with a
hyphen. Why? This is a perfectly legal e-mail address. If
MailMan is using e-mail addresses in such an unsafe way that
they could be interpreted as command line arguments, that's
just absurd. I can't see any other reason to forbid a
leading hyphen, though.
Can anyone tell me if I will be safe removing this check, or
if MailMan will blow up elsewhere?
This appears to be a problem with line 210 of Utils.py, in
the ValidateEmail function:
if _badchars.search(s) or s[0] == '-': MMHostileAddres s, s
raise Errors.
MailMan is explicitly rejecting e-mails that start with a
hyphen. Why? This is a perfectly legal e-mail address. If
MailMan is using e-mail addresses in such an unsafe way that
they could be interpreted as command line arguments, that's
just absurd. I can't see any other reason to forbid a
leading hyphen, though.
Can anyone tell me if I will be safe removing this check, or
if MailMan will blow up elsewhere?