[Mailman-Users] Mailman, SPAM (Spamassassin) and Plesk
Mark Sapiro
mark at msapiro.net
Mon Apr 19 16:06:12 CEST 2010
Brian Luria wrote:
>
>The server has a mailman installation on it. I am trying to configure SPAM
>protection. I have Spamassassin installed and enabled on the server
>
>What I am having difficulty with is finding documentation on interfacing
>with the Spamassassin installation via the Plesk control panel. There are
>some minor settings under SPAM filtering, however I cannot figure out where
>the messages would go if they are tagged as SPAM or any sort of approval
>que.
Spamassassin doesn't do that. See
<http://svn.apache.org/repos/asf/spamassassin/branches/3.3/README>.
SpamAssassin adds headers to the message and possibly tags the Subject:
Examples of added headers are
X-Spam-Status: Yes
X-Spam-Level: ******
Within Mailman, you can use header_filter_rules to detect and act on
these headers. For example, to discard messages with SA scores >= 10
and hold the remaing messages with scores >=5, you would use a rule
with regexp
^x-spam-level:\s*\*{10,}
and action Discard, and a rule with regexp
^x-spam-level:\s*\*{5,9}(\s|$)
and action Hold.
--
Mark Sapiro <mark at msapiro.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