Julian Field MailScanner at
Sat Apr 19 19:24:23 IST 2008

Kevin Miller wrote:
> I installed Jule's sa/clamav all-in-one package which installed the
> spamassassin ruleset into /usr/share/spamassassin.  After
> /etc/cron.daily/update_spamassassin ran, the rules were also found in
> /var/lib/spamassassin/3.002004.  Maybe I'm just having a senior moment
> here, but I can't find anywhere that tells spamassassin which ruleset to
> use.  How does it know?
It knows where to look, it's hardwired in the code. It will look in 
/var/lib/spamassassin/<version> before it looks in 
/etc/mail/spamassassin or /usr/share/spamassassin.
> Do I need to keep the /usr/share/spamassassin rules around?
Theoretically not, but I wouldn't advise deleting them.
> (BTW, I added sare and KAM rulesets to the update routine and they
> worked a treat, landing in the /var/lib tree.)
Good, glad they helped.


Julian Field MEng CITP CEng
Buy the MailScanner book at

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key:

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list