You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@issues.apache.org on 2011/02/16 11:22:07 UTC

[Bug 6543] New: Numerous 'score set for non-existent rule' in the currently published rules.

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6543

           Summary: Numerous 'score set for non-existent rule' in the
                    currently published rules.
           Product: Spamassassin
           Version: 3.3.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Rules
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: steve@stevefreegard.com


On a fresh installation I'm seeing 19 of these after running an sa-update:

for i in `spamassassin -D --lint 2>&1 | grep 'score set for non-existent' |
grep -Po '\S+$'`; do grep -R "score $i " /var/lib/spamassassin/3.003001/; done
/var/lib/spamassassin/3.003001/updates_spamassassin_org/50_scores.cf:score
SANE_7429530a7398f43f1f1b795f9420714e 3.999 1.655 2.776 1.479
/var/lib/spamassassin/3.003001/updates_spamassassin_org/50_scores.cf:score
SANE_91eb43f705d25c804374a746d7519660 3.099 2.803 2.746 1.572
/var/lib/spamassassin/3.003001/updates_spamassassin_org/50_scores.cf:score
SANE_04e8bf28eb445199a7f11b943c44d209 1.712 3.185 2.654 1.337
/var/lib/spamassassin/3.003001/updates_spamassassin_org/50_scores.cf:score
DKIMDOMAIN_IN_DWL_UNKNOWN  0 -0.01 0 -0.01
/var/lib/spamassassin/3.003001/updates_spamassassin_org/50_scores.cf:score
SANE_d0d2b0f6373bf91253d66dd74c594b87 3.799 2.040 2.710 1.494
/var/lib/spamassassin/3.003001/updates_spamassassin_org/50_scores.cf:score
ADVANCE_FEE_3 2.686 1.898 3.505 3.817
/var/lib/spamassassin/3.003001/updates_spamassassin_org/50_scores.cf:score
SANE_3b92eda751c992f230f215fb7eb36844 0.001 0.626 0.585 3.040
/var/lib/spamassassin/3.003001/updates_spamassassin_org/50_scores.cf:score
SANE_4ef8302546bf270a19baf98508afacc4 2.231 3.464 2.266 3.543
/var/lib/spamassassin/3.003001/updates_spamassassin_org/50_scores.cf:score
SANE_2b173a7fb7518c75ac8a2d294d773fd8 2.976 1.117 1.951 0.942
/var/lib/spamassassin/3.003001/updates_spamassassin_org/50_scores.cf:score
SHORTCIRCUIT 0 # n=0 n=1 n=2
/var/lib/spamassassin/3.003001/updates_spamassassin_org/50_scores.cf:score
SUBJ_RE_NUM 0 # n=0 n=1 n=2 n=3
/var/lib/spamassassin/3.003001/updates_spamassassin_org/50_scores.cf:score
FM_VIAGRA_SPAM1114 0 # n=0 n=1 n=2 n=3
/var/lib/spamassassin/3.003001/updates_spamassassin_org/50_scores.cf:score
SANE_1c4f3286fa4aed6424ced88bfaf8b09c 3.199 2.040 3.199 1.502
/var/lib/spamassassin/3.003001/updates_spamassassin_org/50_scores.cf:score
ADVANCE_FEE_2 2.314 2.294 1.198 1.053
/var/lib/spamassassin/3.003001/updates_spamassassin_org/50_scores.cf:score
AXB_HELO_LH_HOME 3.406 2.059 3.458 3.619
/var/lib/spamassassin/3.003001/updates_spamassassin_org/50_scores.cf:score
DKIMDOMAIN_IN_DWL 0 -3.5 0 -3.5
/var/lib/spamassassin/3.003001/updates_spamassassin_org/73_sandbox_manual_scores.cf:score
HK_FAKENAME_MICROSOFT    2.50
/var/lib/spamassassin/3.003001/updates_spamassassin_org/50_scores.cf:score
ACCESSDB 0 # n=0 n=1 n=2
/var/lib/spamassassin/3.003001/updates_spamassassin_org/50_scores.cf:score
ADVANCE_FEE_4 0.001 0.001 0.001 0.271

I'm going to correct these by either removing the offending entries; or by
wrapping them in the correct ifplugin (e.g. ACCESSDB, SHORTCIRCUIT and
DKIMDOMAIN_* rules).

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6543] Numerous 'score set for non-existent rule' in the currently published rules.

Posted by bu...@issues.apache.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6543

Steve Freegard <st...@stevefreegard.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |steve@stevefreegard.com
          Component|Rules                       |sa-update
           Severity|normal                      |major

