You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jonas <jo...@vrt.dk> on 2010/12/27 15:37:06 UTC

Issue with rules in 3.3.1

Hi list

 

I just upgraded my old 3.2.5 installation to the newer 3.3.1.

 

Everything have gone more or less painfree, except sa-update/rules.

 

After running sa-update and sa-update -D --gpgkey 6C6191E3 --channel sought.rules.yerp.org

 

My /var/lib/spamassassin/3.003001/ is populated with rules.

 

However if I run: scanner3:/etc/spamassassin# spamassassin -D --lint 2>&1 | grep warn

 

I get:

Dec 27 15:32:52.116 [12274] dbg: config: warning: score set for non-existent rule SANE_7429530a7398f43f1f1b795f9420714e

Dec 27 15:32:52.116 [12274] dbg: config: warning: score set for non-existent rule SANE_91eb43f705d25c804374a746d7519660

Dec 27 15:32:52.116 [12274] dbg: config: warning: score set for non-existent rule SANE_04e8bf28eb445199a7f11b943c44d209

Dec 27 15:32:52.117 [12274] dbg: config: warning: score set for non-existent rule DKIMDOMAIN_IN_DWL_UNKNOWN

Dec 27 15:32:52.117 [12274] dbg: config: warning: score set for non-existent rule SANE_d0d2b0f6373bf91253d66dd74c594b87

Dec 27 15:32:52.117 [12274] dbg: config: warning: score set for non-existent rule ADVANCE_FEE_3

Dec 27 15:32:52.117 [12274] dbg: config: warning: score set for non-existent rule SANE_3b92eda751c992f230f215fb7eb36844

Dec 27 15:32:52.117 [12274] dbg: config: warning: score set for non-existent rule SANE_4ef8302546bf270a19baf98508afacc4

Dec 27 15:32:52.118 [12274] dbg: config: warning: score set for non-existent rule SANE_2b173a7fb7518c75ac8a2d294d773fd8

Dec 27 15:32:52.118 [12274] dbg: config: warning: score set for non-existent rule SHORTCIRCUIT

Dec 27 15:32:52.118 [12274] dbg: config: warning: score set for non-existent rule SUBJ_RE_NUM

Dec 27 15:32:52.118 [12274] dbg: config: warning: score set for non-existent rule FM_VIAGRA_SPAM1114

Dec 27 15:32:52.118 [12274] dbg: config: warning: score set for non-existent rule SANE_1c4f3286fa4aed6424ced88bfaf8b09c

Dec 27 15:32:52.119 [12274] dbg: config: warning: score set for non-existent rule ADVANCE_FEE_2

Dec 27 15:32:52.119 [12274] dbg: config: warning: score set for non-existent rule AXB_HELO_LH_HOME

Dec 27 15:32:52.119 [12274] dbg: config: warning: score set for non-existent rule DKIMDOMAIN_IN_DWL

Dec 27 15:32:52.119 [12274] dbg: config: warning: score set for non-existent rule HK_FAKENAME_MICROSOFT

Dec 27 15:32:52.119 [12274] dbg: config: warning: score set for non-existent rule ACCESSDB

Dec 27 15:32:52.120 [12274] dbg: config: warning: score set for non-existent rule ADVANCE_FEE_4

 

As far as I can tell all these come from the official sa-update channel. I've tried deleting everything from  /var/lib/spamassassin/3.003001 and run update afterwards, but the warnings continues.

 

I looked into detail regarding ADVANCE_FEE_2 since I actually had a custom score for that which was set in a file in /etc/mail/spamassassin

 

I looks like jhardin disabled the old rules at some point early 2010, and made some newer ones with _NEW appended, but the file 50_scores.cf (downloaded from updates.spamassassin.org) still refer to the old, now disabled rules.

 

Since I guess everyone would be having these issues if I had indeed debugged the issue correctly, I'm more inclined to think that it's some error on my part somehow, but I'm lost as to what might be wrong.

 

