[milters] Archive

Lists Index Date Thread Search

Article: 1819
From: Michael Grant
Date: 2007-12-22 11:39:36 -0500
Subject: Re: SPAMD status line failure

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

On Dec 22, 2007 4:53 PM, Anthony Howe <achowe@snert.com> wrote:
> Michael Grant wrote:
> > I don't think it's a quite a timeout issue, the readline() is
> > returning immediately with an EOF.  However, from the logs, it appears
> > that spamd does in fact process the message but returns it's result
> > several seconds (not 2 min) after the status line failure.
> >
> > Through experimentation, I have discovered that this error only
> > happens with large messages, particularly messages with large
> > attachments.  It is definitely related to message size rather than
> > server load.
>
> OK. Try then setting in /etc/mail/milter-spamc.cf
>
>         spamd-max-size=0
>
> or to a larger value. By default milter-spamc only processes the first
> 64K for efficiency. Typically spam larger than 64K is rare. There might
> be a similar size limit option in the newer spamd (I know clamd has a
> max. limit settings for over message size and attachments).

I did this as part of my experimenting about 12 hours ago and haven't
seen the error since so maybe this has solved it, I'll let you know
otherwise.  Thanks.

Michael Grant

Lists Index Date Thread Search