Re: Do not issue temporary reject when spamd is unavailable.
Tim Dijkstra <[email protected]> Wed, 1 Jun 2005 14:21:44 +0200
| Newsgroups | gmane.mail.exim.exiscan.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 31 May 2005 19:19:18 +0100 Peter Bowyer <[email protected]> wrote: > On 31/05/05, Frank DeChellis <[email protected]> wrote: > > > 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). Apparently not, I have more or less the same in my exim.conf with the/defer_ok included. If I shut down spamd by hand and get per msgs four times these lines in exim/mainlog: spam acl condition: warning - spamd connection to 127.0.0.1, port 783 failed: Connection refused spam acl condition: all spamd servers failed Finally the msgs is delivered -- once. But once-in-a-while my spamd blocks (why is this?) and then I get multiple copies of each e-mail thru. Now I get in paniclog lines like spam acl condition: error reading from spamd socket: Connection reset by peer It seems that if this happens exim keeps trying but not cleaning up previous tries. If spamd than starts working again I end up in having multiple copies of each messages in my inbox. If anybody has a solution to one of these problems (spamd locking up and exim multiplying msgs) please tell me. grts Tim