Mailman, SPAM (Spamassassin) and Plesk
I have a dedicated server (purchased through godaddy, don't cringe) The server is running Red Hat Fedora Core 8 Control Panel is Plesk 9.2.3 Deluxe Pack
I am computer savvy but limited experience with Linux, let alone a linux server.
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.
I have VERY limited exposure to running commands off of terminal but am willing to try.
Anyone with experience with this sort of setup - or other advice on how they set a similar server up to prevent SPAM - advice greatly appreciated.
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@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Brian Luria
-
Mark Sapiro