You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Vincent <te...@brc.ubc.ca> on 2005/01/25 19:23:46 UTC
How to let SpamAssassin read local custom rules
Hi all,
This question might have been asked many times, I googled, no answer found
yet. I am running Mac OS X/Amavisd-new/SpamAssassin3.0. SpamAssassin is
called by Amavisd-new. my amavisd.conf :
# SpamAssassin settings
$sa_local_tests_only = 1; # (default: false)
$sa_timeout = 30;
$sa_mail_body_size_limit = 150*1024;
$sa_tag_level_deflt = 3.0;
$sa_tag2_level_deflt = 6.3;
$sa_kill_level_deflt = $sa_tag2_level_deflt;
$sa_dsn_cutoff_level = 10;
the general rules location is under /share/spamassassin, I am confused why
not under /usr/share/spamassassin? I have /etc/mail/spamassassin,
/var/amavis/.spamassassin folder too. I put a lot of local custom rules
*.cf under /etc/mail/spamassassin, my local.cf is empty. it seems that
SpamAssassin is not reading the local custom rules. should I uncomment
LOCAL_RULES_DIR => '/etc/mail/spamassassin' in amavisd? or else?
Thanks in advance
Re: How to let SpamAssassin read local custom rules
Posted by Vincent <te...@brc.ubc.ca>.
Hi Rainer,
You mean I should always start amavisd service with debug-sa options?
Thanks
Vincent
> On Tue, Jan 25, 2005 at 07:45:08PM +0100, Rainer Sokoll wrote:
>
>> spamassassin -D is your friend.
>
> Sorry, have to correct myself:
> amavisd debug-sa, in this particular case.
>
> Rainer
>
>
Re: How to let SpamAssassin read local custom rules
Posted by Rainer Sokoll <R....@intershop.de>.
On Tue, Jan 25, 2005 at 07:45:08PM +0100, Rainer Sokoll wrote:
> spamassassin -D is your friend.
Sorry, have to correct myself:
amavisd debug-sa, in this particular case.
Rainer
Re: How to let SpamAssassin read local custom rules
Posted by Rainer Sokoll <R....@intershop.de>.
On Tue, Jan 25, 2005 at 10:23:46AM -0800, Vincent wrote:
[amavisd-new and SA]
> not under /usr/share/spamassassin? I have /etc/mail/spamassassin,
> /var/amavis/.spamassassin folder too. I put a lot of local custom rules
> *.cf under /etc/mail/spamassassin, my local.cf is empty. it seems that
> SpamAssassin is not reading the local custom rules.
I had the same problem, and
> should I uncomment
> LOCAL_RULES_DIR => '/etc/mail/spamassassin' in amavisd?
solved it.
spamassassin -D is your friend.
Rainer