Ramprasad wrote: > I have been using SA for more than 3 years now and I have a dumb > question > > I am using SA 3.1.5 on Centos > > AFAIK By default Spamassassin reads from /usr/share/spamassassin > and /etc/mail/spamassassin > > But If I have /var/lib/spamassassin with some files in it SA is > apparently ignoring /usr/share/spamassassin/*.cf > > Is this so by design or have I misconfigured something > > SA by default checks several directories and uses the first one it finds. Which exact ones it uses depends a bit on the options provided at configure time. Check your "default_rules_path" in SpamAssassin.pm to be sure.
The pre-configure list looks like this: @default_rules_path = ( './rules', # REMOVEFORINST '../rules', # REMOVEFORINST '__local_state_dir__/__version__', '__def_rules_dir__', '__prefix__/share/spamassassin', '/usr/local/share/spamassassin', '/usr/share/spamassassin', ); With the two "REMOVEFORINST" lines getting ripped out when you do "make install", and the __local_state_dir__, __def_rules_dir__, etc getting populated when you do the "perl Makefile.PL" bit.