yum update on CentOS 5.2 broke MailScanner + many other perl programs

Gregg Lain gregg at mochabomb.com
Mon Jul 7 18:08:09 IST 2008


After 2 days of a half-broken mail config (where decoupled MailScanner 
from Postfix) thought I'd share what got it working again:

1. Decoupled MailScanner from Postfix - comment out header_checks in 
main.cf - now Postfix worked w/o scanning but received emails - since I 
process less than 500/day and most spam is handled at the MTA level, was 
not a signif difference..

2. Edit vi /usr/lib/perl5/site_perl/5.8.8/Errno.pm and change line to 
match my install from perl -V | grep osvers
"$Config{'archname'}-$Config{'osvers'}" eq
#"x86_64-linux-thread-multi-2.6.9-42.0.3.elsmp" or
"x86_64-linux-thread-multi-2.6.18-53.el5" or
         die "Errno architecture 
(x86_64-linux-thread-multi-2.6.9-42.0.3.elsmp) does not match executable 
architecture ($Config{'archname'}-$Config{'osvers'})";

3. From cpan:
force install Scalar::Util
install OLE::Storage_Lite
force install Test::Harness
install IO

4. Restart MailScanner - it was ok, so then undo the Postfix changes and 
back in business..


More information about the MailScanner mailing list