Rolf E. Sonneveld wrote: > Hi, > > a user has subscribed via the web interface, making a typo in the mail > address. The address subscribed is something like > First.Last@@domain.com. When I try to remove that address, I get an > error (no matter whether I use the admin web interface to remove the > address, or whether I try it from the command line). From the command > line, I get: > > bash-2.05# ./remove_members maillist First.Last@@domain.com > Traceback (most recent call last): > File "./remove_members", line 186, in <module> > main() > File "./remove_members", line 176, in main > admin_notif, userack) > File "/usr/local/mailman/Mailman/MailList.py", line 1014, in > ApprovedDeleteMember > self.removeMember(emailaddr) > File "/usr/local/mailman/Mailman/OldStyleMemberships.py", line 220, > in removeMember > self.__assertIsMember(member) > File "/usr/local/mailman/Mailman/OldStyleMemberships.py", line 113, > in __assertIsMember > raise Errors.NotAMemberError, member > Mailman.Errors.NotAMemberError: First.Last@ > > > no matter whether I enclose the mail address in single-quotes, > double-quotes, no-quotes-at-all or whether I use regexp format to > escape the dots and/or the at-signs. When I try to remove the address > via the admin web interface I get: > > > Error Unsubscribing: > > * First.Last@@domain.com -- Not subscribed > > > Is there any other way to remove this address from the list?
Just came across the sync_members tool. I created a file with a list of all members, but left out the address with the double '@'. Then I ran the sync_members tool against that file, and Mailman correctly removed that one address. Sorry to have bothered you. /rolf ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp