postfix module cannot initialise correctly :

#amavis
            <snipped>
mail|debug
        AMAVIS::MTA::Postfix initialized.
binmode() on unopened filehandle GEN2 at 
/usr/lib/perl5/vendor_perl/5.8.0/File/MMagic.pm line 354.

in # diff /usr/lib/perl5/vendor_perl/5.8.0/File/MMagic.pm
binmode($fh) is called before the file handle is opened.


# rpm -qf /usr/lib/perl5/vendor_perl/5.8.0/File/MMagic.pm
perl-File-MMagic-1.15-2mdk

here is the patch
# diff /usr/lib/perl5/vendor_perl/5.8.0/File/MMagic.pm.org 
/usr/lib/perl5/vendor_perl/5.8.0/File/MMagic.pm
354d353
<         binmode($fh);
355a355
>               binmode($fh);

please review and apply to perl-File-MMagic-1.15-2mdk


-- 
Pascal
Mayyy thhee souuurcee beee with yaaa, Geeekk !

Reply via email to