<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">--- On <b>Mon, 4/11/11, Paul Fincher <i><pfincher@ghs.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Paul Fincher <pfincher@ghs.com><br>Subject: [rt-users] Having RT ignore internal email not associated with a ticket<br>To: rt-users@lists.bestpractical.com<br>Date: Monday, April 11, 2011, 11:52 AM<br><br><div id="yiv1656212490"><style><!--
#yiv1656212490  
 _filtered #yiv1656212490 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
#yiv1656212490  
#yiv1656212490 p.yiv1656212490MsoNormal, #yiv1656212490 li.yiv1656212490MsoNormal, #yiv1656212490 div.yiv1656212490MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"sans-serif";}
#yiv1656212490 a:link, #yiv1656212490 span.yiv1656212490MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv1656212490 a:visited, #yiv1656212490 span.yiv1656212490MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv1656212490 span.yiv1656212490EmailStyle17
        {font-family:"sans-serif";color:windowtext;}
#yiv1656212490 .yiv1656212490MsoChpDefault
        {font-family:"sans-serif";}
 _filtered #yiv1656212490 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv1656212490 div.yiv1656212490WordSection1
        {}
--></style><div class="yiv1656212490WordSection1"><p class="yiv1656212490MsoNormal">Hi all,</p><p class="yiv1656212490MsoNormal">  </p><p class="yiv1656212490MsoNormal">    We are getting ready to bring RT live and are passing the final hurdles.  One issue that I am working through is the following.  We are adding RT to already existing mail aliases which our support engineers currently monitor for incoming customer requests.  The problem is they also sometimes use these aliases for internal communication unrelated to a specific ticket.   I was hoping to have RT ignore these internal emails not related to a ticket.   From what I've seen in past posts I may be out of luck but just thought I'd see if someone had any ideas.</p><p class="yiv1656212490MsoNormal">  </p><p class="yiv1656212490MsoNormal">Thanks in advace,</p><p class="yiv1656212490MsoNormal">Paul   </p><p
 class="yiv1656212490MsoNormal" style="margin-bottom: 12pt;"><span style="font-size: 10pt; font-family: "sans-serif";">-------------------------------------------------------------<br>Paul Fincher<br>Senior Engineering Support Engineer<br><br></span><i><span style="font-size: 11.5pt; color: navy;"></span></i></p></div></div></blockquote><div id="yiv1656212490"><div class="yiv1656212490WordSection1"><p class="yiv1656212490MsoNormal"> When the original email is sent to create a ticket, it looks like any other email.  Subsequent tickets would contain a special subject unique to RT.  But that original email would always get into RT, and RT would not be able to determine if that email was intended for RT or not.</p><p class="yiv1656212490MsoNormal">However, you could write a perl interceptor which sits between RT and sendmail/postfix (ie: directly in the /etc/aliases file) which looks for a certain string of characters.  If the email
 does not contain this string, it passes it into RT; if the email does contain this string, it drops it.  So, if the email contained something like:  RT-IGNORE, then the perl script could ignore that message without piping it into RT.</p><p class="yiv1656212490MsoNormal">You would just need to make sure people include that RT-IGNORE in the body or the subject if RT is to ignore it.</p><p class="yiv1656212490MsoNormal">Maybe RT already has something in place to do this?  Not sure..</p><p class="yiv1656212490MsoNormal"><br></p><p class="yiv1656212490MsoNormal"><br></p></div></div></td></tr></table>