KAVmailcheck is filter for sendmail to check incoming mail for viruses with Kaspersky Lab Antivirus daemon.
Home page for this project is http://sourceforge.net/projects/kavmailcheck
It based on Kaspersky Lab sample code, sendmail milter sample code and Alexey Rassoha TrAVcheck code.
It works well in my slackware linux with kavdaemon 4.0.2.2 and sendmail 8.12.9 It should work with kavdaemon version 3.0 and sendmail 8.11.x - 8.12.x
Options are:
-e all, clean, none - delete temp files after check. Default: all -d - directory to store temp files. Default: /dev/shm -p - name of sendmail milter socket. Default: no default -l - log file name. Default:/tmp/mailcheck.log
NOTE: kavmailcheck tells NOTHING to end user if message with virus sended to him. This message rejects with "5.6.1 Virus detected in the message" message and person who send this mail can resend it without virus.
INSTALL
- Edit path to sendmail sources in Makefile (SM_OBJ and SM_SRC) and run
gmake
2) Get from Kaspersky Lab http://www.kaspersky.com/ kaspersky antivirus, install
and configure it.
Add "*/tmp/mailcheck" to "Names" string in your defUnix.prf file. You should run kavdaemon with -Y option.
3) Rebuild your sendmail with milter support. See sendmail documentation for
details.
Add to your senmail.mc file:
INPUT_MAIL_FILTER(`KAVcheck', `S=local:/etc/mail/kavcheck.sock')
Rebuild sendmail.cf and restart sendmail.
4) Create directory /tmp/mailcheck.
Run
kavmailcheck -d /tmp/mailcheck -e clean -p /etc/mail/kavcheck.sock &
5) Please email me to leshats@od.anything3d.com if it works.
