sa-learn --force-expire errors

Scott Silva ssilva at sgvwater.com
Sat Jun 21 18:32:43 IST 2008


on 6-18-2008 10:55 PM Dave Filchak spake the following:
> 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
> 
What did you set up to get those files in 
/etc/mail/spamassassin/updates_spamassassin_org ?
AFAIR as I recall that is not a standard location.


-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20080621/2269ee30/signature.bin


More information about the MailScanner mailing list