Subject: pkg/37372: EmailParser.pm fails when rt-mailgate attempts email-to-ticket delivery
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jmb+netbsd-pr@clickbank.com>
List: pkgsrc-bugs
Date: 11/12/2007 22:35:00
>Number:         37372
>Category:       pkg
>Synopsis:       EmailParser.pm fails when rt-mailgate attempts email-to-ticket delivery
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 12 22:35:00 +0000 2007
>Originator:     Jon Bailey
>Release:        pkgsrc (downloaded 2007-10-31)
>Organization:
ClickBank
>Environment:
$ uname -a
Linux linux.local 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:02 EDT 2007 i686 i686 i386 GNU/Linux
$
>Description:
The 'RT' ticketing system cannot receive email to generate new tickets / interact with open tickets.  This appears to be known, and two workarounds are documented here:

http://www.nabble.com/Can't-locate-object-method-%22tmp_recycling%22-t4680972.html

The rt-mailgate utility which inserts emails into the system displays the following:

RT server error.

The RT server which handled your email did not behave as expected. It
said:

Can't locate object method "tmp_recycling" via package "MIME::Parser" at /home/pkgsrc-user/pkg/lib/rt3/RT/EmailParser.pm line 616.

Stack:
  [/home/pkgsrc-user/pkg/lib/rt3/RT/EmailParser.pm:616]
  [/home/pkgsrc-user/pkg/lib/rt3/RT/EmailParser.pm:225]
  [/home/pkgsrc-user/pkg/lib/rt3/RT/EmailParser.pm:177]
  [/home/pkgsrc-user/pkg/lib/rt3/RT/EmailParser.pm:137]
  [/home/pkgsrc-user/pkg/lib/rt3/RT/Interface/Email.pm:523]
  [/home/pkgsrc-user/pkg/share/rt3/html/REST/1.0/NoAuth/mail-gateway:58]


>How-To-Repeat:
Attempt to deliver email into the running RT system using the rt-mailgate utility, per the standard configuration.
>Fix:
1) upgrade to upstream version RT 3.6.5

2) downgrade the Perl module MIME::Entity to version 5.420