--- Gary V <[EMAIL PROTECTED]> wrote:

> Peter wrote:
> 
> > I ran 'sa-update' as root and the directory
> > /var/amavisd/var/spamassassin/3.001004/updates_spamassassin_org was
> > created and populated with rules.  Yet before that I had
> > /var/amavisd/usr/local/share/spamassassin containing my rules.  How
> do
> > I get SA to look in the right place?
> 
> If running 2.4.2, and SA 3.1.4, add LOCAL_STATE_DIR => '/var/lib',
> here:
> 
> #   LOCAL_RULES_DIR   => '/etc/mail/spamassassin',
>     LOCAL_STATE_DIR   => '/var/lib',
> #see man Mail::SpamAssassin for other options
> 
> stop amavisd and run amavisd debug-sa, see if it now reads the rules
> from the new directory.

I erased the effects of my first sa-update run and specified the
existing rules directory as an option:

sa-update --nogpg --updatedir /var/amavisd/usr/local/share/spamassassin

'amavisd debug-sa' picks up the rules.  I set the above command to run
as cronjob once a week.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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/

Reply via email to