[rt-users] Lowercasing of message headers

Martin Drasar drasar at ics.muni.cz
Tue Oct 9 10:11:15 EDT 2012


I have hit a strange problem with mail header casing. At our site, we
are preprocessing mails from various automatic reporting tools and
durign this preprocessing some headers are added and then the message is
sent via 'sendmail -oi -t' to RT.

One header that is causing us problems is 'X-RT-Incident-IP'. When the
message is leaving the preprocessor, i.e. before being printed to the
sendmail, the header looks as it should. However, when I look at it from
the RT web UI, I see 'X-RT-Incident-Ip' (notice the lowercase 'p' at the
end). Strange thing is that the header 'X-RT-Incident-ID' goes through

My question is - can RT somehow lowercase some of my headers? And if you
think that it cannot, could you give me a hint, how to convince sendmail
on the receiving end to print the headers that arrived? I need to find
who is causing it and so far it is either sendmail on the sending or
receiving end, or the RT.

Any help is really appreciated.

Best regards,

More information about the rt-users mailing list