Hornford Associates

Hornford Associates > Resources > How-to Library > Operational Notes

January 2008 - Postfix & Amavis Failure

After an upgrade of Amavis and supporting Perl RPMs two errors appeared in the PostFix logs and all mail stopped

"FAILED: Can't locate object method "seek" via package "File::Temp" at /usr/lib/perl5/vendor_perl/5.8.5/MIME/Parser.pm line"
"FAILED: Can't locate object method "binmode" via package "IO::File" at /usr/lib/perl5/vendor_perl/5.8.5/MIME/Body.pm line"

Re-installation of the PERL-File-Temp rpm did not fix the problem. It appears there is an upstream bug in Dag's packages.

The fix is to install the Perl packages directly from CPAN. This is not a recommended options as it raises the administration burden managing the packages directly from cpan.
In a shell enter:

perl -MCPAN -e shell;
cpan> install File::Temp
cpan> install IO::File

Then stop and start amavis
Source of fix:

www.jumpingbean.co.za/blogs/mark/postfix-amavisd-centos-lost-connection-with
groups.google.com/group/mailing.unix.amavis-user/browse_thread/thread/072d02875f4c08ba/5de6e3283072b377

Home
Website Change
Enterprise Architecture
Project Management
Strategy
Business Continuity
Support Services
Resources
Library
How-to Library
Articles
Local Flying
New

Locations of visitors to this page