sa-learn --force-expire errors

Dave Filchak submit at zuka.net
Thu Jun 19 06:55:46 IST 2008


Hello all,

I am trying to tune my MailScanner install on my backup mail server. I 
updates my MailScanner stuff, my clamav and my spamassassin. I then set 
my expire settings for bayes to 0 in both my MailScanner.conf file, as 
well as my spam.assassin.conf file. I installed a crontab to run the 
following:

15 3 * * * (/sbin/service MailScanner stop; /usr/bin/sa-learn 
--force-expire;/sbin/service MailScanner start) 2>&1  (Thanks to Denis 
Beauchemin)

I get the following errors when this runs. I assume it might be looking 
at the wrong config file. Don't see how though. Any ideas anyone?



config: configuration file 
"/etc/mail/spamassassin/updates_spamassassin_org/20_advance_fee.cf" 
requires version 3.002001 of SpamAssassin, but this is code version 
3.002005. Maybe you need to use the -C switch, or remove the old config 
files? Skipping this file at 
/usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 372.
config: configuration file 
"/etc/mail/spamassassin/updates_spamassassin_org/20_body_tests.cf" 
requires version 3.002001 of SpamAssassin, but this is code version 
3.002005. Maybe you need to use the -C switch, or remove the old config 
files? Skipping this file at 
/usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 372.
config: configuration file 
"/etc/mail/spamassassin/updates_spamassassin_org/20_compensate.cf" 
requires version 3.002001 of SpamAssassin, but this is code version 
3.002005. Maybe you need to use the -C switch, or remove the old config 
files? Skipping this file at 
/usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 372.
config: configuration file 
"/etc/mail/spamassassin/updates_spamassassin_org/20_dnsbl_tests.cf" 
requires version 3.002001 of SpamAssassin, but this is code version 
3.002005. Maybe you need to use the -C switch, or remove the old config 
files? Skipping this file at 
/usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 372.
<snip>

more of the same here.


Dave



More information about the MailScanner mailing list