5 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] filtering problem
FromSent OnAttachments
J.Feb 27, 2007 11:03 am 
moussFeb 28, 2007 4:22 pm 
J.Feb 28, 2007 9:30 pm 
moussMar 1, 2007 2:40 pm 
J.Mar 1, 2007 4:25 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] filtering problemActions...
From:mouss (mlis@free.fr)
Date:Feb 28, 2007 4:22:40 pm
List:net.sourceforge.lists.courier-maildrop

J. wrote:

Using Gentoo with maildrop 2.0.2-r1

I'm more or less a newbie with linux, qmail and maildrop even though I've been using them for a while. I've got qmail-scanner with spamd/spamc etc handling my incoming mail and then I have maildrop filtering out the spam. In the past we've only needed a few rules (i.e. put anything with spam value of +++++ or more into /dev/null and anything with ++ or more into a folder to look at). Lately because of some slips and other issues I've started putting the total spam into a folder to look at and had to write some mailfilter patterns to catch spam that slips through.

Now I'm having a weird issue where certain mails that are not scored at all (probably because they are bigger than the spamd maxsize setting), are somehow getting filtered by maildrop into the folder I use for pure spam (5 points or higher). Here's the header line from those emails:

X-Spam-Status: No, hits=? required=?

Then there are others that are scored with very very low (-4.3, -98.4 etc) scores and those are also going into the PureGarbage folder.

There's no reason I can see that they're going into that folder (when I search any of these terms below on these messages using the "where" function in pine, nothing is found). Here are all the filters that move mail to that folder (a lot of these are the result of some slips I was having so I had to write mailfilter rules to deal with some specific emails that spamassassin was scoring too low):

if ( /^X-Spam-Level: \*\*\*\*\*/ ) { # to "/dev/null" to "/home/domainWide/mail/PureGarbage" }

if ( /^X-Spam-Level: \+\+\+\+\+/ ) { # to "/dev/null" to "/home/domainWide/mail/PureGarbage" }

if ( /No one can beat our rates/:b ) { # to "/dev/null" to "/home/domainWide/mail/PureGarbage" }

if ( /Dear Home Owner/:b ) { # to "/dev/null" to "/home/domainWide/mail/PureGarbage" }

if ( /NationalGiftGroup/:b ) { # to "/dev/null" to "/home/domainWide/mail/PureGarbage" }

if ( /QCPC/:b ) { # to "/dev/null" to "/home/domainWide/mail/PureGarbage" }

if ( /stun1.com/:b ) { # to "/dev/null" to "/home/domainWide/mail/PureGarbage" }

post a copy of the headers of one misclassified message.

PS. you should consider adding SA rules, instead of doing this in maildrop.