On 26.10.2006 16:15, * Dylan Bouterse wrote:
> -----Original Message-----
> From: Matt Kettler [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 26, 2006 9:58 AM
> To: Dylan Bouterse
> Cc: users@spamassassin.apache.org
> Subject: Re: spamassassin --lint fails with rules in local.cf
> 
> Dylan Bouterse wrote:
> 
>>
> 
>> ------------------------------------------------------------------------
> 
>>
> 
>> *From:* Chris Santerre [mailto:[EMAIL PROTECTED]
> 
>> *Sent:* Thursday, October 26, 2006 9:31 AM
> 
>> *To:* Dylan Bouterse; users@spamassassin.apache.org
> 
>> *Subject:* RE: spamassassin --lint fails with rules in local.cf
> 
>>
> 
>> > -----Original Message-----
> 
>> > From: Dylan Bouterse [mailto:[EMAIL PROTECTED]
> 
>> > Sent: Thursday, October 26, 2006 8:35 AM
> 
>> > To: users@spamassassin.apache.org
> 
>> > Subject: spamassassin --lint fails with rules in local.cf
> 
>> >
> 
>> >
> 
>> > I have added some rules in my local.cf file (for adding
> 
>> > scores for some
> 
>> > SARE rules) but when I run spamassassin -lint (or when I run
> 
>> > rules_du_jour which does the same) it says the rules in my
> 
>> > local.cf file
> 
>> > are non-existent, but spamassassin ultimately runs fine. What
> 
>> > am I doing
> 
>> > wrong?
> 
>>
> 
>> A copy of your added lines to your local.cf sure would help us help
> 
>> you. Otherwise I can't use telepathy anymore. Not since that
> 
>> "incident" at the zoo. Things got a bit... messy.
> 
>>
> 
>> --Chris
> 
>>
> 
>> 
> 
>>
> 
>> Below are my uncommented entries in the local.cf file. The only error
> 
>> comes from the additional SARE lines at the bottom.
> 
>>
> 
> What rules is it complaining about? LOCAL_RCVD?
> 
> Or is it complaining about DCC, SPF, and Razor? If it's those three,
> 
> edit your init.pre and v310.pre to load the optional modules that
> 
> support these features. Without the modules, the whole feature set,
> 
> including its rules, does not exist.
> 
> Or is it complaining about the SARE ones? If so, are you sure those
> 
> rules didn't disappear from the SARE ruleset in question? Those guys
> 
> move, rename, add and delete rules faster than you think.
> 
> *It's just the 4 SARE rules.** They do exist in the SARE .cf files.**
> See below:***
> 
> [EMAIL PROTECTED] spamassassin]# pwd
> 
> /usr/share/spamassassin
> 
> [EMAIL PROTECTED] spamassassin]# grep SARE_GIF_ATTACH *
> 
> 70_sare_stocks.cf:full     SARE_GIF_ATTACH  
> /name=\"?[0-9a-z._\-]{3,18}\.gif\"?/i
> 
> 70_sare_stocks.cf:describe SARE_GIF_ATTACH   Email has a inline gif
> 
> 70_sare_stocks.cf:score    SARE_GIF_ATTACH   0.75
> 
> [EMAIL PROTECTED] spamassassin]# grep SARE_GIF_STOX *
> 
> 70_sare_stocks.cf:describe SARE_GIF_STOX     Inline Gif with little HTML
> 
> 70_sare_stocks.cf:score    SARE_GIF_STOX     1.66
> 
> [EMAIL PROTECTED] spamassassin]# grep SARE_SPEC_XXGEOCITIES2 *
> 
> 70_sare_specific.cf:meta      SARE_SPEC_XXGEOCITIES2  
> !__SARE_SPEC_XXGEOCITIE &&  __SARE_SPEC_XX2GEOCIT
> 
> 70_sare_specific.cf:describe  SARE_SPEC_XXGEOCITIES2   spamsign pointing
> to free webhost spam site
> 
> 70_sare_specific.cf:score     SARE_SPEC_XXGEOCITIES2   1.666
> 
> [EMAIL PROTECTED] spamassassin]# grep SARE_SPEC_XXGEOCITIES3 *
> 
> 70_sare_specific.cf:meta      SARE_SPEC_XXGEOCITIES3  
> __SARE_SPEC_XXGEOCITIE  &&  __SARE_SPEC_XX2GEOCIT
> 
> 70_sare_specific.cf:describe  SARE_SPEC_XXGEOCITIES3   spamsign pointing
> to free webhost spam site
> 
> 70_sare_specific.cf:score     SARE_SPEC_XXGEOCITIES3   1.666
> 
> *My guess is that the lint check is reading the local.cf file before the
> additional SARE rule sets.** My --list reads:*
> 
> [16109] dbg: config: using "/etc/mail/spamassassin" for site rules pre files
> 
> [16109] dbg: config: read file /etc/mail/spamassassin/init.pre
> 
> [16109] dbg: config: read file /etc/mail/spamassassin/v310.pre
> 
> [16109] dbg: config: read file /etc/mail/spamassassin/v312.pre
> 
> [16109] dbg: config: using "/var/lib/spamassassin/3.001003" for sys
> rules pre files
> 
> [16109] dbg: config: using "/var/lib/spamassassin/3.001003" for default
> rules dir
> 
> [16109] dbg: config: read file
> /var/lib/spamassassin/3.001003/updates_spamassassin_org.cf
> 
> [16109] dbg: config: using "/etc/mail/spamassassin" for site rules dir
> 
> [16109] dbg: config: read file /etc/mail/spamassassin/local.cf
> 
> *And the SARE ruleset configs come after that. My SARE rulesets are in
> /usr/share/spamassassin. Should I put my local.cf file there as well or
> am I** going down** the wrong path?***
> 

Hey Dylan
I have the same problem that you describe, even without any third-party
rules or plug-ins.

I just set Score 0 for some RBL checks which my SMTP would reject anyway
so there is no need to check them again in SA.

So since I did this, i cant'r run SA-UPDATE successfully anymore, it
gives the same errors as you describe.

But SpammAssassin is working fine as before, and it does not check those
RBL anymore, as I told him.

This doesn't help you for your solution, but maybe some people take us a
little bit more serious here if i confirm it.

Greetings.

Alain

Reply via email to