I use amavisd-new 2.6.5 and SpamAssassin 3.2.2 (on ubuntu 12.04). I just ran for the first time the sa-update command. I see that there is new files in /var/lib/spamassassin/3.003002/updates_spamassassin_org/ . And a local.cf in this directory. But I already have a local.cf in the /etc/spamassassin/ .
Which configuration is loaded?
Edit : I found this in /usr/sbin/spamd :
my $DEF_RULES_DIR = '/usr/share/spamassassin';
my $LOCAL_RULES_DIR = '/etc/spamassassin';
my $LOCAL_STATE_DIR = '/var/lib/spamassassin';
Old rules are in /usr/share/spamassassin and new rules in /var/lib/spamassassin . And in these 3 directories, there is a local.cf file. Which rules are applied?