From: Guenter Brast [mailto:[EMAIL PROTECTED] > > 1. create directories ~/Maildir/.Spam > 2. use maildrop as delivery sevice > 3. put the following line in .mailfilter of the users home > directory that are > interested in spamfiltering: > > xfilter "/usr/local/bin/spamassassin -P" > > if (/^X-Spam-Status: Yes/) > to Maildir/.Spam/
From: Theo Cabrerizo Diem [mailto:[EMAIL PROTECTED] > > I use it. > > in /etc/courier/courierd just put DEFAULTDELIVERY to : > DEFAULTDELIVERY="| spamc | /usr/bin/maildrop" > > This will work, tagging the subject of your spam to ***SPAM*** .... > if you like to make somethink more complex, like moving messages, > deleting messages with high scores, etc ... I think you must create > some maildrop scripts Just to clarify these two answers for you... There are two ways to run SpamAssassin. If you run it as "spamassassin", it starts and runs the whole Perl-based SA program for each email. This is fine for small servers with low traffic, but it can cause performance problems for higher traffic situations. It does have the advantage of being easy to implement. If you run it as "spamc", it only runs a small C script for each email. The main part runs as a daemon called "spamd". You would need to make sure this stays running. The advantage of this is that there is a much smaller overhead for each email. For the Courier setup, I would recommend using maildrop and .mailfilter as in the first example above. Use maildrop as your delivery service and put spamassassin (or spamc) as an xfilter. Automatically moving suspected spam to it's own directory in the Maildir can be done if you wish, but is not necessary. SA will tag the emails so that your mail client can sort them itself after they are downloaded. Bowie ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
