On Tue, May 04, 2004 at 05:06:49PM -0300, Matias Lopez Bergero said: > Hello list! > After reading a little bit in google and in the list it self, I have > successfully installed the clamav antivirus with the clamav-milter mail > scanner. > But I have one problem: > clamav-milter do not stops or informs the presence of virus in the emails. > > I have redhat linux and sendmail from the rpms packages. I have > installed the sendmail-devel package to compile clamav with milter support. > > I tested clamavscan and works ok. I have no problems updating the virus dbs. > I can run clamd and clamav-milter with no problems and no error messages. > > sh-2.04# ps ax | grep clam > 19746 ? S 0:00 clamd > 19780 ? S 0:00 clamd > 20405 ? S 0:00 clamav-milter -DloHNP /var/run/clmilter.sock
> sh-2.04# netstat --unix -nap | grep clam > unix 2 [ ACC ] STREAM LISTENING 87640433 > 20405/clamav-milter /var/run/clmilter.sock > unix 2 [ ACC ] STREAM LISTENING 87634193 19746/clamd > /var/run/clamd.sock > unix 2 [ ] DGRAM 87640431 > 20405/clamav-milter > unix 2 [ ] DGRAM 87634184 19746/clamd > sh-2.04# > > Everything looks good. > > I have added ed the line: > INPUT_MAIL_FILTER(`clamav', `S=local:/var/run/clamav.sock, F=, T=S:4m;R:4m')dnl > define(`confINPUT_MAIL_FILTERS', `clamav') > at the end of the sendmail.mc and rebuild the sendmail.cf. > (should I see some config instance of this in the cf file???) Note that clamav-milter is listening on the socket /var/run/clmilter.sock, but you told sendmail to connect to it over the socket at local:/var/run/clamav.sock. That will never work. -- -------------------------------------------------------------------------- | Stephen Gran | New members are urgently needed in the | | [EMAIL PROTECTED] | Society for Prevention of Cruelty to | | http://www.lobefin.net/~steve | Yourself. Apply within. | --------------------------------------------------------------------------
pgp00000.pgp
Description: PGP signature