--- Comment #1 from Steve Freegard <st...@stevefreegard.com> 2011-02-16 05:33:54 EST ---
(In reply to comment #0)
> On a fresh installation I'm seeing 19 of these after running an sa-update:
> 
> I'm going to correct these by either removing the offending entries; or by
> wrapping them in the correct ifplugin (e.g. ACCESSDB, SHORTCIRCUIT and
> DKIMDOMAIN_* rules).

Ok - I should have checked first but trunk is correct; these rules are not
present in 50_scores.cf and the others are correctly wrapped within the right
ifplugin.

So it looks like the sa-updates are borked - anyone have any ideas??

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6543] Numerous 'score set for non-existent rule' in the currently published rules.

Posted by bu...@issues.apache.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6543

--- Comment #6 from AXB <ax...@gmail.com> 2011-02-16 11:20:47 EST ---
(In reply to comment #5)
> (In reply to comment #4)
> > in 50_scores_cf
> > 
> > #score ADVANCE_FEE_2 2.314 2.294 1.198 1.053
> > #score ADVANCE_FEE_3 2.686 1.898 3.505 3.817
> > #score ADVANCE_FEE_4 0.001 0.001 0.001 0.271
> > 
> > 
> > yet
> > 
> > 10_force_active.cf
> > 
> > publish ADVANCE_FEE_2
> > publish ADVANCE_FEE_3
> > publish ADVANCE_FEE_4
> 
> Mea Culpa, I didn't check 10_force_active.cf when disabling the older
> ADVANCE_FEE_# rules.
> 
> You are welcome to fix it or I will do so shortly.

Removed.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6543] Numerous 'score set for non-existent rule' in the currently published rules.

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6543

--- Comment #8 from AXB <ax...@gmail.com> 2011-11-01 22:58:52 UTC ---
(In reply to comment #7)
> After the most recent update, still seeing a few of these.  Alex and Theo, can
> you take a look just to try and clean these up?  Very low priority IMO but
> might point to a broken rule...
> 

> Nov  1 18:46:32.538 [22759] dbg: config: warning: score set for non-existent
> rule AXB_XMID_1212
> Nov  1 18:46:32.538 [22759] dbg: config: warning: score set for non-existent
> rule AXB_XM_SENDMAIL_NOT
> Nov  1 18:46:32.539 [22759] dbg: config: warning: score set for non-existent
> rule AXB_XMID_1510
> rule AXB_XR_STULDAP
> Nov  1 18:46:32.540 [22759] dbg: config: warning: score set for non-existent
> rule AXB_XMID_OEGOESNULL

these rules have been deprecated ages ago but for some reason scores are
orphaned.
Will remove asap

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6543] Numerous 'score set for non-existent rule' in the currently published rules.

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6543

Kevin A. McGrail <km...@pccc.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |felicity@apache.org,
                   |                            |kmcgrail@pccc.com

--- Comment #7 from Kevin A. McGrail <km...@pccc.com> 2011-11-01 22:52:21 UTC ---
After the most recent update, still seeing a few of these.  Alex and Theo, can
you take a look just to try and clean these up?  Very low priority IMO but
might point to a broken rule...

Nov  1 18:46:32.538 [22759] dbg: config: warning: score set for non-existent
rule AXB_XMID_1212
Nov  1 18:46:32.538 [22759] dbg: config: warning: score set for non-existent
rule AXB_XM_SENDMAIL_NOT
Nov  1 18:46:32.539 [22759] dbg: config: warning: score set for non-existent
rule TVD_PH_SUBJ_URGENT
Nov  1 18:46:32.539 [22759] dbg: config: warning: score set for non-existent
rule TVD_PH_SUBJ_ACCOUNTS_POST
Nov  1 18:46:32.539 [22759] dbg: config: warning: score set for non-existent
rule AXB_XMID_1510
Nov  1 18:46:32.539 [22759] dbg: config: warning: score set for non-existent
rule TVD_PH_SUBJ_SEC_MEASURES
Nov  1 18:46:32.540 [22759] dbg: config: warning: score set for non-existent
rule AXB_XR_STULDAP
Nov  1 18:46:32.540 [22759] dbg: config: warning: score set for non-existent
rule AXB_XMID_OEGOESNULL

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6543] Numerous 'score set for non-existent rule' in the currently published rules.

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6543

