[rt-users] RT Bug?

sac sac at cse.unl.edu
Mon Nov 12 11:16:55 EST 2012


We recently had a request submitted to our RT system (version 4.0.4 on 
a Linux Mint 13 box) that caused a crash.  I have narrowed this down to 
the fact the e-mail had a header that read "Content-Type: TEXT/PLAIN; 
charset=X-UNKNOWN; format=flowed" and this caused RT to crash:

cse-rt ~ # cat emailmessage | /usr/bin/rt-mailgate --debug --queue 
general --action correspond --url https://cse-rt.unl.edu/
/usr/bin/rt-mailgate: temp file is '/tmp/E0FHMLj0Le/l_8jE5Tohr'
/usr/bin/rt-mailgate: connecting to 
https://cse-rt.unl.edu//REST/1.0/NoAuth/mail-gateway
Unknown encoding 'x-unknown' at 
/usr/share/request-tracker4/lib/RT/I18N.pm line 540

Stack:
   [/usr/share/perl/5.14/Carp.pm:79]
   [/usr/lib/perl/5.14/Encode.pm:187]
   [/usr/share/request-tracker4/lib/RT/I18N.pm:540]
   [/usr/share/request-tracker4/lib/RT/I18N.pm:214]
   [/usr/share/request-tracker4/lib/RT/I18N.pm:210]
   [/usr/share/request-tracker4/lib/RT/EmailParser.pm:282]
   [/usr/share/request-tracker4/lib/RT/Interface/Email.pm:1405]
   [/usr/share/request-tracker4/html/REST/1.0/NoAuth/mail-gateway:61]

RT server error.

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

Unknown encoding 'x-unknown' at 
/usr/share/request-tracker4/lib/RT/I18N.pm line 540

Stack:
   [/usr/share/perl/5.14/Carp.pm:79]
   [/usr/lib/perl/5.14/Encode.pm:187]
   [/usr/share/request-tracker4/lib/RT/I18N.pm:540]
   [/usr/share/request-tracker4/lib/RT/I18N.pm:214]
   [/usr/share/request-tracker4/lib/RT/I18N.pm:210]
   [/usr/share/request-tracker4/lib/RT/EmailParser.pm:282]
   [/usr/share/request-tracker4/lib/RT/Interface/Email.pm:1405]
   [/usr/share/request-tracker4/html/REST/1.0/NoAuth/mail-gateway:61]


As far as I've been able to determine, any message with the header in 
question causes a crash. I have not been able to determine how the 
"X-UNKNOWN" header was added, but the original mail client was a recent 
version of Alpine.





More information about the rt-users mailing list