On Sun, Apr 25, 2021 at 01:28:31PM -0400, Steve Dondley wrote: > > > mass-check -c parameter expects to find every config file in that single > > directory. Now it's missing spamassassin updates and specifically > > 20_aux_tlds.cf from there. You could copy it to /etc/spamassassin > > temporarily, but I'd rather make a completely separate directory that > > should > > include only the relevant *.pre and *.cf files you need for the scan. > > OK, thanks. So I created a directory: /root/spam_rules > > I copied over every .cf and .pre file from /etc/spamassassin into that dir > as well as every .cf and .pre file inside /var/lib/spamassassin/3.004004
Don't blindly copy all .cf files from /etc/spamassassin, there's no point using AWL or bayes etc from that config. > I ran mass-check with "-c=~/root/spam_rules" and now get a ton of these > errors: > > > config: configuration file "/root/spam_rules/20_advance_fee.cf" requires > version 3.004004 of SpamAssassin, but this is code version 3.004006. Maybe > you need to use the -C switch, or remove the old config files? Skipping this > file at > /root/spamassassin-3.4/masses/../lib/Mail/SpamAssassin/Conf/Parser.pm line > 414. svn checkout http://svn.apache.org/repos/asf/spamassassin/trunk spamassassin-trunk Use the rules-directory found in spamassassin-trunk/rules, instead of sa-update directory.