--Greg Owen wrote on 22.02.2002 09:53 -0500:

>     Is anyone using Spamassassin to filter email with Courier, either as a
> global or local filter?  If so, can they provide some simple description of
> how they set it up?

Drop this into etc/maildroprc or ~/.mailfilter:
xfilter "/usr/bin/spamassassin -P -t -F 0 -L"

or if you receive more than one mail/minute start the daemon:
nice /usr/bin/spamd -d -u courier -i 127.0.0.1 -x -L -F 0
and use this line:
xfilter "/usr/bin/spamc -d 127.0.0.1 -p 783 -s 65535 -u relay"
(-u has some problems in spamd/spamc doing the chuid, had no
time to investigate and its not related to courier anyway)

In .courier[-default] something like this should work:

| /usr/bin/spamassassin -P -t -F 0 -L | deliverquota ./Maildir
| /usr/bin/spamassassin -P -t -F 0 -L | maildrop .mailfilter

Check the documentation about the options, innovative people
could even set $DEFAULTDELIVERY to such a string :)

>     I've tried a few of the obvious methods without success.  A quick search
> of the list archives suggested someone has done it, but not how.

Cant be that bad without any error-message...

Roland


_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to