> 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

--
Paul-Erik Törrönen <[EMAIL PROTECTED]>
777-Team



-------------------------------------------------------
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