RE: Do not issue temporary reject when spamd is unavailable.
"Frank DeChellis" <[email protected]> Tue, 31 May 2005 14:45:04 -0400
| Newsgroups | gmane.mail.exim.exiscan.user |
|---|---|
| Message-ID | <[email protected]> |
so i can put /defer_ok after spam = nobody:true or do I remove the :true part of it? and do I put it after ever spam = statement or just the last? Thanks for your help. Frank > -----Original Message----- > From: Peter Bowyer [mailto:[email protected]] > Sent: Tuesday, May 31, 2005 2:19 PM > To: [email protected] > Subject: Re: [exiscanusers] Do not issue temporary reject when spamd is > unavailable. > > > On 31/05/05, Frank DeChellis <[email protected]> wrote: > > OK, so I want to have my exim scan with Spam Assassin. if > spamassassin is > > 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 resulted > > in multiple copies of email getting through. > > 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) > > > > warn message = X-Spam-Score: $spam_score ($spam_bar) > > spam = nobody:true > > warn message = X-Spam-Report: $spam_report > > spam = nobody:true > > warn message = Subject: *SPAM* $h_subject: > > spam = nobody > > deny message = This message scored $spam_score spam points > > spam = nobody:true > > condition = ${if > {$spam_score_int}{60}{1}{0}} > > /defer_ok on the end of all the spam= 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 > > -- > Peter Bowyer > Email: [email protected] > Tel: +44 1296 768003 > VoIP: sip:[email protected] > > >