Author: Chris Edwards Date: To: Ron McKeating CC: Exim list Subject: Re: [Exim] defering a message
| Hi all, we have a cron job that restarts spamassassin every hour, at | this time some spam slips through unfiltered. So I wanted to put in a
| line to defer if the there was no spamassassin score header. I put the
| following at the end of the data acl | | defer condition=${if def:header_X-Spam-Score: {yes}{no}} | | It seemed to work in tests but I am still seeing some spam get through
| unfiltered, in that it has no X-Spam-score header, though it definitely
| came through the spam filtering server. Any suggestions on an improved
| way to do this much appreciated.
Might be more direct to check $spam_score is set.
FWIW we only restart SpamAssassin (kill -HUP spamd) when we alter a ruleset.
--
Chris Edwards, Glasgow University Computing Service