8 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] xfilter?
FromSent OnAttachments
Mitch VincentMar 25, 2004 9:51 am 
Jeremy KitchenMar 25, 2004 10:16 am 
Mitch VincentMar 25, 2004 10:26 am 
Brook HumphreyMar 25, 2004 10:56 am 
Jeremy KitchenMar 25, 2004 11:07 am 
Jeremy KitchenMar 25, 2004 11:09 am 
Brook HumphreyMar 25, 2004 11:53 am 
Sam VarshavchikMar 25, 2004 4:43 pm 
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] xfilter?Actions...
From:Mitch Vincent (mit@karboneye.com)
Date:Mar 25, 2004 10:26:38 am
List:net.sourceforge.lists.courier-maildrop

From the Spamassassin man page :

-e, --exit-code Exit with a non-zero exit code if the tested message was spam

... Perhaps spamc doesn't support that. I could swear I had it set up like that before but that was several months ago...

With your script can I just

if (/^X-Spam-Flag:[:space:]*YES/) to /dev/null

or have it drop out and not deliver the message at all?

Thanks much!@!

Jeremy Kitchen wrote:

On Thursday 25 March 2004 12:50 pm, Mitch Vincent wrote:

Shouldn't xfilter *not* deliver the message if the exit code of the filter program is non-zero?

Who's to say it doesn't?

I'm using Spamassassin with it and thought I'd not get the message delivered if it was marked SPAM.. Perhaps I misunderstood and am confused as to how I had it set up previously..

I wasn't aware spamassassin/spamc had different exit codes if it marks a message as spam or not. In fact, I'm almost positive it doesn't.

Here's the mailfilter file I use with spamc: http://scriptkitchen.com/qmail/mailfilter