Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[AMaViS-user] Mime decode failed - can't find object seek

48 views
Skip to first unread message

Bill Measday

unread,
Nov 19, 2007, 2:56:44 AM11/19/07
to
After a number of issues I had with my previous install (problems I'd
attributed to installing some perl modules from CPAN - may or may not
have been the case), I undertook a clean install of CentOS 5, Postfix,
Amavisd-new, clamav, etc.

Initially I tried the installation of the 64 bit version, but reverted
to 32 bit when I thought my problem may improve. It didn't. I have
also tried the same setup afresh on a virtual machine under CentOS 5 on
another box. Same problem.

The error I get is (generated by Amavisd):

Nov 19 17:33:22 virtual1 postfix/smtp[7470]: B9CB5AED0B:
to=<tes...@example.com>, relay=localhost[127.0.0.1]:10024, delay=0.09,
delays=0.02/0.01/0.01/0.05, dsn=4.5.0, status=deferred (host
localhost[127.0.0.1] said: 451 4.5.0 Error in processing, id=07464-01,
mime_decode-1 FAILED: Can't locate object method "seek" via package
"File::Temp" at /usr/lib/perl5/vendor_perl/5.8.8/MIME/Parser.pm line
816, <GEN5> line 33. (in reply to end of DATA command))

I have searched the net as extensively as I can, but cannot see anything
directly related. As far as I can tell, all my permissions, etc are
correct. I installed Amavis and related dependencies using Dag Wieers
repository. Amavis was running fine until a week or so ago
(unfortunately I can't revert).

Has anyone seen anything like this?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaVi...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Bill Landry

unread,
Nov 19, 2007, 3:26:40 AM11/19/07
to
Bill Measday wrote the following on 11/18/2007 11:56 PM -0800:
> After a number of issues I had with my previous install (problems I'd
> attributed to installing some perl modules from CPAN - may or may not
> have been the case), I undertook a clean install of CentOS 5, Postfix,
> Amavisd-new, clamav, etc.
>
> Initially I tried the installation of the 64 bit version, but reverted
> to 32 bit when I thought my problem may improve. It didn't. I have
> also tried the same setup afresh on a virtual machine under CentOS 5 on
> another box. Same problem.
>
> The error I get is (generated by Amavisd):
>
> Nov 19 17:33:22 virtual1 postfix/smtp[7470]: B9CB5AED0B:
> to=<tes...@example.com>, relay=localhost[127.0.0.1]:10024, delay=0.09,
> delays=0.02/0.01/0.01/0.05, dsn=4.5.0, status=deferred (host
> localhost[127.0.0.1] said: 451 4.5.0 Error in processing, id=07464-01,
> mime_decode-1 FAILED: Can't locate object method "seek" via package
> "File::Temp" at /usr/lib/perl5/vendor_perl/5.8.8/MIME/Parser.pm line
> 816, <GEN5> line 33. (in reply to end of DATA command))
>
> I have searched the net as extensively as I can, but cannot see anything
> directly related. As far as I can tell, all my permissions, etc are
> correct. I installed Amavis and related dependencies using Dag Wieers
> repository. Amavis was running fine until a week or so ago
> (unfortunately I can't revert).
>
> Has anyone seen anything like this?
>

Looks to me like you're missing the File::Temp perl module. Try
installing it via cpan and see if that resolved the issue for you.

Bill

Mark Martinec

unread,
Nov 19, 2007, 6:59:11 AM11/19/07
to
Bill,

> mime_decode-1 FAILED: Can't locate object method "seek" via package
> "File::Temp" at /usr/lib/perl5/vendor_perl/5.8.8/MIME/Parser.pm
> line 816

Which version of MIME::Tools? And a version of File::Temp?

$ perl -le 'use MIME::Tools; print MIME::Tools->VERSION'
$ perl -le 'use MIME::Parser; print MIME::Parser->VERSION'
$ perl -le 'use File::Temp; print File::Temp->VERSION'

Did a self-test on MIME::Tools installation pass?

Mark

Andrew McRory

unread,
Nov 19, 2007, 2:02:32 PM11/19/07
to
Hello Bill!

I just experienced the same problem. It was resolved by installing
File-Temp-0.18.

Hope that helps!

--
Andrew McRory
Linux Systems Engineers, Inc.

Bill Measday

unread,
Nov 19, 2007, 2:39:41 PM11/19/07
to
Bill Landry wrote:
> Bill Measday wrote the following on 11/18/2007 11:56 PM -0800:
>
>> After a number of issues I had with my previous install (problems I'd
>> attributed to installing some perl modules from CPAN - may or may not
>> have been the case), I undertook a clean install of CentOS 5, Postfix,
>> Amavisd-new, clamav, etc.
>>
>> Initially I tried the installation of the 64 bit version, but reverted
>> to 32 bit when I thought my problem may improve. It didn't. I have
>> also tried the same setup afresh on a virtual machine under CentOS 5 on
>> another box. Same problem.
>>
>> The error I get is (generated by Amavisd):
>>
>> Nov 19 17:33:22 virtual1 postfix/smtp[7470]: B9CB5AED0B:
>> to=<tes...@example.com>, relay=localhost[127.0.0.1]:10024, delay=0.09,
>> delays=0.02/0.01/0.01/0.05, dsn=4.5.0, status=deferred (host
>> localhost[127.0.0.1] said: 451 4.5.0 Error in processing, id=07464-01,
>> mime_decode-1 FAILED: Can't locate object method "seek" via package
>> "File::Temp" at /usr/lib/perl5/vendor_perl/5.8.8/MIME/Parser.pm line
>> 816, <GEN5> line 33. (in reply to end of DATA command))
>>
>> I have searched the net as extensively as I can, but cannot see anything
>> directly related. As far as I can tell, all my permissions, etc are
>> correct. I installed Amavis and related dependencies using Dag Wieers
>> repository. Amavis was running fine until a week or so ago
>> (unfortunately I can't revert).
>>
>> Has anyone seen anything like this?
>>
>>
>
> Looks to me like you're missing the File::Temp perl module. Try
> installing it via cpan and see if that resolved the issue for you.
>
> Bill
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> AMaViS-user mailing list
> AMaVi...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
>

The answer was simple, but did not appear to be.

Bill, you are absolutely correct, and I had suspected this and even
tried installing perl-File-Temp with yum. However, there seems to be a
packaging problem with perl that installs the man file for File::Temp,
but not the module itself. Trying to install perl-File-tTmp with yum
won't work because of this conflict.

Simple enough solution - downloaded the perl-Temp-File rpm and installed
with the "--nodocs" option.

Thanks for the help and convincing me that that was actually where the
problem lay.

Rgds

0 new messages