You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by mi...@paradise.net.nz on 2007/03/16 01:19:27 UTC

Multiple errors in SA

Hi  

I am relativley new to SA with this my first major install hopefully of many

The current server is RHEL4 running
spamass-milter-0.3.1-3.el4.kb
spamassassin-3.1.8-2.el4
sendmail-8.13.1-3.RHEL4.5


>From the log there seems to be multiple errors and I am not sure where to start.
I have looked up several of the errors vai google but been unsuccessfull so far.

Here is the log. I must have done something wrong with the setup

Mar 16 13:14:03 brutus spamd[10588]: spamd: bad protocol: header error: (closed
before headers) at /usr/bin/spamd line 1671.
Mar 16 13:14:03 brutus sendmail[17499]: l2G0DX2m017499:
milter_read(spamassassin): cmd read returned 50, expecting 1397768524
Mar 16 13:14:03 brutus sendmail[17499]: l2G0DX2m017499: Milter (spamassassin):
to error state
Mar 16 13:14:03 brutus sendmail[17499]: l2G0DX2m017499: Milter (spamassassin):
init failed to open
Mar 16 13:14:03 brutus sendmail[17499]: l2G0DX2m017499: Milter (spamassassin):
to error state
Mar 16 13:14:03 brutus spamd[26672]: prefork: child states: II
Mar 16 13:14:03 brutus sendmail[17499]: l2G0DX2m017499: Williamsgrant@xyz.com...
User unknown
Mar 16 13:14:03 brutus sendmail[17499]: l2G0DX2m017499:
from=Carrie.Pryor@freeserve.co.uk, size=0, class=0, nrcpts=0, proto=ESMTP,
daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Mar 16 13:14:12 brutus spamd[10588]: spamd: got connection over
/var/run/spamass.sock
Mar 16 13:14:42 brutus spamd[10588]: tcp timeout at /usr/bin/spamd line 1042.
Mar 16 13:14:42 brutus spamd[10588]: tcp timeout at /usr/bin/spamd line 1042.
Mar 16 13:14:42 brutus spamd[10588]: spamd: bad protocol: header error: (closed
before headers) at /usr/bin/spamd line 1671.
Mar 16 13:14:42 brutus sendmail[17517]: l2G0ECNj017517:
milter_read(spamassassin): cmd read returned 50, expecting 1397768524
Mar 16 13:14:42 brutus sendmail[17517]: l2G0ECNj017517: Milter (spamassassin):
to error state
Mar 16 13:14:42 brutus sendmail[17517]: l2G0ECNj017517: Milter (spamassassin):
init failed to open
Mar 16 13:14:42 brutus sendmail[17517]: l2G0ECNj017517: Milter (spamassassin):
to error state
Mar 16 13:14:42 brutus spamd[26672]: prefork: child states: II
Mar 16 13:14:42 brutus sendmail[17517]: l2G0ECNj017517: Williamsgrant@xyz.com...
User unknown
Mar 16 13:14:42 brutus sendmail[17517]: l2G0ECNj017517:
from=Carrie.Pryor@freeserve.co.uk, size=0, class=0, nrcpts=0, proto=ESMTP,
daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Mar 16 13:15:09 brutus spamd[10588]: spamd: got connection over
/var/run/spamass.sock

Any help greatly appreciated.

Many thanks

Mike

Re: Multiple errors in SA

Posted by maillist <ma...@emailacs.com>.
mikevl@paradise.net.nz wrote:
> Hi  
>
> I am relativley new to SA with this my first major install hopefully of many
>
> The current server is RHEL4 running
> spamass-milter-0.3.1-3.el4.kb
> spamassassin-3.1.8-2.el4
> sendmail-8.13.1-3.RHEL4.5
>
>
> >From the log there seems to be multiple errors and I am not sure where to start.
> I have looked up several of the errors vai google but been unsuccessfull so far.
>
> Here is the log. I must have done something wrong with the setup
>
> Mar 16 13:14:03 brutus spamd[10588]: spamd: bad protocol: header error: (closed
> before headers) at /usr/bin/spamd line 1671.
> Mar 16 13:14:03 brutus sendmail[17499]: l2G0DX2m017499:
> milter_read(spamassassin): cmd read returned 50, expecting 1397768524
> Mar 16 13:14:03 brutus sendmail[17499]: l2G0DX2m017499: Milter (spamassassin):
> to error state
> Mar 16 13:14:03 brutus sendmail[17499]: l2G0DX2m017499: Milter (spamassassin):
> init failed to open
> Mar 16 13:14:03 brutus sendmail[17499]: l2G0DX2m017499: Milter (spamassassin):
> to error state
> Mar 16 13:14:03 brutus spamd[26672]: prefork: child states: II
> Mar 16 13:14:03 brutus sendmail[17499]: l2G0DX2m017499: Williamsgrant@xyz.com...
> User unknown
> Mar 16 13:14:03 brutus sendmail[17499]: l2G0DX2m017499:
> from=Carrie.Pryor@freeserve.co.uk, size=0, class=0, nrcpts=0, proto=ESMTP,
> daemon=MTA, relay=localhost.localdomain [127.0.0.1]
> Mar 16 13:14:12 brutus spamd[10588]: spamd: got connection over
> /var/run/spamass.sock
> Mar 16 13:14:42 brutus spamd[10588]: tcp timeout at /usr/bin/spamd line 1042.
> Mar 16 13:14:42 brutus spamd[10588]: tcp timeout at /usr/bin/spamd line 1042.
> Mar 16 13:14:42 brutus spamd[10588]: spamd: bad protocol: header error: (closed
> before headers) at /usr/bin/spamd line 1671.
> Mar 16 13:14:42 brutus sendmail[17517]: l2G0ECNj017517:
> milter_read(spamassassin): cmd read returned 50, expecting 1397768524
> Mar 16 13:14:42 brutus sendmail[17517]: l2G0ECNj017517: Milter (spamassassin):
> to error state
> Mar 16 13:14:42 brutus sendmail[17517]: l2G0ECNj017517: Milter (spamassassin):
> init failed to open
> Mar 16 13:14:42 brutus sendmail[17517]: l2G0ECNj017517: Milter (spamassassin):
> to error state
> Mar 16 13:14:42 brutus spamd[26672]: prefork: child states: II
> Mar 16 13:14:42 brutus sendmail[17517]: l2G0ECNj017517: Williamsgrant@xyz.com...
> User unknown
> Mar 16 13:14:42 brutus sendmail[17517]: l2G0ECNj017517:
> from=Carrie.Pryor@freeserve.co.uk, size=0, class=0, nrcpts=0, proto=ESMTP,
> daemon=MTA, relay=localhost.localdomain [127.0.0.1]
> Mar 16 13:15:09 brutus spamd[10588]: spamd: got connection over
> /var/run/spamass.sock
>
> Any help greatly appreciated.
>
> Many thanks
>
> Mike
>
>   
I've not used the spamass milter, but have heard of many having 
difficulties with it.  I would suggest using mimedefang, and let it use 
spamassassin, and feed the info to sendmail.

I would tail -f path/to/maillog, and start sendmail.  That will show 
some useful info as well.  Also, make sure that you are starting spamd 
before you start sendmail.


-=Aubrey=-