Mark Sapiro wrote:
> Lawrence Bowie wrote:
> 
>> What is the easist way to globally filter email marked SPAM?
> 
> Assuming you mean in Mailman, use the KNOWN_SPAMMERS list in mm_cfg.py,
> e.g.
> 
> KNOWN_SPAMMERS = [('subject', '^.*spam'), ('x-spam-flag', 'yes')]
> 
> This is a list of tuples of (header, regexp) where header is the name
> of a header and regexp is a pattern to search the contents of the
> header. These are case insensitive. Any match will discard the message.
> 
> But, why not have whatever process marks the message as spam discard it.
> 

Good quesiton ... I like to see some of the SPAM to understand patterns. :)

Thanks Mark,

LDB
------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp

Reply via email to