subscriber with colon in address can't be removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
New
|
Medium
|
Unassigned |
Bug Description
We are running Mailman 2.1.4 on debian.
Somehow, one of our lists wound up with an improperly
formatted address like this:
mailto:<email address hidden>
The list administrator is not able to remove this
member from the web interface. When I attempt to
remove them with remove_members, I get this traceback:
Traceback (most recent call last):
File "./remove_members", line 186, in ?
main()
File "./remove_members", line 176, in main
admin_notif, userack)
File "/var/lib/
954, in ApprovedDeleteM
self.
File
"/var/lib/
220, in removeMember
self.
File
"/var/lib/
113, in __assertIsMember
raise Errors.
From reading rfc822, it looks like colon is not an
allowed character in an email address.
[http://
Incidentally, an easy way to fix this problem is to dump the
membership to a file with list_members, modify the file to
remove the improperly formatted address, and then use the
file with sync_members. I usually do sync_members -n to see
what changes it's going to make first.
Of course, it would be ideal for Mailman to not allow bad
characters in the email address in the first place.