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/local.cf. <http://local.cf/>
How do I add a message rule that subject starts with *****SPAM***** ? Do I add to my local.cf? I'm sure I did this already. On Mon, Oct 18, 2010 at 4:40 PM, Dominic Benson <domi...@lenny.cus.org>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: <pharmacyl1fe.lo...@yahoo.com> > 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/local.cf 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