Peter, > 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?
That is a SA question, amavisd-new lets SA use its default directories for all (LOCAL_STATE_DIR, PREFIX, DEF_RULES_DIR, LOCAL_RULES_DIR). It is normal that all *.cf files in LOCAL_RULES_DIR are read by SA (/usr/local/etc/mail/spamassassin or /etc/mail/spamassassin), and it is normal that baseline rules are not in that directory. SA doesn't care what configuration does rules_du_jour.sh use. It is your duty to make rdj and SA work on the same/appropriate directories. (or maybe I do not undestrand your question) Mark ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/