[Mailman-Users] remove member from banned list

Mark Sapiro mark at msapiro.net
Tue Oct 8 02:52:35 CEST 2013


On 10/06/2013 02:28 PM, Ron Guerin wrote:
> Is there a script that removes a member from the banned list, sort of
> the "undo" for http://www.msapiro.net/scripts/add_banned.py ?


You could always modify that script by changing the line

    mlist.ban_list.append(address)

to the following two lines

    if address in mlist.ban_list:
        mlist.ban_list.remove(address)

You could also change its name, but that isn't mandatory.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list