Autore: Ian FREISLICH Data: To: John Horne CC: Exim users Oggetto: Re: [exim] Spamd problem - connection timed out
John Horne wrote: > On Mon, 2005-06-20 at 12:46 +0100, Richard Hopkins wrote:
> >
> > What do you have spamd's "-m" (--max-children=num) set to John? On a busy
> > mail hub you'll probably need to increase it from its default (5). We
> > certainly did.
> >
> It is left to the default of 5. I thought I read in the SA docs that it
> now couldn't be increased above 5 - I'll need to check that.
>
> I have changed the exim source spam.h to increase the spamd timeout from
> 120 seconds to 240, and we have had no problems for the past hour :-)
Before my patch, this timeout was 3600 seconds, and wasn't properly
enforced. The difficulty is setting a reasonable timeout timeout
for the connection during SMTP time. We noticed duplicate emails
being delivered when spamd took longer than the SMTP timeout (300
seconds) before my patch. 240 seconds is very close to 300 depending
on what other time consuming checks you perform after DATA (maybe
anti virus).
> Perhaps the spamd timeout should be a configure file option?
I have thought of that, but haven't had the time yet.