Peter Matulis wrote: > I am running amavisd 2.44 chrooted on OpenBSD 4.0. I am running > rules_du_jour.sh and even though I specify my SA_DIR (inside > /etc/rulesdujour/config) as /var/amavisd/etc/mail/spamassassin I keep > getting errors because I have score modifications for non-existent > rules inside /etc/mail/spamassassin/local.cf. When I comment them out > the errors do not appear. Why is it reading that file?
The SA_DIR in your config only affects where RDJ places the new rules. When it attempts to lint the rules, it will run "spamassassin --lint", which uses the default rules directories. You will need to add a line to you RDJ config to specify the correct lint settings to use your custom rules directory. SA_LINT="spamassassin --lint --siteconfigpath=/var/amavisd/etc/mail/spamassassin" -- Bowie
