From: "Eric Persson" <[EMAIL PROTECTED]>

Bret Miller wrote:
It looks to me like SA isn't finding the /share/spamassassin folder
where all the rules and scores are defined.

That was actually the case, I started spamd with -C /etc/mail/spamassassin/ -q -d -m5 -x -u spamd

But the default rules, *.cf files where located in /usr/share/spamassassin/

So, I solved this by doing ln -s /usr/share/spamassassin/* /etc/mail/spamassassin/ and it started to work.

Is this considered a bad idea? Or is there any better soloution?

Copy the /usr/share/spamassassin directory to your -C directory.
Do not use -C /etc/mail/spamassassin. That upsets the whole ballgame.
(IMAO -C was arguably done wrong. I suspect two options were needed,
one to redirect /etc/mail/spamassassin and the other to redirect
the default rules in /usr/share/spamassassin.)

Simply making the link leaves you with no "local.cf" or "init.pre".

{^_^}

Reply via email to