[Mailman-Users] spam rule not stopping
msapiro at value.net
Sat Aug 18 23:48:06 CEST 2007
Martin S wrote:
>> 2007/8/4, Mark Sapiro <msapiro at value.net>:
>> > Martin S wrote:
>> > >
>> > >X-Spam-Level: xxxx
>> > >
>> > >in my spam rule 1 under Privacy options. Still Mailman doesn't stop
>> > mail
>> > >directed to the maillist with a score of 8+.
>> > >What's up with that?
>> > What is the action for this rule?
>> > With default spamassassin settings (which uses an asterisk (*), not an
>> > x), I would use the following regexp (they are case insensitive).
>> > ^x-spam-level: \*\*\*\*
>> > to match any X-Spam-Level: header that has 4 or more asterisks. See
>> > <http://docs.python.org/lib/re-syntax.html>.
>> > I have "Discard" as the action. Changed to your suggested syntax, I'll
>> see if things improve.
>Apparently it doesn't - I still get highly classed spam mail on the list.
>(X-Spam-Level is over 7)
Are you using method 2) of
(i.e. the SpamAssassin.py handler as described at
If so, and if you have installed it as described, you can't use
header_filter_rules to catch spamassassin flagged messages because the
documentation says to put
in mm_cfg.py which processes the message through spamassassin after
header_filter_rules have been processed. If you want to apply
header_filter_rules to the spamassassin processed message, you need
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