[ mailman-Bugs-1180872 ] subscriber with colon in address can't be
removed
SourceForge.net
noreply at sourceforge.net
Mon Apr 11 18:40:42 CEST 2005
Bugs item #1180872, was opened at 2005-04-11 09:32
Message generated for change (Comment added) made by kiwimonster
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1180872&group_id=103
Category: (un)subscribing
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Kirsten Petersen (kiwimonster)
Assigned to: Nobody/Anonymous (nobody)
Summary: subscriber with colon in address can't be removed
Initial Comment:
We are running Mailman 2.1.4 on debian.
Somehow, one of our lists wound up with an improperly
formatted address like this:
mailto:username at domain.com
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/mailman/Mailman/MailList.py", line
954, in ApprovedDeleteMember
self.removeMember(emailaddr)
File
"/var/lib/mailman/Mailman/OldStyleMemberships.py", line
220, in removeMember
self.__assertIsMember(member)
File
"/var/lib/mailman/Mailman/OldStyleMemberships.py", line
113, in __assertIsMember
raise Errors.NotAMemberError, member
>From reading rfc822, it looks like colon is not an
allowed character in an email address.
----------------------------------------------------------------------
>Comment By: Kirsten Petersen (kiwimonster)
Date: 2005-04-11 09:40
Message:
Logged In: YES
user_id=1122614
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1180872&group_id=103
More information about the Mailman-coders
mailing list