14 messages in net.sourceforge.lists.courier-usersRE: [courier-users] Has anyone used c...
FromSent OnAttachments
Uros SlakOct 16, 2003 3:03 am 
Mitch (WebCob)Oct 16, 2003 8:11 am 
RUIVO Eugenio MoraisOct 16, 2003 10:37 am 
ScottOct 16, 2003 3:00 pm 
RUIVO Eugenio MoraisOct 17, 2003 2:43 am.conf, .conf
RUIVO Eugenio MoraisOct 17, 2003 2:46 am 
ScottOct 17, 2003 8:43 am 
ScottOct 17, 2003 5:23 pm 
Carlos PazOct 17, 2003 6:53 pm 
ScottOct 18, 2003 9:08 pm 
Mitch (WebCob)Oct 18, 2003 11:18 pm 
Paul-Erik TörrönenOct 19, 2003 6:17 am 
ecu...@encontacto.netOct 19, 2003 7:12 am 
Mitch (WebCob)Oct 19, 2003 11:55 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: [courier-users] Has anyone used courier & clam-av? What's the preferred method of integration?Actions...
From:Paul-Erik Törrönen (pol@777-team.org)
Date:Oct 19, 2003 6:17:39 am
List:net.sourceforge.lists.courier-users

7. Add the following to /etc/courier/maildroprc (or where ever it is in your install).

xfilter "/usr/sbin/amavis"

In my understanding this will only filter the incoming mail, this is ok when the clients are non-Windows (for now). To set up the Courier to filter all mail, the perlfilter can be used in the following manner:

1. Get amavis-ng. I tried to install the rpm-packages found from rpm.pbone.net but they failed on the 7.3 on my target server, I got it to work by installing them manually. Amavis-ng requires a lot of additional perl-modules as well as some external uncompressors (for some reason I could not get the (un)rar to work) 2. Configure the Amavis-ng at /etc/amavis/amavis.conf, the configuration-file contains quite sufficient directives, also make sure that all the directories exists 3. Set Amavis as the perlfilter. by putting the Amavis-program with full path in the /etc/courier/filters/perlfilter 4. Start the filtering with the command: filterctl start perlfilter 5. Test the filtering by sending a test-virus through the server with the configured compression fileformats

I built a working systen with these steps on a RH-7.3 with Courier-0.41 + Amavis-ng-0.1.6.4 and F-Secure AV, I also did a preliminary test on a RH-8.0 with Courier 0.43 and F-Prot with similar results.

Poltsi