Martin S wrote:
>>
>> 2007/8/4, Mark Sapiro <[EMAIL PROTECTED]>:
>> >
>> > 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
<http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.023.htp>,
(i.e. the SpamAssassin.py handler as described at
<http://www.jamesh.id.au/articles/mailman-spamassassin/>)?

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

GLOBAL_PIPELINE.insert(1, 'SpamAssassin')

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

GLOBAL_PIPELINE.insert(0, 'SpamAssassin')

instead.

-- 
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://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&amp;file=faq01.027.htp

Reply via email to