You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Leon Kolchinsky <lk...@univ.haifa.ac.il> on 2006/11/22 16:33:39 UTC

how to solve errors after upgrade

Hello All,

I'm running SLES9 with the following versions:
spamassassin-2.64-3.2
perl-spamassassin-2.64-3.2
amavisd-new-20030616p9-3.6

I know I probably stuck with perl5.8.3 because SLES9 don't have the newer :(

I've installed new versions of SA and amavis (see below) with the following packets (compiled from src.rpm's):

# rpm -Uvh amavisd-new-2.4.4-4.i586.rpm perl-BerkeleyDB-0.25-2.i586.rpm perl-Compress-Zlib-1.35-12.i586.rpm perl-Convert-UUlib-1.051-11.i586.rpm

# rpm -Uvh perl-spamassassin-3.1.7-3.i586.rpm spamassassin-3.1.7-3.i586.rpm

Restarted SA and amavis, and started to get the following errors while there was no email-coming through my system and mailque growing!

Example of maillog errors:

Nov 22 14:25:39 mail postfix/smtp[15132]: 23CBE1CA24: to=< username@mydomain.ac.il >, orig_to=< user2@anotherdomain.ac.il>, relay=127.0.0.1[127.0.0.1], delay=25, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=15039-05, mime_decode-1 FAILED: Can't locate object method "max_parts" via package "MIME::Parser" at /usr/sbin/amavisd line 5933. (in reply to end of DATA command))

Nov 22 14:28:14 mail postfix/smtp[15215]: AC330192F3: to=<us...@mydomain.ac.il>, orig_to=<us...@anotherdomain.ac.il>, relay=127.0.0.1[127.0.0.1], delay=0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=15038-09, mime_decode-1 FAILED: Can't locate object method "max_parts" via package "MIME::Parser" at /usr/sbin/amavisd line 5933. (in reply to end of DATA command))

So, meanwhile I got the old SA and amavis back, but I wish I could use the newest versions.


What may be causing these errors and how to solve this?



Best Regards,
Leon Kolchinsky

Re: how to solve errors after upgrade

Posted by Theo Van Dinter <fe...@apache.org>.
On Wed, Nov 22, 2006 at 05:33:39PM +0200, Leon Kolchinsky wrote:
> Nov 22 14:25:39 mail postfix/smtp[15132]: 23CBE1CA24: to=< username@mydomain.ac.il >, orig_to=< user2@anotherdomain.ac.il>, relay=127.0.0.1[127.0.0.1], delay=25, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=15039-05, mime_decode-1 FAILED: Can't locate object method "max_parts" via package "MIME::Parser" at /usr/sbin/amavisd line 5933. (in reply to end of DATA command))
> 
> What may be causing these errors and how to solve this?

You'll want to talk to the amavis folks, since those errors aren't coming from
SA.

-- 
Randomly Selected Tagline:
"There is hopeful symbolism in the fact that flags do not wave in a
 vacuum."               - Arthur C. Clarke

Re: how to solve errors after upgrade

Posted by Mark Martinec <Ma...@ijs.si>.
Leon,

> 451 4.5.0 Error in processing, id=15039-05, mime_decode-1 FAILED:
> Can't locate object method "max_parts"
> via package "MIME::Parser" at /usr/sbin/amavisd line 5933.

Your version of MIME::Parser (i.e. MIME-Tools) is too old,
use 5.420.

  Mark

Re: [OT really Amavis Q] how to solve errors after upgrade

Posted by Micke Andersson <mi...@swemic.net>.
You should upgrade your MIME::Parser as well.
You are probably using a very old one, where it does not support of 
"max_parts" as stated in the error log!

/Micke

Leon Kolchinsky wrote:
> Example of maillog errors:
>
> Nov 22 14:25:39 mail postfix/smtp[15132]: 23CBE1CA24: to=< username@mydomain.ac.il >, orig_to=< user2@anotherdomain.ac.il>, relay=127.0.0.1[127.0.0.1], delay=25, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=15039-05, mime_decode-1 FAILED: Can't locate object method "max_parts" via package "MIME::Parser" at /usr/sbin/amavisd line 5933. (in reply to end of DATA command))
>
> Nov 22 14:28:14 mail postfix/smtp[15215]: AC330192F3: to=<us...@mydomain.ac.il>, orig_to=<us...@anotherdomain.ac.il>, relay=127.0.0.1[127.0.0.1], delay=0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=15038-09, mime_decode-1 FAILED: Can't locate object method "max_parts" via package "MIME::Parser" at /usr/sbin/amavisd line 5933. (in reply to end of DATA command))
>
> So, meanwhile I got the old SA and amavis back, but I wish I could use the newest versions.
>
>
> What may be causing these errors and how to solve this?
>
>
>
> Best Regards,
> Leon Kolchinsky
>