Re: [Mailman-Users] Additional questions about ban_list

2015-10-16 Thread Chris Nulk
On 10/15/2015 9:33 PM, Mark Sapiro wrote: Mark Sapiro wrote: On 10/15/2015 02:37 PM, Chris Nulk wrote: to the following ( I have added ** at the beginning of the lines I added to indicate the changes - in practice the ** would be spaces) def GetBannedPattern(self, email): """Retu

Re: [Mailman-Users] Additional questions about ban_list

2015-10-16 Thread Chris Nulk
On 10/15/2015 4:01 PM, Mark Sapiro wrote: On 10/15/2015 03:25 PM, Chris Nulk wrote: On 10/15/2015 3:07 PM, Mark Sapiro wrote: This was done for subscribe_auto_approval, and while it's kind of kludgy, the error log messages that you have above for 'Ban_list listfor %s references own list' and

Re: [Mailman-Users] Additional questions about ban_list

2015-10-15 Thread Mark Sapiro
Mark Sapiro wrote: > On 10/15/2015 02:37 PM, Chris Nulk wrote: >> to the following ( I have added ** at the beginning of the lines I added >> to indicate the changes - in practice the ** would be spaces) >> >> def GetBannedPattern(self, email): >> """Returns matched entry in ban_list i

Re: [Mailman-Users] Additional questions about ban_list

2015-10-15 Thread Mark Sapiro
On 10/15/2015 03:25 PM, Chris Nulk wrote: > > > On 10/15/2015 3:07 PM, Mark Sapiro wrote: > >> This was done for subscribe_auto_approval, and >> while it's kind of kludgy, the error log messages that you have above >> for 'Ban_list listfor %s references own list' and 'Ban_list for list %s >> ref

Re: [Mailman-Users] Additional questions about ban_list

2015-10-15 Thread Chris Nulk
On 10/15/2015 3:07 PM, Mark Sapiro wrote: On 10/15/2015 02:37 PM, Chris Nulk wrote: The question now is if I change the following in Mailman/MailList.py def GetBannedPattern(self, email): """Returns matched entry in ban_list if email matches. Otherwise returns None. Am

Re: [Mailman-Users] Additional questions about ban_list

2015-10-15 Thread Mark Sapiro
On 10/15/2015 02:37 PM, Chris Nulk wrote: > > The question now is if I change the following in Mailman/MailList.py > > def GetBannedPattern(self, email): > """Returns matched entry in ban_list if email matches. > Otherwise returns None. > """ > ban = False >

Re: [Mailman-Users] Additional questions about ban_list

2015-10-15 Thread Chris Nulk
Hello all, I would like to thank Aditya Jain and Mark Sapiro for the help with adding my negative regexp to the ban_list. I apologize for being late in my response. I was OBE'd. Next, in my original message, I forgot to mention I am using Mailman v2.1.18-1 so the kind code assistance Mark

Re: [Mailman-Users] Additional questions about ban_list

2015-10-06 Thread Mark Sapiro
On 10/06/2015 08:07 AM, Chris Nulk wrote: > > 1. The ban_list attribute is to help prevent unwanted people from > subscribing to a list, however, I want to restrict who can subscribe to > the list and ban anyone else. I have the regex for who I want to allow > to subscribe but there isn't an allo

Re: [Mailman-Users] Additional questions about ban_list

2015-10-06 Thread Aditya Jain
Hi Chris, On Tuesday 06 October 2015 08:37 PM, Chris Nulk wrote: > Hello all, > > I have been loosely following the discussion regarding regex in the > ban_list attribute. I now find myself being asked to create a list > which will most likely use the ban_list attribute. So, I have a few > ques

[Mailman-Users] Additional questions about ban_list

2015-10-06 Thread Chris Nulk
Hello all, I have been loosely following the discussion regarding regex in the ban_list attribute. I now find myself being asked to create a list which will most likely use the ban_list attribute. So, I have a few questions. 1. The ban_list attribute is to help prevent unwanted people from