Hi Jim,
thank you for the reply. In the text document are the headers for the message from the incoming request tracker mail server and the headers as reported by the request tracker full headers.
The subject from the sql query
531089;"Tämä on ääkkösesimerkki"
The picture shows the saved subject to be corrupted in the upper left corner.
After I contacted you I did notice that mail did not come in to the queues with umlauts at all (like queue called Tietojärjestelmät), so I suspect there might me something wrong in the decoding of messages in the reworked mail gateway in the RT 4.4 itself which might also contribute to the plugin mail filter. I removed the umlauts from the queue names to circumvent the problem. I’ve haven’t had the time to study the changed source code. I have a incoming gateway that there is MailConversionTag in the LDAP that denotes the queue name. This results in the command /usr/bin/perl $RT_MAILGATE --queue $QUEUE --action $ACTION --url $RT_URL where the MailConversionTag is populated in the $QUEUE in UTF-8. This worked in 4.2, but not in the 4.4 series as of late.
Kind regards,
Petri Teräspuro
[cid:image001.png@01D1DDB3.C7A3F2B0]
Show quoted text> -----Original Message-----
Show quoted text> From: Jim Brandt via RT [mailto:bug-RT-Extension-
Show quoted text> CommandByMail@rt.cpan.org]
Show quoted text> Sent: 13. heinäkuuta 2016 22:06
Show quoted text> To: Petri Teräspuro <pmtera@utu.fi>
Show quoted text> Subject: [rt.cpan.org #115654] Request tracker 4.4.0 and 4.4.1 with
Show quoted text> Commandbymail 2.01
Show quoted text>
Show quoted text
Show quoted text>
Show quoted text> On Mon Jun 27 06:04:12 2016, pmtera@utu.fi<mailto:pmtera@utu.fi> wrote:
Show quoted text
Show quoted text
Show quoted text> > when the CommandByMail is loaded the emails which subject contains
Show quoted text> > umlauts for instances "Tämä on ääkköesimerkki" will be saved to RT
Show quoted text> > with the umlauts garbled. This occurs when a new ticket is created and
Show quoted text> > the subject is saved for the first time. Also there is the previously
Show quoted text> > mentioned error of acces denied when people are not in the
Show quoted text
Show quoted text>
Show quoted text> Hi Petri
Show quoted text>
Show quoted text> I'm not able to reproduce your issue. I tried a message with umlauts in the
Show quoted text> subject in a test RT with CommandByMail and it seemed to come through OK
Show quoted text> in the ticket.
Show quoted text>
Show quoted text> Could you send the headers for your test email and a screenshot of the
Show quoted text> resulting ticket? If you can query the subject in the DB too, that would be
Show quoted text> helpful.
Show quoted text>
Show quoted text> select id, Subject from Tickets where id = 12345;
Show quoted text>
Show quoted text> I fixed the groups issue and will be publishing a new release soon.
Show quoted text>
Show quoted text> Thanks,
Show quoted text> Jim
Show quoted text>