From: Graham Smith [mailto:[EMAIL PROTECTED]
> 
> I have googled like there is no tomorrow for the last couple of days
> and I am no closer to deciding which spam filter to use with
> courier. It seems that none of the large, more actively developed,
> filters (SpamAssasin for instance) directly integrate with courier
> (at least that is what the SpamAssasin site seems to imply). Reading
> this list seems to mention plenty of successful installations of
> spam filters though. I would greatly appreciate it if someone could
> point me in the direction of a spam filter or two and some
> documentation on how to install them with courier.

SpamAssassin works quite well with courier.  You can either use it by
itself during delivery with maildrop or use it as a courierfilter via
amavisd-new.

The simplest method is to use SpamAssassin to scan the messages during
final delivery.  Keep in mind that this method only scans emails that
are being delivered locally.

Set up Maildrop as your delivery agent.

Create a file '/etc/courier/maildroprc'
(location may change based on your installation)

/etc/courier/maildroprc:

    xfilter spamassassin

Alternately, you can use the daemonized version.  Start up spamd and
put this in your maildroprc:

    xfilter spamc

If you want to use it as a courierfilter to reject spam as it gets to
the server, you will need amavisd-new.  That setup is a bit more
complex and you'll need to go through the docs.  Keep in mind, that
amavisd-new/spamassassin cannot modify the email when being used as a
courierfilter.  So no headers and no subject markers, just accept or
reject.  If you want to mark spam, you'll need to do it through
maildrop.

Bowie


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to