On Fri, Sep 14, 2007 at 03:54:28PM -0400, Jason Bertoch wrote:
> 
> sa-compile appears to examine rules downloaded via sa-update, including custom
> channels like dostech.  However, it does not appear to pick up custom rules, 
> or
> anything else, from files in /etc/mail/spamassassin.  Is this a bug or a
> feature?

I know for a fact that it picks up my custom rules, as sa-compile couldn't
parse a couple of them correctly. :)

Try running this:

sa-compile -D --list 2>&1 | grep "rules dir"

You should see:

[17010] dbg: config: using "/var/lib/spamassassin/3.002003" for default
rules dir
[17010] dbg: config: using "/etc/mail/spamassassin" for site rules dir


You can also pick a custom body rule that you made and grep that:

sa-compile -D --list 2>&1 | grep TEST

And get results like:

orig TEST_0001 /test000001010101/i
r test000001010101:TEST_0001

-- 
Gus

Reply via email to