$Id: README,v 1.1.1.1 2004/02/09 09:32:32 boco Exp $

1. What is it

This simple milter filters messages thru AVE Server 5.x (formerly Kaspersky
Antivirus, or KAV). It should work with KAV 4.5 but I'd never test it.
It won't work with KAV < 4.5 due to KAV client-to-server protocol
incompatibility.

Milter was written and tested on FreeBSD 4.9 only. I didn't try to
make it work on Linux or any other platform so it's up to you. Anyway,
patches are welcome.

2. Compiling

> tar zxvf avemilter-xxx.tgz
> cd avemilter-xxx
> make

Note you need libmilter have to be installed on your system. If compilation
fails, try to play with LIBS, CFLAGS, LDFLAGS and DEFINES in Makefile.

3. Installing

> su
> cd /path/to/avemilter-xxx
> make install

It will install avemilter binary to /usr/local/libexec and avemilter.sh.sample
to /usr/local/etc/rc.d. If you wanna start milter on system startup, you
should rename avemilter.sh.sample to avemilter.sh and edit it to suit your
needs. You also have to create avemilter spool directory (or just specify
/tmp as spool directory in avemilter.sh). And, of course, don't forget to
modify your sendmail configuration file to make sendmail to use new milter.
Best way to do this is to insert following line to your sendmail m4
configuration file (say, sendmail.mc) and then re-create .cf file:

INPUT_MAIL_FILTER(`avemilter',`S=inet:3360@127.0.0.1,T=C:30s;S:5m;R:15m;E:1h')dnl

4. Acknowledgements

Some code was stolen from KAVmilter (ftp://ftp.granch.ru/pub/kavmilter/) by
Rashid N. Achilov and verify_sender (ftp://segfault.kiev.ua/pub/verify_sender/)
by Valentin Nechaev. Bugs are mine. =)

(c) 2004 Damir Bikmuhametov <boco@ufanet.ru>