I didn’t see it come through so I am going to email it out again in case it might help someone else…
This was my original problem:
I am trying to figure out how to get RT-mailgate to parse winamil.dat files that are attached to ticket replies.
1.) If a user opens a ticket with an attachment - no problem
2.) If a user creates a new email using the subject line included in the original ticket with an attachment - no problem
3.) If a user click on reply to the ticket and adds an attachment then I get winmail.dat attachment - problem
rt: “|/usr/bin/tnef|/usr/bin/tnef|/etc/smrsh/rt-mailgate --queue ‘Rt’ --action correspond --url http://rt.domain.com/”
Basically just run it through tnef parser twice to get through all the headers so that it would parse the replies, not very elegant but it works…