Kevin A. McGrail <km...@pccc.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #10 from Kevin A. McGrail <km...@pccc.com> 2011-11-01 23:27:51 UTC ---
(In reply to comment #9)
> (In reply to comment #7)
> > After the most recent update, still seeing a few of these.  Alex and Theo, can
> > you take a look just to try and clean these up?  Very low priority IMO but
> > might point to a broken rule...
> > 
> 
> > rule TVD_PH_SUBJ_URGENT
> > Nov  1 18:46:32.539 [22759] dbg: config: warning: score set for non-existent
> > rule TVD_PH_SUBJ_ACCOUNTS_POST
> > Nov  1 18:46:32.539 [22759] dbg: config: warning: score set for non-existent
> > rule TVD_PH_SUBJ_SEC_MEASURES
> 
> this seems to be stuff from pre autopromotion days
> 
> seems KAM modified Theo's /sandbox/felicity/70_phishing.cf 
> 
> "# 2011-07-01 Changed by KAM -
> https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6579"
> #Changed to Sub Rules"
> 
> but TVD_PH_SUBJ_META1 meta rule is not using the __* rules above it
> 
> KAM: pls check


I thought I fixed that in July when you emailed me about it.  Appears I never
committed :-(

svn commit -m 'fixing __s missing on meta rule  bug 6543'
Sending        rulesrc/sandbox/felicity/70_phishing.cf
Transmitting file data .
Committed revision 1196393.

Closing as resolved.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6543] Numerous 'score set for non-existent rule' in the currently published rules.

Posted by bu...@issues.apache.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6543

--- Comment #4 from AXB <ax...@gmail.com> 2011-02-16 05:45:11 EST ---
in 50_scores_cf

#score ADVANCE_FEE_2 2.314 2.294 1.198 1.053
#score ADVANCE_FEE_3 2.686 1.898 3.505 3.817
#score ADVANCE_FEE_4 0.001 0.001 0.001 0.271


yet

10_force_active.cf

publish ADVANCE_FEE_2
publish ADVANCE_FEE_3
publish ADVANCE_FEE_4

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6543] Numerous 'score set for non-existent rule' in the currently published rules.

Posted by bu...@issues.apache.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6543

AXB <ax...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |axb.lists@gmail.com

--- Comment #2 from AXB <ax...@gmail.com> 2011-02-16 05:37:08 EST ---
removed from 10_force_active.cf (rulesrc)

publish SANE_04e8bf28eb445199a7f11b943c44d209
publish SANE_1c4f3286fa4aed6424ced88bfaf8b09c
publish SANE_2b173a7fb7518c75ac8a2d294d773fd8
publish SANE_3b92eda751c992f230f215fb7eb36844
publish SANE_4ef8302546bf270a19baf98508afacc4
publish SANE_7429530a7398f43f1f1b795f9420714e
publish SANE_91eb43f705d25c804374a746d7519660
publish SANE_d0d2b0f6373bf91253d66dd74c594b87

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6543] Numerous 'score set for non-existent rule' in the currently published rules.

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6543

--- Comment #9 from AXB <ax...@gmail.com> 2011-11-01 23:06:37 UTC ---
(In reply to comment #7)
> After the most recent update, still seeing a few of these.  Alex and Theo, can
> you take a look just to try and clean these up?  Very low priority IMO but
> might point to a broken rule...
> 

> rule TVD_PH_SUBJ_URGENT
> Nov  1 18:46:32.539 [22759] dbg: config: warning: score set for non-existent
> rule TVD_PH_SUBJ_ACCOUNTS_POST
> Nov  1 18:46:32.539 [22759] dbg: config: warning: score set for non-existent
> rule TVD_PH_SUBJ_SEC_MEASURES

this seems to be stuff from pre autopromotion days

seems KAM modified Theo's /sandbox/felicity/70_phishing.cf 

"# 2011-07-01 Changed by KAM -
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6579"
#Changed to Sub Rules"

but TVD_PH_SUBJ_META1 meta rule is not using the __* rules above it

KAM: pls check

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6543] Numerous 'score set for non-existent rule' in the currently published rules.

Posted by bu...@issues.apache.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6543

--- Comment #3 from AXB <ax...@gmail.com> 2011-02-16 05:37:52 EST ---
(In reply to comment #2)
> removed from 10_force_active.cf (rulesrc)
> 
> publish SANE_04e8bf28eb445199a7f11b943c44d209
> publish SANE_1c4f3286fa4aed6424ced88bfaf8b09c
> publish SANE_2b173a7fb7518c75ac8a2d294d773fd8
> publish SANE_3b92eda751c992f230f215fb7eb36844
> publish SANE_4ef8302546bf270a19baf98508afacc4
> publish SANE_7429530a7398f43f1f1b795f9420714e
> publish SANE_91eb43f705d25c804374a746d7519660
> publish SANE_d0d2b0f6373bf91253d66dd74c594b87

revision: 1071196

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6543] Numerous 'score set for non-existent rule' in the currently published rules.

Posted by bu...@issues.apache.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6543

John Hardin <jh...@impsec.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jhardin@impsec.org

--- Comment #5 from John Hardin <jh...@impsec.org> 2011-02-16 11:16:06 EST ---
(In reply to comment #4)
> in 50_scores_cf
> 
> #score ADVANCE_FEE_2 2.314 2.294 1.198 1.053
> #score ADVANCE_FEE_3 2.686 1.898 3.505 3.817
> #score ADVANCE_FEE_4 0.001 0.001 0.001 0.271
> 
> 
> yet
> 
> 10_force_active.cf
> 
> publish ADVANCE_FEE_2
> publish ADVANCE_FEE_3
> publish ADVANCE_FEE_4

Mea Culpa, I didn't check 10_force_active.cf when disabling the older
ADVANCE_FEE_# rules.

You are welcome to fix it or I will do so shortly.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.