Description of problem: After the last upgrade of spamassasssin to version 3.4.5, all runs of its tools such as sa-learn, result in a lot of warnings related to the version change Version-Release number of selected component (if applicable): spamassassin-3.4.5-1.fc33.x86_64 How reproducible: Steps to Reproduce: 1. Install or upgrade spamassassin: dnf install spamassassin 2. Run something like sa-learn, eg: sa-learn --spam /home/user/Maildir/.Junk/cur Actual results: Long lists of warnings: config: configuration file "/usr/share/spamassassin/20_advance_fee.cf" requires version 3.004004 of SpamAssassin, but this is code version 3.004005. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm line 408. config: configuration file "/usr/share/spamassassin/20_body_tests.cf" requires version 3.004004 of SpamAssassin, but this is code version 3.004005. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm line 408. config: configuration file "/usr/share/spamassassin/20_compensate.cf" requires version 3.004004 of SpamAssassin, but this is code version 3.004005. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm line 408. config: configuration file "/usr/share/spamassassin/20_dnsbl_tests.cf" requires version 3.004004 of SpamAssassin, but this is code version 3.004005. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm line 408. config: configuration file "/usr/share/spamassassin/20_drugs.cf" requires version 3.004004 of SpamAssassin, but this is code version 3.004005. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm line 408. config: configuration file "/usr/share/spamassassin/20_dynrdns.cf" requires version 3.004004 of SpamAssassin, but this is code version 3.004005. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm line 408. config: configuration file "/usr/share/spamassassin/20_fake_helo_tests.cf" requires version 3.004004 of SpamAssassin, but this is code version 3.004005. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm line 408. config: configuration file "/usr/share/spamassassin/20_head_tests.cf" requires version 3.004004 of SpamAssassin, but this is code version 3.004005. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm line 408. config: configuration file "/usr/share/spamassassin/20_html_tests.cf" requires version 3.004004 of SpamAssassin, but this is code version 3.004005. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm line 408. config: configuration file "/usr/share/spamassassin/20_meta_tests.cf" requires version 3.004004 of SpamAssassin, but this is code version 3.004005. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm line 408. config: configuration file "/usr/share/spamassassin/20_net_tests.cf" requires version 3.004004 of SpamAssassin, but this is code version 3.004005. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm line 408. config: configuration file "/usr/share/spamassassin/20_phrases.cf" requires version 3.004004 of SpamAssassin, but this is code version 3.004005. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm line 408. config: configuration file "/usr/share/spamassassin/20_porn.cf" requires version 3.004004 of SpamAssassin, but this is code version 3.004005. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm line 408. config: configuration file "/usr/share/spamassassin/20_uri_tests.cf" requires version 3.004004 of SpamAssassin, but this is code version 3.004005. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm line 408. config: configuration file "/usr/share/spamassassin/23_bayes.cf" requires version 3.004004 of SpamAssassin, but this is code version 3.004005. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm line 408. config: configuration file "/usr/share/spamassassin/72_active.cf" requires version 3.004004 of SpamAssassin, but this is code version 3.004005. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm line 408. config: configuration file "/usr/share/spamassassin/73_sandbox_manual_scores.cf" requires version 3.004004 of SpamAssassin, but this is code version 3.004005. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm line 408. And, since they are skipped, a lot of anti-spam measures are no longer in place, so it seems. Expected results: No warnings, and working spam protection Additional info: All of the files listed in the warnings seem to belong to the newly installed spamassassin rpm (3.4.5); however, inside the files, there is the line: require_version 3.004004 so this looks like an error in packaging. By the way, startiung the spamsassassin service seems to work without warnings, but I am unsure if the configuration files are being used in that case
Please check if the bug has been reported prior reporting new one *** This bug has been marked as a duplicate of bug 1946175 ***