* Gerard Ceraso <[EMAIL PROTECTED]> [20031021 09:15]: wrote: > I am trying to use amavis, with clamav scan. Amavis seems to be having > problems connecting to clamav and I getting this error. > > > Oct 20 20:48:22 cyrus postfix/smtp[712]: 9D99F2E030: > to=<[EMAIL PROTECTED]>, relay=127.0.0.1[127.0.0.1], delay=6108, > status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in > processing, id=00429-04, virus_scan FAILED: ALL VIRUS SCANNERS FAILED: > Clam Antivirus-clamd av-scanner FAILED: Too many retries to talk to > /var/run/clamav/clamd (Can't connect to UNIX socket > /var/run/clamav/clamd: No such file or directory) at (eval 52) line 179. > (in reply to end of DATA command))
The local socket file /var/run/clamav/clamd is not created, so it seems clamd is not running. > I am running FreeBSD with postfix and cyrus imap and in the > /usr/local/etc/clamav.conf I have the local socket as "LocalSocket > /var/run/clamav/clamd" So when you do /usr/local/etc/rc.d/clamd.sh start, do you see the local socket file created??? Does `ps ax | grep clamd` show that clamd is running? > Any ideas what I am doing wrong? Check that clamd starts and that the socket file is created. cheers - wash +----------------------------------+-----------------------------------------+ Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE) | <wash at wananchi dot com> . 1ere Etage, Loita Hse, Loita St., | GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI | GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 | +---------------------------------+------------------------------------------+ "Oh My God! They killed init! You Bastards!" --from a /. post
smime.p7s
Description: S/MIME cryptographic signature