Do anybody have any idea what the issue might be?

 

 

Med venlig hilsen / Best regards

 

Jonas Akrouh Larsen

 

TechBiz ApS

Laplandsgade 4, 2. sal

2300 København S

 

Office: 7020 0979

Direct: 3336 9974

Mobile: 5120 1096

Fax:    7020 0978

Web: www.techbiz.dk <http://www.techbiz.dk> 


RE: Issue with rules in 3.3.1

Posted by Jonas <jo...@vrt.dk>.
> > I'm just trying to figure out how big a problem this is :)
> 
> It's not a problem for you a an end user, just warnings. Please disregard.
> 
> > Naturally I would like to have an error and warning free lint :)
> 
> Some of the scores for rules above should have been wrapped with
> ifplugin/endif, such as both the DKIMDOMAIN_IN_DWL* rules, the
> SHORTCIRCUIT, and ACCESSDB.
> I'll see about these. For jhardin's rules he gave the explanation :)  For SANE I'm
> not sure, but should be harmless.
> 

Thanks mark and john for clearing it up, i was basically just wondering if it was a problem or not, and mark just cleared that up.

Thanks for your time.


Med venlig hilsen / Best regards
 
Jonas Akrouh Larsen
 
TechBiz ApS
Laplandsgade 4, 2. sal
2300 København S
 
Office: 7020 0979
Direct: 3336 9974
Mobile: 5120 1096
Fax:    7020 0978
Web: www.techbiz.dk




Re: Issue with rules in 3.3.1

Posted by Mark Martinec <Ma...@ijs.si>.
Jonas,

> config: warning: score set for non-existent rule SANE_7429530a7398f43f1f1b795f9420714e
> config: warning: score set for non-existent rule SANE_91eb43f705d25c804374a746d7519660
> config: warning: score set for non-existent rule SANE_04e8bf28eb445199a7f11b943c44d209
> config: warning: score set for non-existent rule DKIMDOMAIN_IN_DWL_UNKNOWN
> config: warning: score set for non-existent rule SANE_d0d2b0f6373bf91253d66dd74c594b87
> config: warning: score set for non-existent rule ADVANCE_FEE_3
> config: warning: score set for non-existent rule SANE_3b92eda751c992f230f215fb7eb36844
> config: warning: score set for non-existent rule SANE_4ef8302546bf270a19baf98508afacc4
> config: warning: score set for non-existent rule SANE_2b173a7fb7518c75ac8a2d294d773fd8
> config: warning: score set for non-existent rule SHORTCIRCUIT
> config: warning: score set for non-existent rule SUBJ_RE_NUM
> config: warning: score set for non-existent rule FM_VIAGRA_SPAM1114
> config: warning: score set for non-existent rule SANE_1c4f3286fa4aed6424ced88bfaf8b09c
> config: warning: score set for non-existent rule ADVANCE_FEE_2
> config: warning: score set for non-existent rule AXB_HELO_LH_HOME
> config: warning: score set for non-existent rule DKIMDOMAIN_IN_DWL
> config: warning: score set for non-existent rule HK_FAKENAME_MICROSOFT
> config: warning: score set for non-existent rule ACCESSDB
> config: warning: score set for non-existent rule ADVANCE_FEE_4

> I'm just trying to figure out how big a problem this is :)

It's not a problem for you a an end user, just warnings. Please disregard.

> Naturally I would like to have an error and warning free lint :)

Some of the scores for rules above should have been wrapped with ifplugin/endif,
such as both the DKIMDOMAIN_IN_DWL* rules, the SHORTCIRCUIT, and ACCESSDB.
I'll see about these. For jhardin's rules he gave the explanation :)  For SANE I'm
not sure, but should be harmless.

  Mark

Re: Issue with rules in 3.3.1

Posted by Mark Martinec <Ma...@ijs.si>.
> Alright thanks for clearing that up, do you think the other warnings
> about missing rules is also just sloppiness?

