2 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] newbie question
FromSent OnAttachments
Neal D. BeckerSep 19, 2002 1:00 pm 
Matthias AndreeSep 21, 2002 5:07 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] newbie questionActions...
From:Matthias Andree (ma@dt.e-technik.uni-dortmund.de)
Date:Sep 21, 2002 5:07:42 am
List:net.sourceforge.lists.courier-maildrop

nbec@hns.com (Neal D. Becker) writes:

I just installed maildrop. I want to use it with spamassassin and spamprobe.

Here is my .mailfilter. It seems to work, does it look OK?

----------------- # score the mail and tag it SCORE=`spamprobe -8 receive` xfilter "reformail -I \"X-SpamProbe: $SCORE\""

# if it's spam, reroute it to the spamprobe mbox if (/^X-SpamProbe: SPAM/) { cc "spamprobe" } else { xfilter "/usr/bin/spamc" if (/^X-Spam-Flag: YES/) { cc "|spamassassin -d -L|spamprobe -8 spam" cc "spamassassin" } }

Looks ok, only that personally, I'd prefer to "spamprobe" and to "spamassassin" where you used cc -- I don't like copying spam around, it's sufficient if it piles up in the spamprobe and spamassassin folders.