[OT]Re: sa-update and sa-compile

René Berber r.berber at computer.org
Tue Jun 12 22:58:22 IST 2007


Holger Nöfer wrote:

> how do you use sa-update and sa-compile?
> 
> If I use sa-update it puts the rules to
> /var/lib/spamassassin/3.002000. If I use
> sa-compile it compiles the rules to
> /var/lib/spamassassin/compiled.
> 
> Does sa-compile use the rules in /var/lib/spamassassin/3.002000
> or in /usr/local/share/spamassassin?

All it can find, including the SARE rules in /etc/mail/spamassassin.

> If I test spamassassin with
> spamassassin -D --lint -p /etc/mail/spamassassin/mailscanner.cf
> it seems that spamassassin uses the files under
> /var/lib/spamassassin/3.002000 and /var/lib/spamassassin/compiled.
> Is that right?

Yep.

> If yes, do you delete /var/lib/spamassassin/3.002000 to only use
> the /var/lib/spamassassin/compiled files?

Interesting...

> Without /var/lib/spamassassin/3.002000 files spamassassin is much
> faster.

Did you remember to configure SA to use compiled rules before you did this test?
(i.e. in v320.pre, option Rule2XSBody)

Why don't you ask the SA list?
-- 
René Berber



More information about the MailScanner mailing list