Jason Frisvold wrote:
> On 11/29/06, Steven Stern <[EMAIL PROTECTED]> wrote:
> > after sa-update runs, restart spamassassin and it will use the new
> > rules in /var/lib/spamassassin. 
> > 
> > I have this as a cron job:
> > 
> > 30 3 * * *  sa-update && spamassassin --lint &&
> > /etc/init.d/spamassassin restart
> 
> Oh?  I thought you needed to specify within the local.cf file to use
> those updated rules?  Am I mistaken?  Will it automatically use the
> "correct" rules from /var/lib/spamassassin?  (correct meaning that if
> I update to the next version, will it use the latest rules and not get
> confused with possible rules left lying around?)

SA knows about the directories used by sa-update and will automatically use
the correct rules.

To be more specific, it checks /var/lib/spamassassin first.  If it finds
rules there, it uses them.  Otherwise, it goes to /usr/share/spamassassin.

-- 
Bowie

Reply via email to