Theo,

Well, I took the allow_user_rules line out. Some of my rules are:

#custom rules
body CSTM_INFINEX_VEN /infinex/
describe CSTM_INFINEX_VEN Message mentions Infinex Ventures
score CSTM_INFINEX_VEN 2.0

body CSTM_FONT_SIZE_EQLS_2 /<td><font size\=2>/
describe CSTM_FONT_SIZE_EQLS_2 Message contains html for small fonts
score CSTM_FONT_SIZE_EQLS_2 .1

header CSTM_SBJCT_MARKEDSPAM Subject =~ /\bSPAM:\b/i
describe CSTM_SBJCT_MARKEDSPAM Message has the word SPAM in subject
score CSTM_SBJCT_MARKEDSPAM 3.0

body CSTM_ORGASM /orgasm/
describe CSTM_ORGASM Message contains the word orgasm
score CSTM_ORGASM 2.0

When I grep my rejectlog for mentions of CSTM, nothing comes up. But I'm
still getting spam with these attributes. Thanks for your help.

- Chase

-----Original Message-----
From: Theo Van Dinter [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 29, 2006 5:05 PM
To: spamassassin
Subject: Re: SpamAssassin local rules not executing


On Thu, Jun 29, 2006 at 04:54:13PM -0400, Chase James wrote:
> The first site rules file loaded is init.pre, the last file loaded,
though,
> is:
>
> debug: using "/etc/spamassassin" for site rules dir
> debug: config: read file /etc/spamassassin/local.cf
>
> But it seems like its being read. Should I put the rules in init.pre? I
> enabled allow_user_rules and restarted spamd, but that doesn't seem to
have
> worked...

Well, it's not clear what you're trying to do.  allow_user_rules lets users
have rules in their ~/.spamassassin/user_prefs file.  If you're not using
that, don't turn the function on!

*.pre files are mainly for loading plugins which needs to occur before any
rule processing.  Don't put rules in there.

Can you define "doesn't seem to have worked"?  If the file is read,
and --lint
shows no errors, your rules are being used.  Whether or not the match the
input message is a different question...

--
Randomly Generated Tagline:
"A Young Eel is called this."            - Jeopardy Question
 "What is a baby eel Alex."                - Theo's Response

Reply via email to