procmail
[Top] [All Lists]

Re: Using procmail on mail relay

2007-10-22 17:25:17
On Mon, Oct 22, 2007 at 06:10:40PM -0600, Lewis wrote:
Since we seem to really be talking about Spam assassin scores I used  
to use

^X-Spam-Status:.*score=..\..

(SA stops at 99.9 and that catches anything that is two digits, a  
period, and a digit, without having to specify the [0-9])

Good idea.  But why do you care about the decimal digit?

  * ^X-Spam-Status:.*score=..\.


But then I discovered that anything over 8 could be trashed and I  
just went with the old standby:

X-Spam-Level: \*\*\*\*\*\*\*\*

I suppose I could do

([1-9][0-9]|[8-9])\.[0-9]

but why?

Well, you could also do:

   
  * ^X-Spam-Status:.*score=(..|[89])\.

But I have had occasional false pozzes with scores over 8.

-- 
dman
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>