Re: Very low score for spam from b2blistappenders.com

2016-04-08 Thread RW
On Fri, 08 Apr 2016 18:04:48 +0300 Jari Fredriksson wrote: > Robert Boyl kirjoitti 8.4.2016 16:13: > > > Hi, everyone > > > > Pls, do you get a good spam score on this? For us, no hits for > > spamassassin, etc. > > > > I checked in test sites such as http://spamcheck.postmarkapp.com/ > > and a

Re: Very low score for spam from b2blistappenders.com

2016-04-08 Thread RW
On Fri, 8 Apr 2016 10:13:45 -0300 Robert Boyl wrote: > Hi, everyone > > Pls, do you get a good spam score on this? For us, no hits for > spamassassin, etc. > > I checked in test sites such as http://spamcheck.postmarkapp.com/ and > also very low score. > > Strange, as it does seem to have spamm

Re: Regex in case of spaces

2016-04-08 Thread John Hardin
On Fri, 8 Apr 2016, Bowie Bailey wrote: On 4/8/2016 11:09 AM, Reindl Harald wrote: Am 08.04.2016 um 17:05 schrieb John Hardin: > On Fri, 8 Apr 2016, Reindl Harald wrote: > > > /.*need to buy products.*\?.*/i > > > > .* = any chars independent how often > > Do NOT use ".*" in body or r

Re: Regex in case of spaces

2016-04-08 Thread Bowie Bailey
On 4/8/2016 11:09 AM, Reindl Harald wrote: Am 08.04.2016 um 17:05 schrieb John Hardin: On Fri, 8 Apr 2016, Reindl Harald wrote: /.*need to buy products.*\?.*/i .* = any chars independent how often Do NOT use ".*" in body or rawbody rules. That can lead to unbounded processing times. Use a

Re: Regex in case of spaces

2016-04-08 Thread John Hardin
On Fri, 8 Apr 2016, Reindl Harald wrote: Am 08.04.2016 um 17:05 schrieb John Hardin: On Fri, 8 Apr 2016, Reindl Harald wrote: > /.*need to buy products.*\?.*/i > > .* = any chars independent how often Do NOT use ".*" in body or rawbody rules. That can lead to unbounded processing times

Re: Regex in case of spaces

2016-04-08 Thread Reindl Harald
Am 08.04.2016 um 17:05 schrieb John Hardin: On Fri, 8 Apr 2016, Reindl Harald wrote: /.*need to buy products.*\?.*/i .* = any chars independent how often Do NOT use ".*" in body or rawbody rules. That can lead to unbounded processing times. Use a sane upper limit, e.g. ".{,20}", and try to

Re: Regex in case of spaces

2016-04-08 Thread John Hardin
On Fri, 8 Apr 2016, Reindl Harald wrote: /.*need to buy products.*\?.*/i .* = any chars independent how often Do NOT use ".*" in body or rawbody rules. That can lead to unbounded processing times. Use a sane upper limit, e.g. ".{,20}", and try to avoid repeated "." where possible. -- Joh

Re: Very low score for spam from b2blistappenders.com

2016-04-08 Thread Jari Fredriksson
Robert Boyl kirjoitti 8.4.2016 16:13: > Hi, everyone > > Pls, do you get a good spam score on this? For us, no hits for spamassassin, > etc. > > I checked in test sites such as http://spamcheck.postmarkapp.com/ and also > very low score. > > Strange, as it does seem to have spammy words, etc.

Re: Very low score for spam from b2blistappenders.com

2016-04-08 Thread RW
On Fri, 8 Apr 2016 10:13:45 -0300 Robert Boyl wrote: > Hi, everyone > > Pls, do you get a good spam score on this? For us, no hits for > spamassassin, etc. > > I checked in test sites such as http://spamcheck.postmarkapp.com/ and > also very low score. > > Strange, as it does seem to have spamm

Re: Regex in case of spaces

