Re: Negative lookbehind lint issues

2018-08-31 Thread Olivier Coutu
You are correct Pedro, the curly-braces solution does work. I will integrate the solution, I leave it to you guys to determine if a bug should be opened and with whom. On 2018-08-31 15:01, Pedro David Marco wrote: It works with Perl 5.14.2 but not with 5.20.2 It seems that Perl preprocessor

Re: Negative lookbehind lint issues

2018-08-31 Thread Pedro David Marco
It works with Perl 5.14.2 but not with 5.20.2 It seems that Perl preprocessor does something with repeated chars before the regex engine that makes it consider it wrongly if i change ss for s{2} like this: body    __Z_NEGATIVE_LOOKBEHIND  /(?On Friday, August 31, 2018, 4:00:05 PM GMT+2,

Re: Negative lookbehind lint issues

2018-08-31 Thread Kevin A. McGrail
Likely best to try against svn for 3.4 and trunk where I expect it will fail and we have to open a bug. On Fri, Aug 31, 2018, 10:42 RW wrote: > On Fri, 31 Aug 2018 09:59:52 -0400 > Olivier Coutu wrote: > > > I wrote a rule that throws a /variable length lookbehind/ error where > > the

Re: Negative lookbehind lint issues

2018-08-31 Thread RW
On Fri, 31 Aug 2018 09:59:52 -0400 Olivier Coutu wrote: > I wrote a rule that throws a /variable length lookbehind/ error where > the lookbehind is fixed length. Here is a MWE: > > body    __Z_NEGATIVE_LOOKBEHIND  /(? > spamassassin --siteconfigpath=${HOME}/sa-rules/ --lint > aoû 31

Negative lookbehind lint issues

2018-08-31 Thread Olivier Coutu
I wrote a rule that throws a /variable length lookbehind/ error where the lookbehind is fixed length. Here is a MWE: body    __Z_NEGATIVE_LOOKBEHIND  /(?The error goes away if I remove the case insensitive, or if I put a character between the two /s/ characters. Using /nn/ instead of

Lint issues

2007-01-27 Thread Thomas Bolioli
I am running sa w/lint and it never sees the email I am passing to it. the cmd line is: spamassassin -D --lint email and the output is always: snip... [29845] dbg: check: is spam? score=2.216 required=6 [29845] dbg: check:

Re: Lint issues

2007-01-27 Thread Theo Van Dinter
On Sat, Jan 27, 2007 at 03:44:35PM -0500, Thomas Bolioli wrote: I am running sa w/lint and it never sees the email I am passing to it. the cmd line is: spamassassin -D --lint email and the output is always: Which leads me to believe the email is not getting read by SA. Any thoughts? Am I

Re: Lint issues

2007-01-27 Thread Matt Kettler
Thomas Bolioli wrote: I am running sa w/lint and it never sees the email I am passing to it. the cmd line is: spamassassin -D --lint email and the output is always: snip... [29845] dbg: check: is spam? score=2.216 required=6 [29845] dbg: check:

Re: Lint issues

2005-10-23 Thread RoNNY
On 10/23/05, The Doctor [EMAIL PROTECTED] wrote: [2136] warn: lint: 43 issues detected, please rerun with debug enabled for more information The last line of your log gives a pretty good idea as to what you should do next... -RoNNY

Re: Lint issues

2005-10-23 Thread The Doctor
On Sun, Oct 23, 2005 at 09:05:31AM -0400, RoNNY wrote: On 10/23/05, The Doctor [EMAIL PROTECTED] wrote: [2136] warn: lint: 43 issues detected, please rerun with debug enabled for more information The last line of your log gives a pretty good idea as to what you should do next...

Re: Lint issues

2005-10-23 Thread The Doctor
On Sun, Oct 23, 2005 at 07:28:50AM -0600, The Doctor wrote: On Sun, Oct 23, 2005 at 09:05:31AM -0400, RoNNY wrote: On 10/23/05, The Doctor [EMAIL PROTECTED] wrote: [2136] warn: lint: 43 issues detected, please rerun with debug enabled for more information The last line of your

Re: Lint issues

2005-10-23 Thread JamesDR
The Doctor wrote: On Sun, Oct 23, 2005 at 07:28:50AM -0600, The Doctor wrote: On Sun, Oct 23, 2005 at 09:05:31AM -0400, RoNNY wrote: On 10/23/05, The Doctor [EMAIL PROTECTED] wrote: [2136] warn: lint: 43 issues detected, please rerun with debug enabled for more information The last

Re: Lint issues

2005-10-23 Thread The Doctor
On Sun, Oct 23, 2005 at 09:57:30AM -0400, JamesDR wrote: defang_mime - just remove it report_header - use add_header use_terse_report - again, use add_header detailed_phrase_score - not sure spam_level_stars - use add_header pyzor_add_header - not sure -- Thanks, JamesDR Got you,

Re: Lint issues

2005-10-23 Thread Robert Menschel
Hello The, Sunday, October 23, 2005, 5:54:05 AM, you wrote: TD I am using rules du Jour and now I am getting TD ... The basic local.cf errors have already been answered. TD [2136] warn: config: warning: score set for non-existent rule FUZZY_GUARANTEE TD ... The FUZZY_xxx rules are new with SA

Re: Lint issues

2005-10-23 Thread Raymond Dijkxhoorn
Hi! TD [2136] warn: config: warning: score set for non-existent rule FUZZY_GUARANTEE TD ... The FUZZY_xxx rules are new with SA 3.1.0 -- it looks like you've somehow managed to include the scores file for these rules, but not the primary rules file. Your installation seems to be incomplete.

Re: Lint issues

2005-10-23 Thread Theo Van Dinter
On Sun, Oct 23, 2005 at 10:16:33PM +0200, Raymond Dijkxhoorn wrote: On one of my systems i had the saem, and this was solved by enabling the right modules in de init.pre. Hrm. Can you open up a bugzilla ticket about this? The FUZZY_* rule scores are supposed to be wrapped in ifplugin checks,

Re: Lint issues

2005-10-23 Thread The Doctor
On Sun, Oct 23, 2005 at 01:09:25PM -0700, Robert Menschel wrote: Hello The, Sunday, October 23, 2005, 5:54:05 AM, you wrote: TD I am using rules du Jour and now I am getting TD ... The basic local.cf errors have already been answered. TD [2136] warn: config: warning: score set for

lint: issues detected - where?

2005-04-07 Thread Dermot Paikkos
hi, SA 3.0.0 with exim-acl I ran spamassassin -D --lint after making a change to the local.cf and noticed the following: debug: tests=ALL_TRUSTED,BAYES_40,MISSING_HEADERS,MISSING_SUBJECT,NO_REAL_NAM E debug: subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__SANE_MSGID,__

Re: lint: issues detected - where?

2005-04-07 Thread a . peacock
Hi, I think your problems lie here: SNIP warning: description exists for non-existent rule ANTI_BAYES_SPAMCOP_00 warning: description exists for non-existent rule ANTI_BAYES_SPAMCOP_40 warning: description exists for non-existent rule ANTI_BAYES_SPAMCOP_05 warning: description exists for

Re: lint: issues detected - where?

2005-04-07 Thread Dermot Paikkos
Excellent - big typo in my meta rule. I had spelt BAYES as BAYNES. Thanx Anthony. Dp. On 7 Apr 2005 at 13:39, [EMAIL PROTECTED] wrote: Hi, I think your problems lie here: SNIP warning: description exists for non-existent rule ANTI_BAYES_SPAMCOP_00 warning: description exists for