http://bugzilla.spamassassin.org/show_bug.cgi?id=3506





------- Additional Comments From [EMAIL PROTECTED]  2004-07-26 11:24 -------
I am seeing this once in a while on pre3.   I've seen it 6 times out of the 
last 348 emails on this box here.

[EMAIL PROTECTED] root]# grep processing  /var/log/maillog | wc -l
    348
[EMAIL PROTECTED] root]# grep SPAMD /var/log/maillog | wc -l
      6

I've seen 411 occurences today on a box that does alot of mail (100k/day in 
queue that SA sees).

Sometimes is PRSPAMD, sometimes is PSPAMD as the bad response.

[EMAIL PROTECTED] root]# tail -f /var/log/maillog Jul 26 09:15:16 mail1 
spamc[5853]: 
spamd responded with bad string
'PRSPAMD/1.1 0 EX_OK'
Jul 26 09:15:16 mail1 spamc[6043]: spamd responded with bad string
'PRSPAMD/1.1 0 EX_OK'
Jul 26 09:15:16 mail1 spamc[5993]: spamd responded with bad string
'PRSPAMD/1.1 0 EX_OK'
Jul 26 09:15:21 mail1 spamc[6370]: spamd responded with bad string
'PSPAMD/1.1 0 EX_OK'
Jul 26 09:15:23 mail1 spamc[6432]: spamd responded with bad string
'PSPAMD/1.1 0 EX_OK'
Jul 26 09:15:23 mail1 spamc[6422]: spamd responded with bad string
'PSPAMD/1.1 0 EX_OK'
Jul 26 09:15:25 mail1 spamc[6477]: spamd responded with bad string
'PSPAMD/1.1 0 EX_OK'
Jul 26 09:15:26 mail1 spamc[6598]: spamd responded with bad string
'PSPAMD/1.1 0 EX_OK'
Jul 26 09:15:32 mail1 spamc[6862]: spamd responded with bad string
'PSPAMD/1.1 0 EX_OK'
Jul 26 09:22:27 mail1 spamc[14084]: spamd responded with bad string
'PSPAMD/1.1 0 EX_OK'

I dont see how SPAMD could send out anything but SPAMD/1.X so somehow buf gets 
the 'P' or 'PR' before the SPAMD in libspamc.c, which then causes it to fail 
on...

    if (sscanf(buf, "SPAMD/%18s %d %*s", versbuf, &response) != 2) {

I dont use the -c flag to spamc, so it definitely does a PROCESS and not a 
CHECK.   So my guess is somewhere there is a off-by-one (or two in some cases) 
that causes this...  I just cant find the circumstances on why.  I would think 
every message would be effected but this is not the case.
d



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to