Hi there,

I have this annoying problem, and I don't know what to do. I've tried to 
set up a mailfiltering system with postfix, amavis, spamassassin and 
clamav, and the first three is working great, but if I enable the virus 
scanning in amavis, postfix throws the mail away beacuse it couldn't 
connect to clamav's local soket.

May 18 18:00:57 mordor postfix/smtpd[10245]: connect from 
localhost[127.0.0.1]
May 18 18:00:57 mordor postfix/smtpd[10245]: 48C014BB0A: 
client=localhost[127.0.0.1]
May 18 18:00:57 mordor postfix/cleanup[10248]: 48C014BB0A: 
message-id=<[EMAIL PROTECTED]>
May 18 18:00:57 mordor postfix/qmgr[8117]: 48C014BB0A: from=<[EMAIL 
PROTECTED]>, 
size=1703, nrcpt=1 (queue active)
May 18 18:00:57 mordor postfix/smtpd[10245]: disconnect from 
localhost[127.0.0.1]
May 18 18:00:58 mordor amavis[10210]: (10210-01) (!) ClamAV-clamd: Can't 
connect to UNIX socket /var/run/clamav/clamd.ctl: Nincs ilyen f\341jl 
vagy k\366nyvt\341r, retrying (2)
May 18 18:01:04 mordor amavis[10210]: (10210-01) (!!) ClamAV-clamd 
av-scanner FAILED: Too many retries to talk to /var/run/clamav/clamd.ctl 
(Can't connect to UNIX socket /var/run/clamav/clamd.ctl: Nincs ilye
n f\341jl vagy k\366nyvt\341r) at (eval 44) line 268.
May 18 18:01:04 mordor amavis[10210]: (10210-01) (!!) WARN: all primary 
virus scanners failed, considering backups
May 18 18:01:04 mordor amavis[10210]: (10210-01) (!!) TROUBLE in 
check_mail: virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: 
ClamAV-clamd av-scanner FAILED: Too many retries to talk to /var/run/cla
mav/clamd.ctl (Can't connect to UNIX socket /var/run/clamav/clamd.ctl: 
Nincs ilyen f\341jl vagy k\366nyvt\341r) at (eval 44) line 268.
May 18 18:01:04 mordor amavis[10210]: (10210-01) (!) PRESERVING EVIDENCE 
in /var/lib/amavis/tmp/amavis-20080518T180057-10210
May 18 18:01:04 mordor postfix/smtp[10249]: 48C014BB0A: 
to=<[EMAIL PROTECTED]>, relay=127.0.0.1[127.0.0.1]:10024, delay=7.1, 
delays=0.05/0.01/0.01/7.1, dsn=4.5.0, status=deferred (host 
127.0.0.1[127.0.0.1] sa
id: 451 4.5.0 Error in processing, id=10210-01, virus_scan FAILED: 
virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: 
Too many retries to talk to /var/run/clamav/clamd.ctl (Can't connect
to UNIX socket /var/run/clamav/clamd.ctl: Nincs ilyen f\341jl vagy 
k\366nyvt\341r) at (eval 44) line 268. (in reply to end of DATA command))


"Nincs ilyen f\341jl vagy k\366nyvt\341r" means no such file or directory.

mordor:/var/run/clamav# ps aux |grep clamd
root     10147  100  4.4  51444 46372 ?        Rs   17:53   1:00 
/usr/sbin/clamd
root     10166  0.0  0.0   1972   624 pts/0    R+   17:54   0:00 grep clamd
mordor:/var/run/clamav# ls -la
összesen 12
drwxr-xr-x  2 clamav clamav 4096 2008-05-18 17:50 .
drwxr-xr-x 16 root   root   4096 2008-05-18 16:02 ..
-rw-rw----  1 clamav clamav    5 2008-05-18 17:50 freshclam.pid
mordor:/var/run/clamav# less /etc/clamav/clamd.conf |grep LocalSocket
#LocalSocket /var/run/clamav/clamd
LocalSocket /var/run/clamav/clamd.ctl
mordor:/var/run/clamav#

Any help would be very much appreciated!

Thanks,

Attila
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to