Hello,
I've searched a lot to find a proper solution for my problem, but I
didn't find exaclty what I was searching for.
I'm running spamassassin 3.2.4 on suse 10.1 together with sendmail
8.13.8 and clamav 0.92.
Severeal times a day messages pass spamassassin without being correctly
scanned / redirected. The logfile throws entries like these:
[snip]
Mar 7 18:33:07 gw sendmail[5882]: m27HX5kl005882:
from=<[EMAIL PROTECTED]>, size=3222, class=0, nrcpts=1,
msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA,
relay=XXX [217.160.129.172]
Mar 7 18:33:07 gw spamd[2432]: spamd: connection from localhost
[127.0.0.1] at port 38822
Mar 7 18:33:07 gw spamd[2432]: spamd: processing message
<[EMAIL PROTECTED]> for root:110
Mar 7 18:33:17 gw sendmail[5882]: m27HX5kl005882: Milter (spamassassin):
timeout before data read
Mar 7 18:33:17 gw sendmail[5882]: m27HX5kl005882: Milter (spamassassin):
to error state
Mar 7 18:33:17 gw sendmail[5882]: m27HX5kl005882: Milter add: header:
X-Virus-Scanned: ClamAV 0.92/6021/Thu Feb 28 00:55:48 2008 on gw.pallas
Mar 7 18:33:17 gw sendmail[5882]: m27HX5kl005882: Milter add: header:
X-Virus-Status: Clean
Mar 7 18:33:18 gw spamd[2432]: spamd: identified spam (12.5/5.0) for
root:110 in 10.5 seconds, 3591 bytes.
Mar 7 18:33:18 gw spamd[2432]: spamd: result: Y 12 -
BAYES_99,HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET,RCVD_NUMERIC_HELO,URIBL_BLACK,URIBL_JP_SURBL,URIBL_SBL
scantime=10.5,size=3591,user=root,uid=110,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=38822,mid=<[EMAIL PROTECTED]>,bayes=1.000000,autolearn=spam
Mar 7 18:33:18 gw spamass-milter[2443]: Thrown error: Failed to add
spambucket to recipients
Mar 7 18:33:18 gw spamd[22546]: prefork: child states: II
Mar 7 18:33:18 gw sendmail[5886]: m27HX5kl005882: to=xxx,
delay=00:00:11, xdelay=00:00:00, mailer=local, pri=123528, dsn=2.0.0,
stat=Sent
Mar 7 18:33:18 gw sendmail[5886]: m27HX5kl005882: to=xxx,
delay=00:00:11, xdelay=00:00:00, mailer=local, pri=123528, dsn=2.0.0,
stat=Sent
Mar 7 18:33:18 gw sendmail[5886]: m27HX5kl005882: to=xxx,
delay=00:00:11, xdelay=00:00:00, mailer=local, pri=123528, dsn=2.0.0,
stat=Sent
Mar 7 18:33:18 gw sendmail[5886]: m27HX5kl005882: to=xxx,
delay=00:00:11, xdelay=00:00:00, mailer=local, pri=123528, dsn=2.0.0,
stat=Sent
[snap]
Have a look at the timestamps. The timeout comes always 10 seconds after
the mail comes in an scanning starts. I've not found any entry that
seemes to describe this 10sec timeout-limit and how to increese it.
Below are my entries in the sendmail.mc file... all times are set in
minutes, nothing in seconds...
Any ideas?
Spamassassin's and clamav's entries in the sendmail.mc file look like this:
INPUT_MAIL_FILTER(`spamassassin',
S=local:/var/spamd/spamass-milter.sock,
F=,T=C:15m;S:4m;R:4m;E:10m')
INPUT_MAIL_FILTER(`clmilter',
S=local:/var/run/clamav/clmilter.socket,
F=,T=S:4m;R:4m´)
dnl define(`confINPUT_MAIL_FILTERS', `clmilter,spamassassin,clmilter')
-- Sebastian
begin:vcard
fn:Sebastian Hoffmann
n:Hoffmann;Sebastian
org:Pallas Group GmbH;IT / Programmierung
adr:;;Auf dem Esch 8;Diepholz;;49356;Deutschland
email;internet:[EMAIL PROTECTED]
title:IT-Administrator
tel;work:+49-5441-977-180
tel;home:+49-5441-9923891
tel;cell:+49-1736756795
x-mozilla-html:TRUE
url:http://www.pallas-group.de
version:2.1
end:vcard