Re: regex anchor for start of line in body

2009-07-08 Thread Charles Gregory
On Wed, 8 Jul 2009, Benny Pedersen wrote: do you have a dual quad core that idles ? :) I have a dual Pentium-III that idles 99% of the time, yes. rawbody takes more cpu power then (body) I wouldn't think that it takes much more as the only difference is whether HTML is still present w

Re: [sa] regex anchor for start of line in body

2009-07-07 Thread Benny Pedersen
On Wed, July 8, 2009 06:41, Charles Gregory wrote: > So the desired test is: do you have a dual quad core that idles ? :) > rawbody LOC_09070702 /^Assets of my deceased Client/m rawbody takes more cpu power then body LOC09070702 /\bAssets of my deceased Client\b/ why missing /i ? and why ex

Re: [sa] regex anchor for start of line in body

2009-07-07 Thread Charles Gregory
On Tue, 7 Jul 2009, Charles Gregory wrote: On Tue, 7 Jul 2009, Charles Gregory wrote: I have tried all combinations of: body LOC_09070701 /^Assets of my deceased Client/ body LOC_09070702 /^Assets of my deceased Client/m body LOC_09070703 /^Assets of my deceased Client/ms

Re: [sa] regex anchor for start of line in body

2009-07-07 Thread RW
On Tue, 7 Jul 2009 14:57:59 -0400 (EDT) Charles Gregory wrote: > On Mon, 6 Jul 2009, info-spamassassin-t...@cs.utexas.edu wrote: > > I seem to be having a hard time writing rules which anchor > > a string to the start of the line in the body of a text message. > > What the.? So am I! > > I

Re: [sa] regex anchor for start of line in body

2009-07-07 Thread John Hardin
On Tue, 7 Jul 2009, Charles Gregory wrote: Just for interest sake, I am putting my 'test line' here Assets of my deceased Client ...just to see if it is my testing method that is broken The body rule is comparing against a "cleaned up" paragraph where those lines are joined. Otherwise ins

Re: [sa] regex anchor for start of line in body

2009-07-07 Thread John Hardin
On Tue, 7 Jul 2009, Charles Gregory wrote: On Mon, 6 Jul 2009, info-spamassassin-t...@cs.utexas.edu wrote: I seem to be having a hard time writing rules which anchor a string to the start of the line in the body of a text message. What the.? So am I! I have tried all combinations of: b

Re: [sa] regex anchor for start of line in body

2009-07-07 Thread Charles Gregory
On Tue, 7 Jul 2009, Charles Gregory wrote: X-Spam-Status: No, hits=-2004.0 required=10.0 autolearn=disabled tests=LOC_SAUSERS_RCVD_WL=-1000,LOC_SAUSERS_TO_WL=-1000, RCVD_IN_DNSWL_MED=-4 On Tue, 7 Jul 2009, Charles Gregory wrote: > I have tried all combinations of: > body LOC_0907070

Re: [sa] regex anchor for start of line in body

2009-07-07 Thread Charles Gregory
On Tue, 7 Jul 2009, Charles Gregory wrote: I have tried all combinations of: body LOC_09070701 /^Assets of my deceased Client/ body LOC_09070702 /^Assets of my deceased Client/m body LOC_09070703 /^Assets of my deceased Client/ms And NONE of them match the beginning of line!

Re: [sa] regex anchor for start of line in body

2009-07-07 Thread Charles Gregory
On Mon, 6 Jul 2009, info-spamassassin-t...@cs.utexas.edu wrote: I seem to be having a hard time writing rules which anchor a string to the start of the line in the body of a text message. What the.? So am I! I have tried all combinations of: body LOC_09070701 /^Assets of my deceased

Re: regex anchor for start of line in body

2009-07-06 Thread Benny Pedersen
On Tue, July 7, 2009 00:58, info-spamassassin-t...@cs.utexas.edu wrote: > body __PHISH1/^Password\b/i > body __PHISH0/^Username\b/i > metaPHISH __PHISH1 && __PHISH0 > > But the rule does not hit unless I remove the '^' from the above regex. > What am I missing? repl

Re: regex anchor for start of line in body

2009-07-06 Thread RW
On Mon, 6 Jul 2009 17:58:59 -0500 info-spamassassin-t...@cs.utexas.edu wrote: > I seem to be having a hard time writing rules which anchor > a string to the start of the line in the body of a text message. > > e.g., suppose I get a lot of phish which contain text (not html) > like this: > > User

Re: regex anchor for start of line in body

2009-07-06 Thread John Hardin
On Mon, 6 Jul 2009, info-spamassassin-t...@cs.utexas.edu wrote: I seem to be having a hard time writing rules which anchor a string to the start of the line in the body of a text message. e.g., suppose I get a lot of phish which contain text (not html) like this: Username:.. Password:.

Re: regex anchor for start of line in body

2009-07-06 Thread Mark Martinec
Fletcher, > I seem to be having a hard time writing rules which anchor > a string to the start of the line in the body of a text message. > > e.g., suppose I get a lot of phish which contain text (not html) > like this: > > Username:.. > Password:.. > > I try what seemed intuitivel

regex anchor for start of line in body

2009-07-06 Thread info-spamassassin-talk
I seem to be having a hard time writing rules which anchor a string to the start of the line in the body of a text message. e.g., suppose I get a lot of phish which contain text (not html) like this: Username:.. Password:.. I try what seemed intuitively easy: body__PHISH1