2016-04-08 Thread RW
On Fri, 08 Apr 2016 14:43:07 +0100 Martin Gregorie wrote: > On Fri, 2016-04-08 at 14:28 +0100, RW wrote: > > > His rule failed solely because he scored it at zero. > > > Since the OP claimed to be relatively clueless about regexes, I posted > what I did in the hope of showing him a easy way to

Re: Regex in case of spaces

2016-04-08 Thread Martin Gregorie
On Fri, 2016-04-08 at 14:28 +0100, RW wrote: > His rule failed solely because he scored it at zero. > Since the OP claimed to be relatively clueless about regexes, I posted what I did in the hope of showing him a easy way to write and test them. Regex simplification by writing body rules to take

Re: Regex in case of spaces

2016-04-08 Thread RW
On Fri, 08 Apr 2016 14:19:45 +0100 Martin Gregorie wrote: > On 2016-04-08 14:02, Robert Boyl wrote: > > > > describe TEST123test > > body TEST123/\bNeed to buy products *\?\b/i > > scoreTEST123 0.0 > > > > If possible, also make it catch if more than 1 question mark :) > > us

Re: Very low score for spam from b2blistappenders.com

2016-04-08 Thread Reindl Harald
Am 08.04.2016 um 15:13 schrieb Robert Boyl: Hi, everyone Pls, do you get a good spam score on this? For us, no hits for spamassassin, etc. I checked in test sites such as http://spamcheck.postmarkapp.com/ and also very low score. Strange, as it does seem to have spammy words, etc... no? See

Re: Regex in case of spaces

2016-04-08 Thread Martin Gregorie
On 2016-04-08 14:02, Robert Boyl wrote: > > describe TEST123test > body TEST123/\bNeed to buy products *\?\b/i > scoreTEST123 0.0 > > If possible, also make it catch if more than 1 question mark :) > use \ in front of space char > Try this: describe TEST123test body 

Very low score for spam from b2blistappenders.com

2016-04-08 Thread Robert Boyl
Hi, everyone Pls, do you get a good spam score on this? For us, no hits for spamassassin, etc. I checked in test sites such as http://spamcheck.postmarkapp.com/ and also very low score. Strange, as it does seem to have spammy words, etc... no? See: http://pastebin.com/EJH1eddN Thanks! Robert

RE: Regex in case of spaces

2016-04-08 Thread Tony Abrahams
Hi dude, Try the following - need to buy (a\s)?products?([\s?]{0,})? added a conditional a with a space "(a\s)?" added a conditional s after product s? added a conditional combination of space and question marks ([\s?]{0,})? Hope it helps Rgds Tony > Subject: Re: Regex in case of spaces >

Re: Regex in case of spaces

2016-04-08 Thread RW
On Fri, 8 Apr 2016 09:02:36 -0300 Robert Boyl wrote: > Hi, everyone! > > Sorry, lame with regex. > > How can I make a rule to catch: > > Need to buy a product ? > > And also catch "need to buy a product?" > > Note the extra spacing. The body is normalized, so all consecutive whitespace b

Re: Regex in case of spaces

2016-04-08 Thread Reindl Harald
Am 08.04.2016 um 14:02 schrieb Robert Boyl: Hi, everyone! Sorry, lame with regex. How can I make a rule to catch: Need to buy a product ? And also catch "need to buy a product?" Note the extra spacing. Tried this, didnt work: describe TEST123test body TEST123/\bNeed t

Re: Regex in case of spaces

2016-04-08 Thread me
On 2016-04-08 14:02, Robert Boyl wrote: describe TEST123test body TEST123/\bNeed to buy products *\?\b/i scoreTEST123 0.0 If possible, also make it catch if more than 1 question mark :) use \ in front of space char and score with 0 disable the test, waste of rule :)

Regex in case of spaces

2016-04-08 Thread Robert Boyl
Hi, everyone! Sorry, lame with regex. How can I make a rule to catch: Need to buy a product ? And also catch "need to buy a product?" Note the extra spacing. Tried this, didnt work: describe TEST123test body TEST123/\bNeed to buy products *\?\b/i scoreTEST123 0.0 If