On Thu, 21 Sep 2006, Mark Martinec wrote: > Vincent, > >>> sa-update can be used with SA 3.1.5 without a need for a change in >>> amavisd-new. Versions before SA 3.1.5 required a one line change >>> in amavisd (or the use of the latest amavisd-new 2.4.3-rc*) >>> to be able to access rules as prepared by a sa-update utility. > >> Hi Mark, May I ask what is the one line change? I ran amavisd debug-sa, >> it is like what you mentioned > > LOCAL_STATE_DIR => '/var/lib', > > Option needs to be added in a call to Mail::SpamAssassin->new, > otherwise the spamassassin directory created by sa-update in /var/lib > would never be seen by SA, so only rules in /usr/local/share/spamassassin > would be used. > > This omission of providing an adequate default for LOCAL_STATE_DIR > was fixed with SA 3.1.5. If amavisd 2.4.2 or older is used > with SA 3.1.4 or older (and using sa-update is desired), the > LOCAL_STATE_DIR=>'/var/lib' line must be inserted in amavisd's > call to Mail::SpamAssassin->new.
Thank you for the information, Otherwise I still blindly use sa-update to update rules and never know they are not accessed. . Vincent > >> From Jim Knuth: >> sa-update has nothing to do with amavisd-new ;) > > Almost, but not quite. > > 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/