spamassassin-users October 2010 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: Re: Spam tagging not happening

Re: Spam tagging not happening

From: Jeremy Van Rooyen <jeremyeagle1_at_nospam>
Date: Mon Oct 18 2010 - 15:11:27 GMT

Thanks for the quick reply Dominic,

I just checked and the SApermreject is set sensible for now. The latter part
of your email refers to SA-Flagged messages, how do I make sure this is
working, as I have enabled rewrite_header in /etc/spamassassin/

How do I add a message rule that subject starts with *****SPAM***** ? Do I
add to my I'm sure I did this already.

On Mon, Oct 18, 2010 at 4:40 PM, Dominic Benson <>wrote:

> On 18/10/10 15:22, Jeremy Van Rooyen wrote:
> When I look at the rejected emails in the rejected logs for Exim it looks
> like this:
> F From: <>
> Received-SPF: none
> X-SPF-Guess: neutral
> X-Spam-Score: 23.9 (+++++++++++++++++++++++)
> X-Spam-Report: Spam detection software........
> So as far a I know, the tagging happens here, but I don't see anything in
> the email though.
> Spamassassin is obviously being used then. I would expect that it is being
> accessed through sa-exim; what you probably want to do is edit
> /etc/exim4/sa-exim.conf
> and set SApermreject to a sensible value (fairly high, as this will bounce
> messages so that they never get to your inbox).
> 20 would probably be a reasonably good start; you can (cautiously) reduce
> it from there if you find that you are getting no ham above some value.
> (You'll need to restart Exim after this)
> There is a separate question implicit in your post: that you want to filter
> SA-flagged messages into a junk folder in your MUA.
> There are a few options for this. The easiest (not necessarily best!) is to
> enable rewrite_header in /etc/spamassassin/ and then add a message
> rule that subject starts with *****SPAM***** gets moved to a folder. It
> isn't a great plan if you are resending to a mailing list (breaks DKIM
> etc.), so the alternative is to inspect the X-Spam-Status header directly.
> How to / if you can do that is strongly MUA dependent.
> Dominic

-- "There is therefore now no condemnation to them which are in Christ Jesus, who walk not after the flesh, but after the Spirit. " Romans 8