<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jul 13, 2016 at 12:03 AM, Kenneth Marshall <span dir="ltr"><<a href="mailto:ktm@rice.edu" target="_blank">ktm@rice.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Jul 12, 2016 at 11:06:44PM +0530, Nilesh wrote:<br>
> ...<br>
<span class="">> > > > Does the default RT strip that off? Because I'm not seeing in one recent<br>
> > > > duplicate created in the manner I described.<br>
> > > ><br>
> > > Ah it's hidden inside 'show full headers'. This is interesting. Is there<br>
> > > some documentation about this header?<br>
> > Hi,<br>
> ><br>
> > You can look at the RFC's, but that was the header that provided the most<br>
> > value in reducing duplicate tickets.<br>
> ><br>
> > Regards,<br>
> > Ken<br>
><br>
> As this discussion is going on a few duplicate tickets were created in the<br>
> system and this definitely looks like a good way to solve it. Did you use<br>
> ExtractCustomFields module to get this done? <br>
><br>
> I'm thinking of doing it like this:<br>
> Run ExtractCustomFields on every correspond to get the Message ID out of the<br>
> headers. Then I can search through this field probably using a customized rt-<br>
> mailgate. Does that sound good? I don't think there's a way using scrips because<br>
> by the time scrip executes ticket is already created (unless something is<br>
> possible in the "On transaction" condition).<br>
><br>
<br>
</span>Hi Nilesh,<br>
<br>
I have attached my current version of ./local/lib/RT/Interface/Email_Local.pm.<br>
It includes our modifications gathered from the list recommendations in the function<br>
<br>
ParseInReplyTo()<br>
<br>
This patch is against RT 3.8.13+ and has not been updated to RT 4+ but is should<br>
be a straight-forward update. To make your own version of Email_Local.pm, start<br>
with just the function ParseInReplyTo() and the calling function and add functions<br>
from ./lib/RT/Interface/Email.pm until you have a working file. That will be the<br>
minimum that you will need. Take a look at <a href="http://requesttracker.wikia.com/wiki/Customizing" rel="noreferrer" target="_blank">http://requesttracker.wikia.com/wiki/Customizing</a><br>
for more details. Let me know if you have any questions.<br>
<br>
Regards,<br>
Ken<br>
</blockquote></div><br></div><div class="gmail_extra">This works perfectly, thanks a lot. I wonder why this hasn't been integrated as a core feature.<br></div></div>