2 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Banishing messages to...
FromSent OnAttachments
GawainApr 9, 2002 9:26 am 
John SwinbankApr 9, 2002 11:28 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] Banishing messages to /dev/nullActions...
From:John Swinbank (john@physics.org)
Date:Apr 9, 2002 11:28:41 am
List:net.sourceforge.lists.courier-maildrop

On Tue, Apr 09, 2002 at 11:26:12AM -0500, Gawain wrote:

I'm using Maildrop with Spamassassin to flag suspected spam. I've recently set up Maildrop to bounce messages with a spam score higher than a specified level. If I'm reading the docs correctly Maildrop will only deliver mail to a valid mailbox. I'd like to delete these messages instead by sending them to /dev/null or something similar.

The following should silently drop anything with a score greater than $MAX. Well, it seems to work for me, at any rate.

if ((/^X-Spam-Status: Yes, hits=![0-9]+\.[0-9]+!.*/:h && $MATCH2 > $MAX) exit

Hope that's of some help,