SA Bugzilla – Bug 1233
spamd reports spamc sending a bad content-length (bad protocol header error)
Last modified: 2002-12-12 11:20:54 UTC
I was trying to determine why some obvious spam had no SA headers attached to it. Eventually I ran spamd and spamc as root as what I believe my mailer is doing (I am using the qmail/qmail-scanner set up described at http://qmail-scanner.sourceforge.net/FAQ.php) Running as root: /usr/bin/spamd -L -x -a -D Also running as root: /usr/bin/spamc -d localhost < /tmp/spam.mail I'll try to attach the spam.mail to this message. What happens when I do this is that spamc returns 0/0, which I gather means an error has occurred. And spamd -D? Eventually that spits out: logmsg: connection from localhost.localdomain [127.0.0.1] at port 37033 logmsg: Still running as root: user not specified with -u, not found, or set to root. Fall back to nobody. logmsg: checking message <CAPRESUBNT2hhOjcdEc000015b4@capresubnt2.capresub.gov.co> for root:99, expecting 1589 bytes. logmsg: bad protocol: header error: (Content-length mismatch: 1589 vs. 1580)
Created attachment 461 [details] gzipped spam. Is gzipping spam sent as part of a bug unnecessary?
I don't know what spamc is sending, nor what spamd is receiving, but the message is apparently correct. The spam is 1589 bytes and not 1580 bytes.
*** This bug has been marked as a duplicate of 1243 ***