Martin Gregorie a écrit :
> On Tue, 2008-10-21 at 07:05 -0700, mathiasadsl wrote:
> 
>> OK, i've just tried your new regular expression but it doesnt work better.
>> Nothing happened. The email is still tagged as [SPAM] and is delivered to
>> user.
>>
> That's odd. I've just run the following:
> 
> [EMAIL PROTECTED] ~]$ grep '^X-Spam-Status:.*\(No\|NO\)' x.txt 

Why do you guys put a '.*' there? This would also match

X-Spam-Status: Yes, ..... REFINANCE_NOW ...

and a lot more...

Note that it is easier to use X-Spam-Flag if it is available. otherwise,

$ egrep -i '^X-Spam-Status: No" x.txt


> X-Spam-Status: No, score=1.9 required=6.0
> [snip]

Reply via email to