The DKIMDOMAIN_IN_DWL*, ACCESSDB and SHORTCIRCUIT are fixed
now, and SUBJ_RE_NUM removed:

  https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6499
  trunk (and 3.3, assuming rules are still common):
    Bug 6499 and mailing list: wrapped scores for rules DKIMDOMAIN_IN_DWL*,
    ACCESSDB and SHORTCIRCUIT into a suitable ifplugin/endif to avoid
    lint warnings; removed score for nonexistent rule SUBJ_RE_NUM.
  Sending rules/50_scores.cf
  Committed revision 1053352.

The SANE_ rules apparently disappeared with 3.3.1 (but may still be
in 3.3.0), so I didn't dare to just remove their scores yet. Maybe we should.

  Mark

RE: Issue with rules in 3.3.1

Posted by John Hardin <jh...@impsec.org>.
On Tue, 28 Dec 2010, Jonas wrote:

>> From: John Hardin [mailto:jhardin@impsec.org]
>>
>> On Mon, 27 Dec 2010, Jonas wrote:
>>
>>> I looks like jhardin disabled the old rules at some point early 2010,
>>> and made some newer ones with _NEW appended, but the file 50_scores.cf
>>> (downloaded from updates.spamassassin.org) still refer to the old, now
>>> disabled rules.
>>
>> That's just sloppiness on my part.
>
> Alright thanks for clearing that up, do you think the other warnings about missing rules is also just sloppiness?

I didn't look very closely at the part that didn't have my name on it... 
:)

-- 
  John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
  jhardin@impsec.org    FALaholic #11174     pgpk -a jhardin@impsec.org
  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
   A sword is never a killer, it is but a tool in the killer's hands.
                           -- Lucius Annaeus Seneca (Martial) 4BC-65AD
-----------------------------------------------------------------------
  11 days since a sunspot last seen - EPA blames CO2 emissions

RE: Issue with rules in 3.3.1

Posted by Jonas <jo...@vrt.dk>.
> -----Original Message-----
> From: John Hardin [mailto:jhardin@impsec.org]
> Sent: 27. december 2010 20:43
> To: users@spamassassin.apache.org
> Subject: Re: Issue with rules in 3.3.1
> 
> On Mon, 27 Dec 2010, Jonas wrote:
> 
> > I looks like jhardin disabled the old rules at some point early 2010,
> > and made some newer ones with _NEW appended, but the file 50_scores.cf
> > (downloaded from updates.spamassassin.org) still refer to the old, now
> > disabled rules.
> 
> That's just sloppiness on my part.
> 
Alright thanks for clearing that up, do you think the other warnings about missing rules is also just sloppiness?

I'm just trying to figure out how big a problem this is :)

Naturally I would like to have an error and warning free lint :)


Med venlig hilsen / Best regards
 
Jonas Akrouh Larsen
 
TechBiz ApS
Laplandsgade 4, 2. sal
2300 København S
 
Office: 7020 0979
Direct: 3336 9974
Mobile: 5120 1096
Fax:    7020 0978
Web: www.techbiz.dk



Re: Issue with rules in 3.3.1

Posted by John Hardin <jh...@impsec.org>.
On Mon, 27 Dec 2010, Jonas wrote:

> I looks like jhardin disabled the old rules at some point early 2010, 
> and made some newer ones with _NEW appended, but the file 50_scores.cf 
> (downloaded from updates.spamassassin.org) still refer to the old, now 
> disabled rules.

That's just sloppiness on my part.

-- 
  John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
  jhardin@impsec.org    FALaholic #11174     pgpk -a jhardin@impsec.org
  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
   The problem is when people look at Yahoo, slashdot, or groklaw and
   jump from obvious and correct observations like "Oh my God, this
   place is teeming with utter morons" to incorrect conclusions like
   "there's nothing of value here".        -- Al Petrofsky, in Y! SCOX
-----------------------------------------------------------------------
  10 days since a sunspot last seen - EPA blames CO2 emissions