You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Cecil Westerhof <Ce...@decebal.nl> on 2010/04/04 18:35:02 UTC

non-existing rule with sa-update

When running sa-update with -D I see when there are updates the folowing lines:
    Apr  4 18:26:15.954 [12630] dbg: config: warning: score set for non-existent rule SHORTCIRCUIT
    Apr  4 18:26:15.957 [12630] dbg: config: warning: score set for non-existent rule SUBJ_RE_NUM
    Apr  4 18:26:15.958 [12630] dbg: config: warning: score set for non-existent rule FM_VIAGRA_SPAM1114
    Apr  4 18:26:15.964 [12630] dbg: config: warning: score set for non-existent rule AXB_HELO_LH_HOME
    Apr  4 18:26:15.968 [12630] dbg: config: warning: score set for non-existent rule ACCESSDB

What is happening here?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Re: non-existing rule with sa-update

Posted by Cecil Westerhof <Ce...@decebal.nl>.
Matt Kettler <mk...@verizon.net> writes:

> On 4/4/2010 12:35 PM, Cecil Westerhof wrote:
>> When running sa-update with -D I see when there are updates the folowing lines:
>>     Apr  4 18:26:15.954 [12630] dbg: config: warning: score set for non-existent rule SHORTCIRCUIT
>>     Apr  4 18:26:15.957 [12630] dbg: config: warning: score set for non-existent rule SUBJ_RE_NUM
>>     Apr  4 18:26:15.958 [12630] dbg: config: warning: score set for non-existent rule FM_VIAGRA_SPAM1114
>>     Apr  4 18:26:15.964 [12630] dbg: config: warning: score set for non-existent rule AXB_HELO_LH_HOME
>>     Apr  4 18:26:15.968 [12630] dbg: config: warning: score set for non-existent rule ACCESSDB
>>
>> What is happening here?
>>
>>   
> At a quick glance, it looks like you might have some score over-rides in
> your local.cf or user_prefs for rules that no longer exist (i.e.: they
> were deleted by the update).

There is no folder ~/spamassassin and
    ll /etc/mail/spamassassin/
gives
    total 28K
    -rw-r--r--  1 root root  933 Apr  7 09:41 init.pre
    -rw-r--r--  1 root root  165 Aug 12  2005 local.cf
    drwx------  2 root root 4.0K Apr  6 21:06 sa-update-keys
    -rw-r--r--  1 root root 2.6K Jan  5 22:37 v310.pre
    -rw-r--r--  1 root root 1.2K Jan  5 22:37 v312.pre
    -rw-r--r--  1 root root 2.4K Jan  5 22:37 v320.pre
    -rw-r--r--  1 root root 1.3K Mar 31 19:44 v330.pre

init.pre contains:
    loadplugin Mail::SpamAssassin::Plugin::RelayCountry
    loadplugin Mail::SpamAssassin::Plugin::URIDNSBL
    loadplugin Mail::SpamAssassin::Plugin::Hashcash
    loadplugin Mail::SpamAssassin::Plugin::SPF

The first one was commented out, but I added it.

local.cf contains:
    lock_method flock

and v33.pre contains:
    loadplugin Mail::SpamAssassin::Plugin::FreeMail

In /var/lib/spamassassin/3.003001/updates_spamassassin_org/50_scores.cf
on line 236 it says:
     score FM_VIAGRA_SPAM1114 0 # n=0 n=1 n=2 n=3

But this is a file from SpamAssassin itself.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Re: non-existing rule with sa-update

Posted by Matt Kettler <mk...@verizon.net>.
On 4/4/2010 12:35 PM, Cecil Westerhof wrote:
> When running sa-update with -D I see when there are updates the folowing lines:
>     Apr  4 18:26:15.954 [12630] dbg: config: warning: score set for non-existent rule SHORTCIRCUIT
>     Apr  4 18:26:15.957 [12630] dbg: config: warning: score set for non-existent rule SUBJ_RE_NUM
>     Apr  4 18:26:15.958 [12630] dbg: config: warning: score set for non-existent rule FM_VIAGRA_SPAM1114
>     Apr  4 18:26:15.964 [12630] dbg: config: warning: score set for non-existent rule AXB_HELO_LH_HOME
>     Apr  4 18:26:15.968 [12630] dbg: config: warning: score set for non-existent rule ACCESSDB
>
> What is happening here?
>
>   
At a quick glance, it looks like you might have some score over-rides in
your local.cf or user_prefs for rules that no longer exist (i.e.: they
were deleted by the update).