[Mailman-Users] Removing invalid list members
Dave Sherohman
esper at sherohman.org
Fri Dec 1 18:20:06 CET 2006
Three days and no responses... So there's no way to remove the address
described below? The code that strips the second @ and everything after
it can't be bypassed? You can't safely edit the database to delete it
directly without going through remove_members and the sanitizing code?
There's got to be *some* way to do it.
On Tue, Nov 28, 2006 at 12:37:16PM -0600, Dave Sherohman wrote:
> Somehow, a user has gotten himself subscribed to one of my lists with
> an address of the form foo at bar@hotmail.com. How do I get rid of this
> subscription?
>
> The various web interface options just give an error that this address
> is not subscribed (even while showing it on the list of subscribers -
> might want to let the left hand know what the right hand is doing) and
> remove_members from the command line gives a traceback culminating in
> "Mailman.Errors.NotAMemberError: foo at bar", so I'd guess that some address
> sanity-checking is what's killing the attempt.
>
> In case it matters, I'm running Mailman from Debian's 2.1.5-8sarge5
> package and this user is probably a carryover from an earlier version,
> as remove_member's traceback starts in OldStyleMemberships.py. And
> here's the traceback, too, just to be complete:
>
> --- cut here ---
> # remove_members my-list foo at bar@hotmail.com
> Traceback (most recent call last):
> File "/usr/sbin/remove_members", line 186, in ?
> main()
> File "/usr/sbin/remove_members", line 176, in main
> admin_notif, userack)
> File "/var/lib/mailman/Mailman/MailList.py", line 990, 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
> Mailman.Errors.NotAMemberError: foo at bar
> --- cut here ---
--
I would rather be exposed to the inconvenience attending too much Liberty
than those attending too small degree of it.
- Thomas Jefferson
More information about the Mailman-Users
mailing list