On Sat, 13 Jul 2013 00:20:51 +0200 Timothy Murphy wrote:
I wonder if anyone is actually running SpamAssassin with Postfix/Amavisd-new under CentOS-6.4 . I have followed the instructions in http://wiki.centos.org/HowTos/Amavisd but as far as I can see SpamAssassin is not working.
I run spamassassin and postfix on my mailserver, but don't run amavisd.
spamassassin adds a header to incoming email that looks something like this:
X-Spam-Status: No, score=-103.5 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,USER_IN_WHITELIST autolearn=ham version=3.3.1
If the incoming message meets the points threshold that you have set to determine that the message is spam (defaults to 5.0) then the default setting is that the word [SPAM] (including the square brackets) is prepended to the message subject like, like this:
Subject: [SPAM] Buy Viagra from a Nigerian Prince
You can then configure your mail client to trash or sort email based on the presence or absence of the [SPAM] tag in the subject line.