Re: [rt-users] Lowercasing of message headers

2012-10-10 Thread Martin Drasar
On 9.10.2012 18:38, Thomas Sibley wrote:
 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


Final RT training for 2012 in Atlanta, GA - October 23  24
  http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs


[rt-users] Lowercasing of message headers

2012-10-09 Thread Martin Drasar
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
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
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


Final RT training for 2012 in Atlanta, GA - October 23  24
  http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs


Re: [rt-users] Lowercasing of message headers

2012-10-09 Thread Thomas Sibley
On 10/09/2012 07:11 AM, Martin Drasar wrote:
 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.)



Final RT training for 2012 in Atlanta, GA - October 23  24
  http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs