Dylan Bouterse wrote:
>
>
> **
>
> [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?*
>
You're using the wrong path. Move your SARE rules to
/etc/mail/spamassassin/ where they belong.

The SARE rulesets must be parsed BEFORE your local.cf.

Also, are you sure the ones in /usr/share/spamassassin are even being
parsed? According to the above, your system is using
"/var/lib/spamassassin/3.001003" instead of /usr/share/spamassassin.

That said, in general, don't monkey with anything but the "site rules
dir". Any other rule directories, such as the "default rules dir", are
for SA's own rules, and the SA installer feels perfectly free to rm -f *
on those directories.



Reply via email to