Simon Christian wrote:
> Anyway, could
> someone please give me some reasons why this error might occur.
>
> Cheers
>
> Simon
There's some confusion here.
There need to be TWO sockets. One is for clamd. The other is for clamav-milter.
sendmail.mc needs to point to the clamav-milter socket. clamav-milter needs to
produce this socket for sendmail, and also know where the clamd socket is.
It works like this:
sendmail -> clamav-milter.sock
clamav-milter -> clamd.sock
clamd scans and passes the result back to clamav-milter
clamav-milter tells sendmail what to do
sendmail.mc should have
INPUT_MAIL_FILTER(`clamav', `S=local:/var/run/clamav/milter.sock, F=T, T=S:4m;R:4m')dnl
/etc/clamav.conf (or clamd.conf for 8.x) should have
LocalSocket /var/run/clamav/clamd.sock
start clamd as
/usr/local/sbin/clamd
start clamav-milter as
/usr/local/sbin/clamav-milter -Cfq /var/run/clamav/milter.sock
FIRST start clamd, SECOND start clamav-milter, FINALLY start sendmail
[EMAIL PROTECTED] 805.964.4554 x902
Hispanic Business Inc./HireDiversity.com Software Engineer
perl -e"map{y/a-z/l-za-k/;print}shift" "Jjhi pcdiwtg Ptga wprztg,"
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users