3 messages in net.sourceforge.lists.courier-usersRe: [courier-users] courier-mta + spa...
FromSent OnAttachments
FMDec 6, 2007 1:43 pm 
João ValeDec 6, 2007 2:08 pm 
Gordon MessmerDec 6, 2007 3:06 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: [courier-users] courier-mta + spamd : deleting spam with high scoreActions...
From:Gordon Messmer (yiny@eburg.com)
Date:Dec 6, 2007 3:06:43 pm
List:net.sourceforge.lists.courier-users

FM wrote:

I am not a mailfilter guru

We are using spamd with .mailfilter on user home folder :

xfilter "/usr/bin/spamc" if(/^X-Spam-Status: Yes/) to Maildir/.Junk/

is it possible to delete spam that have more then 10 points ?

Yes:

if( /X-Spam-Status: Yes, score=([^\s]*)/ ) { if( $MATCH1 > 10 ) { echo "Dropping message::" if( /From: .*/ ) { echo "$MATCH" } if( /Subject: .*/ ) { echo "$MATCH" } EXITCODE=99 exit } }