Re: Do not issue temporary reject when spamd is unavailable.
Alexander Ruhri <[email protected]> Wed, 01 Jun 2005 16:58:55 +0200
| Newsgroups | gmane.mail.exim.exiscan.user |
|---|---|
| Organization | Metromorph Softworks |
| Message-ID | <[email protected]> |
I have no solution, but the same problem! Multiple copies when restarting SA. The problem with SA semms to be in the memory managment, so from time to time SA just hangs, and the system partly crashing with it. I just set up a cronjob to restart SA once a day, that helped so far. Alexander Am Mittwoch, den 01.06.2005, 14:21 +0200 schrieb Tim Dijkstra: > 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 > > > -- ************************************* Metromorph Softworks Ruhri / List GbR Alexander Ruhri Alsenstr. 22, 44789 Bochum Tel. 0234.93539099 Fax: 0234.3245433 http://www.metromorph.de/ **************************************