2 messages in net.sourceforge.lists.courier-maildrop[maildropl] 2.0 pattern matching
FromSent OnAttachments
Roger BinnsNov 30, 2005 9:17 am 
Thorsten HaudeNov 30, 2005 3:14 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:[maildropl] 2.0 pattern matchingActions...
From:Roger Binns (rog@rogerbinns.com)
Date:Nov 30, 2005 9:17:45 am
List:net.sourceforge.lists.courier-maildrop

I am having trouble with this portion of maildroprc in 2.0.1.

/^X-Spam-Status: Yes, score=([:digit:]+\.[:digit:]+).*/ if ( $MATCH1 >= 7.0 ) to "/dev/null"

(It worked fine in 1.x, the parentheses were ! and it was $MATCH2)

What I think is happening is that the if line is doing a string comparison not a floating point comparison.

(What I do is throw away any mail where spamassassin gives a score greater than 7, and put the rest in the users spam folder.)

Any suggestions?

Roger