[Mailman-Users] Filtering Email Marked SPAM
Mark Sapiro
msapiro at value.net
Sat Apr 29 18:30:37 CEST 2006
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.
--
Mark Sapiro <msapiro at value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list