View Single Post
  #12  
Old 18th May 2010, 15:01
bspark bspark is offline
Junior Member
 
Join Date: May 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi I am having a similar problem but am coming from using the ISPmail tutorial for Debian Lenny from workaround.org.
I have Dovecote, Amavis, Clamav Postfix and SpamAssassin installed
Whenever I send a test email like this:

sendmail john@example.com < /usr/share/doc/spamassassin/examples/sample-spam.txt

I can see the following error messages in the mail.log

May 18 19:46:10 debianLenny postfix/pickup[5502]: C502CE71: uid=0 from=<root>
May 18 19:46:10 debianLenny postfix/cleanup[5839]: C502CE71: message-id=<GTUBE1.1010101@example.net>
May 18 19:46:10 debianLenny postfix/qmgr[3235]: C502CE71: from=<root@debianlenny.bspark1.com>, size=943, nrcpt=1 (queue active)
May 18 19:46:11 debianLenny amavis[5677]: (05677-07) (!)ClamAV-clamd: Can't connect to UNIX socket /var/run/clamav/clamd.ctl: 2, retrying (2)
May 18 19:46:17 debianLenny amavis[5677]: (05677-07) (!!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory) at (eval 88) line 309.
May 18 19:46:17 debianLenny amavis[5677]: (05677-07) (!!)WARN: all primary virus scanners failed, considering backups
May 18 19:46:27 debianLenny amavis[5677]: (05677-07) (!!)ClamAV-clamscan av-scanner FAILED: run_av error: run_av: Exceeded allowed time at (eval 88) line 516.
May 18 19:46:27 debianLenny amavis[5677]: (05677-07) (!!)TROUBLE in check_mail: virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory) at (eval 88) line 309.; ClamAV-clamscan av-scanner FAILED: run_av error: run_av: Exceeded allowed time at (eval 88) line 516.
May 18 19:46:27 debianLenny amavis[5677]: (05677-07) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20100518T194610-05677
May 18 19:46:27 debianLenny postfix/smtp[5841]: C502CE71: to=<john@example.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=17, delays=0.05/0.01/0.01/16, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=05677-07, virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory) at (eval 88) line 309.; ClamAV-clamscan av-scanner FAILED: run_av error: run_av: Exceeded allowed time at (eval 88) line 516. (in reply to end of DATA command))

I have tried re-installing as per your instructions

deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non$

It tells me I have all the latest versions
o your /etc/apt/sources.list

After that execute:

apt-get update
apt-get install clamav
apt-get upgrade
/etc/init.d/amavis restart
postsuper -r ALL

Restarted Clamav-daemon

Then tried

adding deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free to the /etc/apt/sources.list
ran
aptitude update

Restarted Clamav-daemon
Still have exactly the same error...
Is this a bug in the new versions?

BTW I am a newbie to Linux..
Reply With Quote