spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Brennan <bren...@columbia.edu>
Subject Re: spamassassin rule set issue
Date Wed, 18 Apr 2012 17:23:14 GMT


>> rawbody  BLOCK_RULE2 /(\W|^)Orange(\W|^)/i

> Some good suggestions here already.  While your original regexp should
> have worked in most cases, the optimal regexp for this situation is:
>
> /\borange\b/i
>


And probably body, not rawbody.  Rawbody won't match if the spammer
obfuscates words with html tags, e.g. ora<tag>nge.

Joseph Brennan
Columbia University Information Technology



Mime
View raw message