Re: TextCat triggering

2013-12-05 Thread Mauricio Tavares
On Thu, Dec 5, 2013 at 5:29 PM, Mauricio Tavares wrote: > On Wed, Nov 27, 2013 at 7:48 PM, Karsten Bräckelmann > wrote: >> On Wed, 2013-11-27 at 13:38 -0500, Mauricio Tavares wrote: >>> Let's say I have >>> >>> ok_languages en >>> >>> and I get an email from Canada that is mostly in English but f

Re: few words "spam"

2013-12-05 Thread Marcio Humpris
correction... Thanks everyone that helped. I wanted the regex to actually catch ONLY if there are up to 2 words. so catch 1 word or 2 words in BODY. rawbody __RB_GT_40 /^.{41}/s meta__RB_LE_40 !__RB_GT_40 meta LOCAL_RB_LE_40 __RB_LE_40 describe RB_LE_40 Meta: less then 200 chars in rawbo

few words "spam"

2013-12-05 Thread Marcio Humpris
Thanks everyone that helped. I wanted the regex to actually catch ONLY if there are up to 2 words. so catch 1 word or 2 words in BODY. meta LOCAL_RB_LE_40 __RB_LE_40 describe RB_LE_40 Meta: less then 200 chars in rawboby score LOCAL_RB_LE_40 0.1 That catches emails with empty body, with less th