Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[courier-users] virus scanning and spam protection -- easy

0 views
Skip to first unread message

Gordon Messmer

unread,
Oct 22, 2002, 1:41:46 AM10/22/02
to
I've just completed packaging the newest SpamAssassin, OpenAntiVirus
ScannerDaemon, and AMaViS and all their dependencies (except for java,
you're on your own there) for Red Hat Linux and courier.

All of the packages required to run these programs are available here:
http://www.dragonsdawn.net/apt/redhat/7.3/en/i386/RPMS.dragonsdawn/
http://www.dragonsdawn.net/apt/redhat/7.3/en/i386/SRPMS.dragonsdawn/

These are all apt-get-able, and you should be able to install the whole
thing on a Red Hat 7.3 system with just:
apt-get install courier courier-imap ... spamassassin ScannerDaemon \
amavis-courier

Courier is built according to Sam's instructions, without
modifications. SpamAssassin is also pretty much straight out of the
box. I only had to write an init script for ScannerDaemon. AMaViS
required a bit of customization to become a tool usable as an xfilter.
It should support virus scanners other than OAV, but that's the one it
defaults to.

These packages "Work For Me". I'm using IBM's Java2 SDK 1.3.1 to run
ScannerDaemon. Further testing and bug reports are welcome. I'm
excited to have a 100% Free Software (except for Java...) mail system
featuring virus scanning and spam filtering.

A working /etc/courier/maildroprc looks like this:
## Run virus scanner
import SENDER
import RECIPIENT
if ($SENDER ne "")
{
FROM=$SENDER
}
else
{
FROM="unknown"
}
xfilter "/usr/sbin/amavis $FROM $RECIPIENT"


## Run spam filter
xfilter "/usr/bin/spamc"

Thanks to ben....@fremerx.com for the basic docs at
http://www.fremerx.com/open-source/mail/courier.html


-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future of
Java(TM) technology. Join the Java Community Process(SM) (JCP(SM))
program now. http://ad.doubleclick.net/clk;4699841;7576301;v?
http://www.sun.com/javavote
_______________________________________________
courier-users mailing list
courie...@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

0 new messages