225 spreadsheets in title

2013-12-06 Thread Marcio Humpris
sorry for abuse... still trying to learn regex :/ how can I do something that catches in subject of an email "225 spreadsheets for download" and variations? such as "xx to xxx spreadshets", so 200 spreadsheets, 10 spreadsheets, etc. should catch. any recommendations of easy tool to help build reg

Re: few words

2013-12-06 Thread Marcio Humpris
Bowie Bailey BUC.com> writes: > > how can I adjust it? > > First thought would be: > > rawbody __RB_2_WDS /^(?:\s*\S+){0,2}\s*$/ > > Untested... Should match empty message, message with only whitespace, > or message with one or two words. > Thank you... But how to make it catch just an em

Re: few words "spam"

2013-12-05 Thread Marcio Humpris
rawboby score LOCAL_RB_LE_40 0.1 That catches emails with empty body, with less then 200 chars... I want to catch only up to 2 distinct words. how can I adjust it? Thanks. 2013/12/5 Marcio Humpris > Thanks everyone that helped. I wanted the regex to actually catch ONLY if > there are u

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

Re: one word spam (still trying...)

2013-11-26 Thread Marcio Humpris
Dear Karsten, Really appreciate it. Thanks John Hardin also. There was no original rule actually. And yes, 2 words in the case, sorry. Can you kindly tell me how I can add this to my local.cf so I can test it? rawbody __RB_GT_200 /^.{201}/s meta__RB_LE_200 !__RB_GT_200 I imagine I ha

one word spam (still trying...)

2013-11-07 Thread Marcio Humpris
Hi, John This didnt work for me also: /^\s{0,80}\S{1,20}\s{0,80}$/ can you kindly check it works here? http://www.softlion.com/webTools/RegExpTest/default.aspx Heres the original email I want to block: http://pastebin.com/download.php?i=0D7tfsjf Thank you!

trying to understand capture groups/repetition (regex)

2013-10-31 Thread Marcio Humpris
Can someone kindly explain a regex? Lose .{0,2}.{0,1}(KG|Quilos|Kilos|Pounds|Lb) It matches fine lose 22 pounds, lose 5 pounds. Now 3 digits such as lose 100 pounds it doesnt which is ok. I was trying to understand those capture groups .{0,2}.{0,1} . is any character and the 0,2 seems to be rep

one word spam part 3

2013-10-28 Thread Marcio Humpris
Hi everyone Martin, I tried /\s{0,80}\S{1,20}\s{0,80}/ but it didnt work for me. if you can kindly confirm it works here, i appreciate it: http://www.softlion.com/webTools/RegExpTest/default.aspx Also, please, sorry for the off topic, but if someone can explain, how can I reply to a certain po

one word spam (continued)

2013-10-16 Thread Marcio Humpris
Hi everyone If I use digest mode how do I reply to a specific mail? In reply to axb... about one word spam http://mail-archives.apache.org/mod_mbox/spamassassin-users/201308.mbox/browser here is the sample http://pastebin.com/download.php?i=0D7tfsjf Can you help with some regex pls? Tks

Re: one word spam

2013-08-27 Thread Marcio Humpris
Someone please? 2013/8/23 Marcio Humpris > please, i know its been talked about before, but isnt there a rule to deal > with 1 word spams? > > spams that just have text "Hi!" and thats it. > > If not, if someone can pls advise on a regex to catch this. > > Thank you. >

one word spam

2013-08-23 Thread Marcio Humpris
please, i know its been talked about before, but isnt there a rule to deal with 1 word spams? spams that just have text "Hi!" and thats it. If not, if someone can pls advise on a regex to catch this. Thank you.