sa-learn --force-expire errors

Dave Filchak submit at zuka.net
Fri Jun 20 22:41:16 IST 2008


Denis Beauchemin wrote:
> <div class="moz-text-flowed" style="font-family: -moz-fixed">Dave 
> Filchak a écrit :
>> I am trying ti tune up my backup MX and so, have updated MailScanner, 
>> updated ClamAV as well as SpamAssassin. I have also tweaked the 
>> expire bayes.toks process by turning this off in both 
>> MailScanner.conf and spam.assassin.conf and added the following to 
>> root crontab:
>>
>> 15 3 * * * (/sbin/service MailScanner stop; /usr/bin/sa-learn 
>> --force-expire;/sbin/service MailScanner start) 2>&1
>>
>> However, when this runs, I get the following errors, which I am 
>> guessing is due to my last upgrade. Can someone give me some 
>> direction here?
>>
>> Dave
>>
>> 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.
>>
>>
>> and many more after this.
>>
>> My config::
>>
>> his is MailScanner version 4.70.6
>> Module versions are:
>> 1.00    AnyDBM_File
>> 1.20    Archive::Zip
>> 0.22    bignum
>> 1.03    Carp
>> 1.41    Compress::Zlib
>> 1.119     Convert::BinHex
>> 0.17    Convert::TNEF
>> 2.121    Data::Dumper
>> 2.27    Date::Parse
>> 1.00    DirHandle
>> 1.05    Fcntl
>> 2.73    File::Basename
>> 2.08    File::Copy
>> 2.01    FileHandle
>> 1.06    File::Path
>> 0.19    File::Temp
>> 0.90    Filesys::Df
>> 1.35    HTML::Entities
>> 3.56    HTML::Parser
>> 2.37    HTML::TokeParser
>> 1.23    IO
>> 1.14    IO::File
>> 1.13    IO::Pipe
>> 2.02    Mail::Header
>> 1.87    Math::BigInt
>> 0.20    Math::BigRat
>> 3.05    MIME::Base64
>> 5.425    MIME::Decoder
>> 5.425    MIME::Decoder::UU
>> 5.425    MIME::Head
>> 5.425    MIME::Parser
>> 3.03    MIME::QuotedPrint
>> 5.425    MIME::Tools
>> 0.11    Net::CIDR
>> 1.25    Net::IP
>> 0.16    OLE::Storage_Lite
>> 1.04    Pod::Escapes
>> 3.05    Pod::Simple
>> 1.08    POSIX
>> 1.19    Scalar::Util
>> 1.77    Socket
>> 2.13    Storable
>> 1.4    Sys::Hostname::Long
>> 0.18    Sys::Syslog
>> 1.26    Test::Pod
>> 0.7    Test::Simple
>> 1.9707    Time::HiRes
>> 1.02    Time::localtime
>>
>> Optional module versions are:
>> 1.32    Archive::Tar
>> 0.22    bignum
>> 1.82    Business::ISBN
>> 1.10    Business::ISBN::Data
>> 1.08    Data::Dump
>> 1.814    DB_File
>> 1.13    DBD::SQLite
>> 1.58    DBI
>> 1.15    Digest
>> 1.01    Digest::HMAC
>> 2.36    Digest::MD5
>> 2.11    Digest::SHA1
>> 1.00    Encode::Detect
>> 0.17008    Error
>> 0.19    ExtUtils::CBuilder
>> 2.18    ExtUtils::ParseXS
>> 2.36    Getopt::Long
>> 0.44    Inline
>> 1.08    IO::String
>> 1.04    IO::Zlib
>> 2.21    IP::Country
>> 0.22    Mail::ClamAV
>> 3.002005    Mail::SpamAssassin
>> v2.004    Mail::SPF
>> 1.999001    Mail::SPF::Query
>> 0.2808    Module::Build
>> 0.20    Net::CIDR::Lite
>> 0.63    Net::DNS
>> 0.002.2    Net::DNS::Resolver::Programmable
>> missing    Net::LDAP
>> 4.004    NetAddr::IP
>> 1.94    Parse::RecDescent
>> missing    SAVI
>> 2.64    Test::Harness
>> 0.95    Test::Manifest
>> 1.95    Text::Balanced
>> 1.35    URI
>> 0.7203    version
>> 0.65    YAML
>>
> Dave,
>
> You seem to have a mismatch in your SA files...  What does 
> "/usr/bin/sa-learn -V" return?  How about "/usr/bin/spamassassin --lint"?
>
> Denis
>
Hi Denis,

Output of sa-learn -V

SpamAssassin version 3.2.5

Output of spamassassin --lint gives me basically the same as above:

[30434] warn: 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.
[30434] warn: 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
[30434] warn: 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.
[30434] warn: 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
[30434] warn: 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.
[30434] warn: 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

<snip ... about 10 more issues listed but saving space here ;-)

Dave


More information about the MailScanner mailing list