So I got clamav to work with amavis and courier. I doubt it's the most efficient possible solution, but it works with some small hic-ups.

0. Get a clamav rpm if you can. Otherwise, at least clamav is well documented for install.
1. Get the amavis-0.3.12.tar.gz source at www.amavis.org.
2. Get the courier patch http://www.amavis.org/contrib/amavis-courier.patch.2
3. Patch away.
4. Due to some reason outside my understanding or patience I had to set the default MTA to courier in 'configure' or it defaulted to sendmail.
5. I built it with ./configure --enable-courier --with-amavisuser=amavis; make
6. Make sure /var/amavis /var/virusmails are chown amavis.amavis and have the correct permissions.
7. Add the following to /etc/courier/maildroprc (or where ever it is in your install).


xfilter "/usr/sbin/amavis"

It works for me, your mileage will vary. This can definately be cleaned up. One slight problem is that amavis can't get $SENDER from the email in this incarnation. Perhaps there is a better implementation, but until I figure out how to get amavis-ng to work I'll stick with this setup. Thanks to all who helped.

-Scott



-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to