Default Spam Header Filter Rules hack

Nov. 26, 2005
1:04 p.m.
Hi!
As I am working on setting up a multilist/multidomain setup using Mailman 2.1.6, I encountered the need that I wanted to be able to set the default header filter rules so that the lists I create will all have the same basic rule (since we concluded we want one as default). It proved to be a fairly small hack, so I thought I contribute it to you.
diff MailList.py.orig MailList.py 342c342,343 < self.header_filter_rules = []
self.header_filter_rules = \ mm_cfg.DEFAULT_HEADER_FILTER_RULES
diff Defaults.py.orig Defaults.py 908a909,918
OK, it certainly could be cleaned up in the aspect of comments/documentation, but it should be the trivia part for you guys. It has been tested to work.
Cheers, Magnus
7030
Age (days ago)
7030
Last active (days ago)
0 comments
1 participants
participants (1)
-
Magnus Danielson