Hi, I have been running Sendmail/MIMEDefang/SpamAssassin (with MySQL for bayes and TxRep) for several years and want to update all to current versions. To that end I did a fresh install of FreeBSD 10.3-RELEASE amd64 and installed current packages when possible of all software. That resulted in: Perl 5.20 MIMEDefang 2.78 SpamAssassin 3.41 MySQL 5.6 (5.7 resulted in a conflict with p5-DBD-mysql) MIME-tools 5.507 (from cpan) p5-DBI 1.634 p5-DBD-mysql 4.033
However, when mimedefang starts it is unable to load MySQL and generates this error: May 1 01:00:08 mail-sys mimedefang-multiplexor[97185]: u41607H2097975: Slave 0 stderr: plugin: eval failed: install_driver(mysql) failed: Can't locate loadable object for module DBD::mysql in @INC (@INC contains: /var/db/spamassassin/compiled/5.020/3.004001 /var/db/spamassassin/compiled/5.020/3.004001/auto /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/site_perl/mach/5.20 /usr/local/lib/perl5/5.20/mach /usr/local/lib/perl5/5.20 /usr/local/lib/perl5/site_perl/5.20 /usr/local/lib/perl5/site_perl/5.20/mach .) at (eval 1186) line 3. May 1 03:01:32 mail-sys mimedefang-multiplexor[97185]: u4181Ut4099447: Slave 1 stderr: plugin: eval failed: install_driver(mysql) failed: Can't locate loadable object for module DBD::mysql in @INC (@INC contains: /var/db/spamassassin/compiled/5.020/3.004001 /var/db/spamassassin/compiled/5.020/3.004001/auto /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/site_perl/mach/5.20 /usr/local/lib/perl5/5.20/mach /usr/local/lib/perl5/5.20 /usr/local/lib/perl5/site_perl/5.20 /usr/local/lib/perl5/site_perl/5.20/mach .) at (eval 1186) line 3. The MySQL perl modules seem to be installed correctly. A find returns: /usr/local/lib/perl5/site_perl/mach/5.20/Bundle/DBD/mysql.pm /usr/local/lib/perl5/site_perl/mach/5.20/DBD/mysql.pm The perl structure changed from the operating system (perl 5.16) to the new system (perl 5.20), but the permissions all match those of the current system. Messages are processed and delivered properly except for skipping bayes and TxReo tests so the spam scores are incorrect. I get the following error output from the mimedefang slave during processing: plugin: eval failed: install_driver(mysql) failed: Attempt to reload DBD/mysql.pm aborted. Compilation failed in require at (eval 1453) line 3. at /usr/local/lib/perl5/site_perl/Mail/SpamAssassin/BayesStore/MySQL.pm line 653. rules: failed to run TXREP test, skipping: plugin: eval failed: bayes: (in learn) install_driver(mysql) failed: Attempt to reload DBD/mysql.pm aborted. Compilation failed in require at (eval 1454) line 3. at /usr/local/lib/perl5/site_perl/Mail/SpamAssassin/BayesStore/MySQL.pm line 653. Did I miss something or has someone else had this problem? Or can someone tell me how to find what to do? TIA, JJ _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

