Re: Regex help (targetting very long HTML comments)

2012-04-06 Thread Henrik K
On Fri, Apr 06, 2012 at 07:07:18PM +0300, Henrik K wrote: > On Fri, Apr 06, 2012 at 08:40:08AM -0700, Adam Katz wrote: > > > > Try this: > > > > body OVERSIZE_COMMENT eval:html_text_match('comment', > > ').{512,}-->') > > No. See what I already posted. Btw I put few test rules to my sandbox:

Re: Regex help (targetting very long HTML comments)

2012-04-06 Thread Henrik K
On Fri, Apr 06, 2012 at 08:40:08AM -0700, Adam Katz wrote: > > Try this: > > body OVERSIZE_COMMENT eval:html_text_match('comment', > ').{512,}-->') No. See what I already posted.

Re: Regex help (targetting very long HTML comments)

2012-04-06 Thread Adam Katz
On 04/02/2012 09:40 AM, Kris Deugau wrote: > Can anyone point out what bit of stupidity I'm committing in trying > to use this: > > rawbody OVERSIZE_COMMENTm|).{32000,}|s > > to match messages that are mostly very very long HTML comment(s)? > > Testing the same regex against the whole ra

Re: Bayes_ignore

2012-04-06 Thread Adam Katz
On 04/01/2012 06:35 AM, joea wrote: > While exploring Bayes stuff, (wanting to populate appropriately for > my setup), found reference to removing headers that might confuse > Bayes. > > Specifically bayes_ignore_header. > > The example they show is an X header. Seems the ones spamassassin > pu