Re: Do not issue temporary reject when spamd is unavailable.
Peter Bowyer <[email protected]> Tue, 31 May 2005 19:19:18 +0100
| Newsgroups | gmane.mail.exim.exiscan.user |
|---|---|
| Message-ID | <[email protected]> |
On 31/05/05, Frank DeChellis <[email protected]> wrote: > OK, so I want to have my exim scan with Spam Assassin. if spamassassin i= s > busy I want the email sent through to the end user and not scanned again > later. I've tried /defer_ok in a few places but my problem is when it > defers, it sends the email through anyway then scnas it again..it resulte= d > in multiple copies of email getting through.=20 You've missed the meaning of defer_ok. It means 'if you would have deferred because of a problem with the external process, don't'. So it will do exactly what you need. The exiscan docs at http://duncanthrax.net/exiscan-acl/exiscan-acl-spec.txt explain this pretty well, search for 'defer_ok'. > How would I configure this > group of statements to satisfy my needs (I don;t like how that sounded ha > ha) >=20 > warn message =3D X-Spam-Score: $spam_score ($spam_bar) > spam =3D nobody:true > warn message =3D X-Spam-Report: $spam_report > spam =3D nobody:true > warn message =3D Subject: *SPAM* $h_subject: > spam =3D nobody > deny message =3D This message scored $spam_score spam points > spam =3D nobody:true > condition =3D ${if > {$spam_score_int}{60}{1}{0}} /defer_ok on the end of all the spam=3D lines. The actual scan attempt will, I believe, only happen once, because the subsequent calls use cached results (but I could be wrong, maybe the failure isn't cached). Peter --=20 Peter Bowyer Email: [email protected] Tel: +44 1296 768003 VoIP: sip:[email protected]