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
20406 ? S 0:00 clamav-milter -DloHNP /var/run/clmilter.sock
20407 ? 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???)
I have restarted sendmail, clamav and clamav-milter several times and search for errors in the logs, but I found nothing.
I have read a post about this, it says that this problem occurs wen sendmail have being compiled with out milter support.
In my case installing the sendmail-devel package will solve this issue? Because I did it :)
Any help will be most welcome! with Best Regards! Matías.
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users