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

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. config: configuration file "/root/spam_rules/20_body_tests.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. config: configuration file "/root/spam_rules/20_compensate.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. config: configuration file "/root/spam_rules/20_dnsbl_tests.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.
<snip>

spamassassin -V reports: "SpamAssassin version 3.4.4"

I imagine I have to checkout an older 3.4.4 point version from SVN and use the mass-check command from that. It's been ages since I've used SVN.

How can I get to the older version via SVN?

Reply via email to