Mailgate pukes on faulty subjects (3.0.3pre4)

We had a mailsending script that didn’t encode the subject header
correctly, and the mailgate spitted out the following error:

Jun 19 08:12:37 rasputin postfix/local[29505]: 4249CA37CF:, relay=local, delay=3,
status=bounced (Command died with status 11:
"/service/rt3/bin/rt-mailgate --queue ‘Support Kundcenter - Student’
–action correspond --url". Command output: RT
server error. The RT server which handled your email did not behave as
expected. It said:


error:  Unknown encoding 'UNKNOWN' at /service/rt3/lib/RT/ line 305

Shouldn’t rt just cut the subject and proceed with the ticket anyways?
With the current “method”, we have mails that just disappear, never
entering the system. We’ve fixed our script now, but there might be
other MUAs that doesn’t encode properly.


It still gives the same error message.


Jesse Vincent wrote: