You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by George <gm...@captainnet.net> on 2006/04/19 07:14:45 UTC

Content-Length mismatch

Hello List:

I'm running Exim 4.61 with SA 3.1.1 on OS X with the following 
start-up on spamd: /usr/bin/spamd -d -x -q -Q -L -u amavisd 
--socketpath=/tmp/spamd

It seems like spamd won't scan anything over 8122 bytes. First I 
thought it was encoding or something, but shortening the same message 
to less than 8KB scans correctly.



Apr 18 17:58:18 dnsbureau spamd[345]: spamd: bad protocol: header 
error: (Content-Length mismatch: Expected 69800 bytes, got 8122 
bytes) at /usr/bin/spamd line 1676, <GEN4> line 302.\n
Apr 18 18:09:58 dnsbureau spamd[345]: spamd: bad protocol: header 
error: (Content-Length mismatch: Expected 12905 bytes, got 8192 
bytes) at /usr/bin/spamd line 1676, <GEN5> line 283.\n
Apr 18 18:12:21 dnsbureau spamd[345]: spamd: bad protocol: header 
error: (Content-Length mismatch: Expected 10474 bytes, got 8122 
bytes) at /usr/bin/spamd line 1676, <GEN9> line 246.\n
Apr 18 18:15:05 dnsbureau spamd[345]: spamd: bad protocol: header 
error: (Content-Length mismatch: Expected 24925 bytes, got 8122 
bytes) at /usr/bin/spamd line 1676, <GEN11> line 269.\n
Apr 18 18:17:43 dnsbureau spamd[345]: spamd: bad protocol: header 
error: (Content-Length mismatch: Expected 17694 bytes, got 8122 
bytes) at /usr/bin/spamd line 1676, <GEN12> line 301.\n
Apr 18 18:21:34 dnsbureau spamd[345]: spamd: bad protocol: header 
error: (Content-Length mismatch: Expected 9177 bytes, got 8123 bytes) 
at /usr/bin/spamd line 1676, <GEN15> line 255.\n
Apr 18 18:22:55 dnsbureau spamd[345]: spamd: bad protocol: header 
error: (Content-Length mismatch: Expected 8289 bytes, got 8123 bytes) 
at /usr/bin/spamd line 1676, <GEN17> line 252.\n

Thanks for the help.

George

Re: Content-Length mismatch

Posted by jdow <jd...@earthlink.net>.
From: "Loren Wilton" <lw...@earthlink.net>


>> It seems like spamd won't scan anything over 8122 bytes. First I
> 
> Spamd will normally scan files up to at least 250kb.  This sounds like you
> have some sort of problem with the sockets you are using.

Or an EXIM issue.
{^_^}


Re: Content-Length mismatch

Posted by Loren Wilton <lw...@earthlink.net>.
> It seems like spamd won't scan anything over 8122 bytes. First I

Spamd will normally scan files up to at least 250kb.  This sounds like you
have some sort of problem with the sockets you are using.

        Loren