https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7230
--- Comment #1 from Mark Martinec <[email protected]> --- (In reply to anfi from comment #0) > Mail::Spamassassin::Message::new(...) fails to process IO::File input. > > It fails with the following message: > Can't locate object method "FILENO" via package "IO::Lines" at > /usr/share/perl5/Mail/SpamAssassin/Message.pm line 160 > > 159 elsif (ref($message) eq 'GLOB' || ref($message) =~ /^IO::/) { > 160 if (defined fileno $message) { Try: --- lib/Mail/SpamAssassin/Message.pm (revision 1693581) +++ lib/Mail/SpamAssassin/Message.pm (working copy) @@ -159,3 +159,3 @@ elsif (ref($message) eq 'GLOB' || ref($message) =~ /^IO::/) { - if (defined fileno $message) { + if (!$message->UNIVERSAL::can("fileno") || defined fileno $message) { What interface module to SpamAssassin are you using? Is it a MIMEDefang ? -- You are receiving this mail because: You are the assignee for the bug.
