[Mailman-Users] remove member from banned list
Ron Guerin
ron at vnetworx.net
Tue Oct 8 18:23:53 CEST 2013
On 10/07/2013 8:52 PM, Mark Sapiro wrote:
> 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 [1] ?
>
> 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.
I'll be using both scripts, so I'll need to change one. Allow me to
take
this opportunity to thank you for your assistance and for all those
other
helper scripts you posted.
- Ron
More information about the Mailman-Users
mailing list