FAQ
I've got

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?


Regards,

Martin S

Search Discussions

  • Mark Sapiro at Aug 4, 2007 at 2:22 pm

    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>.

    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Martin S at Aug 10, 2007 at 4:23 am
    Not sure this got to the list...
    Apologies if it did.

    MArtin S

    ---------- Forwarded message ----------
    From: Martin S <shieldfire at gmail.com>
    Date: 2007-aug-07 05:14
    Subject: Re: [Mailman-Users] spam rule not stopping
    To: Mark Sapiro <msapiro at value.net>



    2007/8/5, Martin S <shieldfire at gmail.com>:


    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)

    Regards,

    Martin S


    --
    Regards,

    Martin S
  • Mark Sapiro at Aug 18, 2007 at 9:48 pm

    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
    <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 <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedAug 4, '07 at 5:00a
activeAug 18, '07 at 9:48p
posts4
users2
websitelist.org

2 users in discussion

Martin S: 2 posts Mark Sapiro: 2 posts

People

Translate

site design / logo © 2022 Grokbase