Edward Ned Harvey wrote:

>> Put
>> 
>> DEFAULT_BAN_LIST = ['^(?!([EMAIL PROTECTED]))']
>> 
>> (or whatever you want) in mm_cfg.py. Then, in order to make it work,
>> find the lines
>> 
>>         # Ban lists
>>         self.ban_list = []
>> 
>> in the definition of the InitVars() method in Mailman/MailList.py and
>> change the second line to
>> 
>>         self.ban_list = mm_cfg.DEFAULT_BAN_LIST
>> 
>> I'm generally opposed to "configuration creep", but if people think
>> this is a worthwhile feature, speak up and I'll consider it for
>> Mailman 2.2.
>
>Wow, that's like the awesomest answer I ever had to a random question in a
>user group.  Thanks!


(blush)


>I think my situation is unusual enough, that I'm not suggesting it as a
>feature for general usage.  Although, I'm excited enough about this, I'm
>likely to repeat it several different times, at different companies.  ;-)


Note that it would also be a good idea to put

DEFAULT_BAN_LIST = []

in Defaults.py when you make the above change to MailList.py. That way,
if someone else decides to remove the DEFAULT_BAN_LIST setting from
mm_cfg.py, things will still work.

-- 
Mark Sapiro <[EMAIL PROTECTED]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9

Reply via email to