Problems sending MIME-messages/emails to RT

I finally got RT working on a FreeBSD box and I am able to create new
tickets on queues when I send a regular plain text message. However, when I
send a HTML or Rich-Text email, I get a system error message. It appears the
MIME::Parser is unable to open a temporary file (tmpfile). I would like to
know where the MIME::Parser opens the new file so I can confirm the
file/directory permissions. In addition, I recently upgraded from perl
version 5.6.1 to perl 5.8.0. However, the RT system still seems to be using
the old perl version within it’s configuration as you can see in the code
stack below. How do I change the RT configuration to use the new perl
v.5.8.0. Any help in this regard would be greatly appreciated. Here is the
system error message I receive:

                              System error

error: MIME::Parser: can’t open tmpfile: Invalid argument
context: …

1579: $io->seek(0, 0);
1580: truncate($io, 0);
1581: }
1582: else { ### Return a new one:
1583: $io = tmpopen() || die “$ME: can’t open tmpfile: $!\n”;
1584: binmode($io);
1585: }
1586: }
1587: return $io;

code stack:
/usr/local/lib/perl5/site_perl/5.6.1/MIME/Parser.pm:1583
/usr/local/lib/perl5/site_perl/5.6.1/MIME/Parser.pm:764
/usr/local/lib/perl5/site_perl/5.6.1/MIME/Parser.pm:1006
/usr/local/lib/perl5/site_perl/5.6.1/MIME/Parser.pm:707
/usr/local/lib/perl5/site_perl/5.6.1/MIME/Parser.pm:997
/usr/local/lib/perl5/site_perl/5.6.1/MIME/Parser.pm:1101
/usr/local/lib/perl5/site_perl/5.6.1/MIME/Tools.pm:164
/usr/local/lib/perl5/site_perl/5.6.1/MIME/Parser.pm:1102
/usr/local/lib/perl5/site_perl/5.6.1/MIME/Parser.pm:1073
/usr/local/lib/rt3/RT/EmailParser.pm:175
/usr/local/lib/rt3/RT/Interface/Email.pm:386
/usr/local/share/rt3/html/REST/1.0/NoAuth/mail-gateway:32

MIME::Parser: can’t open tmpfile: Invalid argument

Trace begun at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Exceptions.pm
line 128
HTML::Mason::Exceptions::rethrow_exception(‘MIME::Parser: can’t open
tmpfile: Invalid argument^J’) called at
/usr/local/lib/perl5/site_perl/5.6.1/MIME/Parser.pm line 1583
MIME::Parser::new_tmpfile(‘MIME::Parser=HASH(0x9750b30)’, undef) called at
/usr/local/lib/perl5/site_perl/5.6.1/MIME/Parser.pm line 764
MIME::Parser::process_singlepart(‘MIME::Parser=HASH(0x9750b30)’, 'From
Charles.Okochu@mlb.com Wed Jul 30 10:35:25 2003^JReceived: from usermailhost
(usermailhost [10.3.3.5])^J^Iby matsui.mlbam.com (8.12.6/8.12.6) with ESMTP
id h6UEZPIh012127^J^Ifor <tickets@rtmaildomain>; Wed, 30 Jul 2003
10:35:25 -0400 (EDT)^J^I(envelope-from Charles.Okochu@mlb.com)^JReceived: by
usermailhost with Internet Mail Service (5.5.2653.19)^J^Iid
<P8ANN119>; Wed, 30 Jul 2003 10:36:29 -0400^JMessage-ID:
<1F8ED810575FD511915600508BB8B49503EA6260@usermailhost>^JFrom:
“Okochu, Charles” <Charles.Okochu@mlb.com>^JTo:
"‘tickets@rtmaildomain’"^J^I
<tickets@rtmaildomain>^JSubject: this is a test message^JDate: Wed, 30
Jul 2003 10:36:26 -0400^JMIME-Version: 1.0^JX-Mailer: Internet Mail Service
(5.5.2653.19)^JContent-Type: multipart/alternativ!
e;^J^Iboundary="----_=NextPart_001_01C356A7.F50330A0"^J^JThis
message is in MIME format. Since your mail reader does not understand^Jthis
format, some or all of this message may not be
legible.^J^J------
=NextPart_001_01C356A7.F50330A0^JContent-Type:
text/plain^J^J^J^JCharles Okochu^JSnr. Network Engineer^J^JMajor League
Baseball Advanced Media, LP^J75 Ninth Avenue^JNew York, NY 10011^JOffice:
(212) 485-3473^JCell: (646) 996-3272 / (917) 518-5941^JFax: (212)
485-3456^JEmail:
charles.okochu@mlb.com^J^J^J^J------
=_NextPart_001_01C356A7.F50330A0^JConte
nt-Type: text/html^J^J<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML
3.2//EN”>^J<HTML>^J<HEAD>^J<META
HTTP-EQUIV=“Content-Type” CONTENT=“text/html;
charset=us-ascii”>^J<META NAME="Generator"
CONTENT=“MS Exchange Server version 5.5.2653.12”>^J<TITLE&!
;gt;thies is a test message</TITLE>^J</HEAD&g

Thanks
Charles Okochu
Snr. Network Engineer

Major League Baseball Advanced Media, LP
75 Ninth Avenue
New York, NY 10011
Office: (212) 485-3473
Cell: (917) 518-5941
Fax: (212) 485-3456
Email: charles.okochu@mlb.com

Want To Win World Series Tickets for Life?!
Do you have the winning hologram?
Watch the 2003 World Series on FOX.*

Major League Baseball Ultimate World Series Pass presented by RadioShack.
For more information go to http://www.mlb.com/ultimatepass

*MLBI affiliate in Puerto Rico and Canada (check your local television listing for games, dates and times)

Okochu, Charles wrote:

In addition, I recently upgraded from perl
version 5.6.1 to perl 5.8.0. However, the RT system still seems to be using
the old perl version within it’s configuration as you can see in the code
stack below. How do I change the RT configuration to use the new perl
v.5.8.0.

rebuild and reinstall mod_perl.
Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances

Thanks. I rebuilt mod_perl and reinstalled all the CPAN modules listed
when
I ran rt-test-dependencies that were installed in the 5.6.1 codebase.

Charles Okochu
Snr. Network Engineer
MLBAM
Office: (212) 485-3473
Cell: (646) 996-3272 / (917) 518-5941From: Phil Homewood [mailto:pdh@snapgear.com]
Sent: Wednesday, July 30, 2003 8:11 PM
To: 'rt-users@lists.fsck.com’
Subject: Re: [rt-users] Problems sending MIME-messages/emails to RT

Okochu, Charles wrote:

In addition, I recently upgraded from perl
version 5.6.1 to perl 5.8.0. However, the RT system still seems to be
using
the old perl version within it’s configuration as you can see in the
code
stack below. How do I change the RT configuration to use the new perl
v.5.8.0.

rebuild and reinstall mod_perl.
Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

[INFO] – Virus Manager:
No Viruses were detected in this message.

Want To Win World Series Tickets for Life?!
Do you have the winning hologram?
Watch the 2003 World Series on FOX.*

Major League Baseball Ultimate World Series Pass presented by
RadioShack.
For more information go to http://www.mlb.com/ultimatepass

*MLBI affiliate in Puerto Rico and Canada (check your local television
listing for games, dates and times)