On Tue, 9 Aug 2005, Joe Borg said:
> Its easier not to try to count asterisks...
> ------------Sample procmailrc portion
>:0
> * ^X-Spam-Status:.*score=[1-9][0-9]
> {
> 
>:0
> /dev/null
> }
> -------------end sample

Agreed, but you don't have to use regexps for the counting job either.
I use something akin to:

:0
* ^X-Spam-Status: yes, +score=\/[^. ]*
* ? (( ${MATCH} > 9 ))
{

:0
/dev/null
}

which can be a lot easier on the eyes.

-- 
`Tor employs several thousand editors who they keep in dank
 subterranean editing facilities not unlike Moria' -- James Nicoll 

Reply via email to