[rt-users] MIME error message

Peter Watson peter at pwatson.org
Tue Jun 10 15:05:10 EDT 2003


I've just installed RT 3.0.2 under SUSE Linux V8.0 (it took me most of the 
afternoon!).  I tried sending a test message to my RT user and got the 
following error message.

Has anyone any ideas how to sort this?

Apologies if this has been asked before but there doesn't seem to be a way 
of searching the list archive...

Thanks,

Peter Watson


>RT server error.
>
>The RT server which handled your email did not behave as expected. It
>said:
>
>
>
>
>System error
>error:  Can't locate object method "output_prefix" via package 
>"MIME::Parser" (perhaps you forgot to load "MIME::Parser"?) at 
>/opt/rt3/lib/RT/EmailParser.pm line 744.
>context:
>...
>740:  #If someone includes a message, don't extract it
>741:  $parser->extract_nested_messages(1);
>742:
>743:  # Set up the prefix for files with auto-generated names:
>744:  $parser->output_prefix("part");
>745:
>746:  # If content length is <= 50000 bytes, store each msg as in-core 
>scalar;
>747:  # Else, write to a disk file (the default action):
>748:
>...
>code stack:  /opt/rt3/lib/RT/EmailParser.pm:744
>/opt/rt3/lib/RT/EmailParser.pm:168
>/opt/rt3/lib/RT/Interface/Email.pm:381
>/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:32
>raw error
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>Can't locate object method "output_prefix" via package 
>"MIME::Parser" (perhaps you forgot to load 
>"MIME::Parser"?) at /opt/rt3/lib/RT/EmailParser.pm line 744.
>
>
>Trace begun at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Exceptions.pm 
>line 128
>HTML::Mason::Exceptions::rethrow_exception('Can\'t locate object method 
>"output_prefix" via package "MIME::Parser" (perhaps 
>you forgot to load "MIME::Parser"?) at 
>/opt/rt3/lib/RT/EmailParser.pm line 744.^J') called at 
>/opt/rt3/lib/RT/EmailParser.pm line 744
>RT::EmailParser::_SetupMIMEParser('RT::EmailParser=HASH(0x949bd60)', 
>'MIME::Parser=HASH(0x949c1cc)') called at /opt/rt3/lib/RT/EmailParser.pm 
>line 168
>RT::EmailParser::ParseMIMEEntityFromScalar('RT::EmailParser=HASH(0x949bd60)', 
>'From root at linux.ferretathome.co.uk Tue Jun 10 19:08:49 2003^JReceived: 
>from linux.ferretathome.co.uk (localhost [127.0.0.1])^J^Iby 
>linux.ferretathome.co.uk (8.12.3/8.12.3/SuSE Linux 0.6) with ESMTP id 
>h5AI8nMu005329^J^Ifor <rt at linux.ferretathome.co.uk>; Tue, 10 Jun 
>2003 19:08:49 +0100^JReceived: from localhost (root at localhost)^J^Iby 
>linux.ferretathome.co.uk (8.12.3/8.12.3/Submit) with ESMTP id 
>h5AI8nRM005326^J^Ifor <rt at tickets.ferretathome.co.uk>; Tue, 10 Jun 
>2003 19:08:49 +0100^JDate: Tue, 10 Jun 2003 19:08:49 +0100 (BST)^JFrom: 
>root <root at linux.ferretathome.co.uk>^JTo: 
>rt at linux.ferretathome.co.uk^JSubject: Test^JMessage-ID: 
><Pine.LNX.4.44.0306101908250.5325-100000 at linux.ferretathome.co.uk>^JMIME-Version: 
>1.0^JContent-Type: TEXT/PLAIN; charset=US-ASCII^J^JTest^J^J') called at 
>/opt/rt3/lib/RT/Interface/Email.pm line 381
>RT::Interface::Email::Gateway('queue', 'general', 'message', 'From 
>root at linux.ferretathome.co.uk Tue Jun 10 19:08:49 2003^JReceived: from 
>linux.ferretathome.co.uk (localhost [127.0.0.1])^J^Iby 
>linux.ferretathome.co.uk (8.12.3/8.12.3/SuSE Linux 0.6) with ESMTP id 
>h5AI8nMu005329^J^Ifor <rt at linux.ferretathome.co.uk>; Tue, 10 Jun 
>2003 19:08:49 +0100^JReceived: from localhost (root at localhost)^J^Iby 
>linux.ferretathome.co.uk (8.12.3/8.12.3/Submit) with ESMTP id 
>h5AI8nRM005326^J^Ifor <rt at tickets.ferretathome.co.uk>; Tue, 10 Jun 
>2003 19:08:49 +0100^JDate: Tue, 10 Jun 2003 19:08:49 +0100 (BST)^JFrom: 
>root <root at linux.ferretathome.co.uk>^JTo: 
>rt at linux.ferretathome.co.uk^JSubject: Test^JMessage-ID: 
><Pine.LNX.4.44.0306101908250.5325-100000 at linux.ferretathome.co.uk>^JMIME-Version: 
>1.0^JContent-Type: TEXT/PLAIN; charset=US-ASCII^J^JTest^J^J', 
>'SessionType', 'REST', 'action', 'correspond') called at 
>/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway line 32
>HTML::Mason::Commands::__ANON__('queue', 'general', 'SessionType', 'REST', 
>'message', 'From root at linux.ferretathome.co.uk Tue Jun 10 19:08:49 
>2003^JReceived: from linux.ferretathome.co.uk (localhost 
>[127.0.0.1])^J^Iby linux.ferretathome.co.uk (8.12.3/8.12.3/SuSE Linux 0.6) 
>with ESMTP id h5AI8nMu005329^J^Ifor <rt at linux.ferretathome.co.uk>; 
>Tue, 10 Jun 2003 19:08:49 +0100^JReceived: from localhost 
>(root at localhost)^J^Iby linux.ferretathome.co.uk (8.12.3/8.12.3/Submit) 
>with ESMTP id h5AI8nRM005326^J^Ifor <rt at tickets.ferretathome.co.uk>; 
>Tue, 10 Jun 2003 19:08:49 +0100^JDate: Tue, 10 Jun 2003 19:08:49 +0100 
>(BST)^JFrom: root <root at linux.ferretathome.co.uk>^JTo: 
>rt at linux.ferretathome.co.uk^JSubject: Test^JMessage-ID: 
><Pine.LNX.4.44.0306101908250.5325-100000 at linux.ferretathome.co.uk>^JMIME-Version: 
>1.0^JContent-Type: TEXT/PLAIN; charset=US-ASCII^J^JTest^J^J', 'action', 
>'correspond') called at 
>/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 134
>HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9495edc)', 
>'queue', 'general', 'SessionType', 'REST', 'message', 'From 
>root at linux.ferretathome.co.uk Tue Jun 10 19:08:49 2003^JReceived: from 
>linux.ferretathome.co.uk (localhost [127.0.0.1])^J^Iby 
>linux.ferretathome.co.uk (8.12.3/8.12.3/SuSE Linux 0.6) with ESMTP id 
>h5AI8nMu005329^J^Ifor <rt at linux.ferretathome.co.uk>; Tue, 10 Jun 
>2003 19:08:49 +0100^JReceived: from localhost (root at localhost)^J^Iby 
>linux.ferretathome.co.uk (8.12.3/8.12.3/Submit) with ESMTP id 
>h5AI8nRM005326^J^Ifor <rt at tickets.ferretathome.co.uk>; Tue, 10 Jun 
>2003 19:08:49 +0100^JDate: Tue, 10 Jun 2003 19:08:49 +0100 (BST)^JFrom: 
>root <root at linux.ferretathome.co.uk>^JTo: 
>rt at linux.ferretathome.co.uk^JSubject: Test^JMessage-ID: 
><Pine.LNX.4.44.0306101908250.5325-100000 at linux.ferretathome.co.uk>^JMIME-Version: 
>1.0^JContent-Type: TEXT/PLAIN; charset=US-ASCII^J^JTest^J^J', 'action', 
>'correspond') called at 
>/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1051
>eval {...}('HTML::Mason::Component::FileBased=HASH(0x9495edc)', 'queue', 
>'general', 'SessionType', 'REST', 'message', 'From 
>root at linux.ferretathome.co.uk Tue Jun 10 19:08:49 2003^JReceived: from 
>linux.ferretathome.co.uk (localhost [127.0.0.1])^J^Iby 
>linux.ferretathome.co.uk (8.12.3/8.12.3/SuSE Linux 0.6) with ESMTP id 
>h5AI8nMu005329^J^Ifor <rt at linux.ferretathome.co.uk>; Tue, 10 Jun 
>2003 19:08:49 +0100^JReceived: from localhost (root at localhost)^J^Iby 
>linux.ferretathome.co.uk (8.12.3/8.12.3/Submit) with ESMTP id 
>h5AI8nRM005326^J^Ifor <rt at tickets.ferretathome.co.uk>; Tue, 10 Jun 
>2003 19:08:49 +0100^JDate: Tue, 10 Jun 2003 19:08:49 +0100 (BST)^JFrom: 
>root <root at linux.ferretathome.co.uk>^JTo: 
>rt at linux.ferretathome.co.uk^JSubject: Test^JMessage-ID: 
><Pine.LNX.4.44.0306101908250.5325-100000 at linux.ferretathome.co.uk>^JMIME-Version: 
>1.0^JContent-Type: TEXT/PLAIN; charset=US-ASCII^J^JTest^J^J', 'action', 
>'correspond') called at 
>/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1050
>HTML::Mason::Request::comp(undef, undef, undef, 'queue', 'general', 
>'SessionType', 'REST', 'message', 'From root at linux.ferretathome.co.uk Tue 
>Jun 10 19:08:49 2003^JReceived: from linux.ferretathome.co.uk (localhost 
>[127.0.0.1])^J^Iby linux.ferretathome.co.uk (8.12.3/8.12.3/SuSE Linux 0.6) 
>with ESMTP id h5AI8nMu005329^J^Ifor <rt at linux.ferretathome.co.uk>; 
>Tue, 10 Jun 2003 19:08:49 +0100^JReceived: from localhost 
>(root at localhost)^J^Iby linux.ferretathome.co.uk (8.12.3/8.12.3/Submit) 
>with ESMTP id h5AI8nRM005326^J^Ifor <rt at tickets.ferretathome.co.uk>; 
>Tue, 10 Jun 2003 19:08:49 +0100^JDate: Tue, 10 Jun 2003 19:08:49 +0100 
>(BST)^JFrom: root <root at linux.ferretathome.co.uk>^JTo: 
>rt at linux.ferretathome.co.uk^JSubject: Test^JMessage-ID: 
><Pine.LNX.4.44.0306101908250.5325-100000 at linux.ferretathome.co.uk>^JMIME-Version: 
>1.0^JContent-Type: TEXT/PLAIN; charset=US-ASCII^J^JTest^J^J', 'action', 
>'correspond') called at 
>/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 331
>eval {...}(undef, undef, undef, 'queue', 'general', 'SessionType', 'REST', 
>'message', 'From root at linux.ferretathome.co.uk Tue Jun 10 19:08:49 
>2003^JReceived: from linux.ferretathome.co.uk (localhost 
>[127.0.0.1])^J^Iby linux.ferretathome.co.uk (8.12.3/8.12.3/SuSE Linux 0.6) 
>with ESMTP id h5AI8nMu005329^J^Ifor <rt at linux.ferretathome.co.uk>; 
>Tue, 10 Jun 2003 19:08:49 +0100^JReceived: from localhost 
>(root at localhost)^J^Iby linux.ferretathome.co.uk (8.12.3/8.12.3/Submit) 
>with ESMTP id h5AI8nRM005326^J^Ifor <rt at tickets.ferretathome.co.uk>; 
>Tue, 10 Jun 2003 19:08:49 +0100^JDate: Tue, 10 Jun 2003 19:08:49 +0100 
>(BST)^JFrom: root <root at linux.ferretathome.co.uk>^JTo: 
>rt at linux.ferretathome.co.uk^JSubject: Test^JMessage-ID: 
><Pine.LNX.4.44.0306101908250.5325-100000 at linux.ferretathome.co.uk>^JMIME-Version: 
>1.0^JContent-Type: TEXT/PLAIN; charset=US-ASCII^J^JTest^J^J', 'action', 
>'correspond') called at 
>/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 331
>eval {...}(undef, undef, undef, 'queue', 'general', 'SessionType', 'REST', 
>'message', 'From root at linux.ferretathome.co.uk Tue Jun 10 19:08:49 
>2003^JReceived: from linux.ferretathome.co.uk (localhost 
>[127.0.0.1])^J^Iby linux.ferretathome.co.uk (8.12.3/8.12.3/SuSE Linux 0.6) 
>with ESMTP id h5AI8nMu005329^J^Ifor <rt at linux.ferretathome.co.uk>; 
>Tue, 10 Jun 2003 19:08:49 +0100^JReceived: from localhost 
>(root at localhost)^J^Iby linux.ferretathome.co.uk (8.12.3/8.12.3/Submit) 
>with ESMTP id h5AI8nRM005326^J^Ifor <rt at tickets.ferretathome.co.uk>; 
>Tue, 10 Jun 2003 19:08:49 +0100^JDate: Tue, 10 Jun 2003 19:08:49 +0100 
>(BST)^JFrom: root <root at linux.ferretathome.co.uk>^JTo: 
>rt at linux.ferretathome.co.uk^JSubject: Test^JMessage-ID: 
><Pine.LNX.4.44.0306101908250.5325-100000 at linux.ferretathome.co.uk>^JMIME-Version: 
>1.0^JContent-Type: TEXT/PLAIN; charset=US-ASCII^J^JTest^J^J', 'action', 
>'correspond') called at 
>/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 290
>HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x937a490)') 
>called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 134
>eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x937a490)') called 
>at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 134
>HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x937a490)') 
>called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 792
>HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x897f4c4)', 
>'Apache=SCALAR(0x92a9b14)') called at /opt/rt3/bin/webmux.pl line 118
>RT::Mason::handler('Apache=SCALAR(0x92a9b14)') called at /dev/null line 0
>eval {...}('Apache=SCALAR(0x92a9b14)') called at /dev/null line 0
>
>554 5.3.0 unknown mailer error 9
>Reporting-MTA: dns; linux.ferretathome.co.uk
>Received-From-MTA: DNS; localhost
>Arrival-Date: Tue, 10 Jun 2003 19:08:49 +0100
>
>Final-Recipient: RFC822; rt at linux.ferretathome.co.uk
>X-Actual-Recipient: X-Unix; |/opt/rt3/bin/rt-mailgate --queue general 
>--action correspond --url http://tickets.ferretathome.co.uk
>Action: failed
>Status: 5.0.0
>Diagnostic-Code: X-Unix; 9
>Last-Attempt-Date: Tue, 10 Jun 2003 19:08:50 +0100
>Return-Path: <root at linux.ferretathome.co.uk>
>Received: from linux.ferretathome.co.uk (localhost [127.0.0.1])
>         by linux.ferretathome.co.uk (8.12.3/8.12.3/SuSE Linux 0.6) with 
> ESMTP id h5AI8nMu005329
>         for <rt at linux.ferretathome.co.uk>; Tue, 10 Jun 2003 19:08:49 +0100
>Received: from localhost (root at localhost)
>         by linux.ferretathome.co.uk (8.12.3/8.12.3/Submit) with ESMTP id 
> h5AI8nRM005326
>         for <rt at tickets.ferretathome.co.uk>; Tue, 10 Jun 2003 19:08:49 +0100
>Date: Tue, 10 Jun 2003 19:08:49 +0100 (BST)
>From: root <root at linux.ferretathome.co.uk>
>To: rt at linux.ferretathome.co.uk
>Subject: Test
>Message-ID: <Pine.LNX.4.44.0306101908250.5325-100000 at linux.ferretathome.co.uk>
>MIME-Version: 1.0
>Content-Type: TEXT/PLAIN; charset=US-ASCII




More information about the rt-users mailing list