Lowercasing of message headers

Hi,

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

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
unaffected…

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,
Martin

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.

It’s possible, yes. I don’t know where it may be happening in this
particular case, and it may not even be in RT. Mail headers, however,
are case insensitive, so any change in case shouldn’t be affecting your
usage. (And if it is, that sounds like a bug somewhere.)

It’s possible, yes. I don’t know where it may be happening in this
particular case, and it may not even be in RT. Mail headers, however,
are case insensitive, so any change in case shouldn’t be affecting your
usage. (And if it is, that sounds like a bug somewhere.)

Hi Thomas,

you are right… The lowercasing does not seem to be a problem. Right
now it seems that the problem is much more devious - RT not executing
the prepare action for a scrip. On my devel machine it was happening
about half the time (the action is stored in a separate file), but it
stopped after the restart (I was altering the file before the restart,
though). I have added some debug code and restarted the production
machine and will be monitoring it further…

Martin