Mark wrote: > Theo,
>> > to change Mail::SpamAssassin to provide a suitable default >> > for LOCAL_STATE_DIR. Please consider this a feature request. >> >> http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4952 :) > Appreciated! >> > # sa-update --updatedir /usr/local/share/spamassassin >> >> Warning: This will break your installation -- there are files in >> def_rules_dir that aren't in the updates, and sa-update will be >> happy to delete all of the files in the directory for you. >> local_state_dir and def_rules_dir are not interchangeable. > Ouch, thanks. Sorry for spreading false suggestions. > Mark Observation and questions: I though the rules provided with sa-update were additions to existing rules, but I guess I have not paid much attention. Is it true then that the rules downloaded through sa-update are a complete rule set in themselves? If so, Stuart Johnston's suggestion of adding LOCAL_STATE_DIR => '/var/lib', (I added this below: # LOCAL_RULES_DIR => '/etc/mail/spamassassin',) does direct SpamAssassin to use the sa-update rules there. It no longer will use rules in the DEF_RULES_DIR. If sa-update (with no --updatedir override) has never been run, the rules in the DEF_RULES_DIR are loaded. If 'sa-update --updatedir /usr/share/spamassassin' (this is where Debian puts the default rules) has been run, it appears the default rules are loaded, then the newer rules in the updates_spamassassin_org subdirectory located there are loaded also (on top of them?). Gary V ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
