Hi Thomas,<div><br></div><div>Thanks for your reply.</div><div><br></div><div>When I disable those scrips I get the following effect:</div><div><ul><li>First off, the behavior I want to disable is disabled.</li><li>But, the autoreply scrip doesn't work anymore.</li>
<li>And, any type of outgoing mail stops working.</li></ul><div>RT simply registers the correspondence when you send a reply but doesn't record outgoing mail.</div><div><br></div><div>I guess what I want to achieve is the following:</div>
<div><ol><li>Leave the autoreply upon ticket creating in tact, we want to keep the ability to send requestors a default mail with their ticket ID + a small note that we're working on it and that we've received the mail correctly.</li>
<li>Keep the ability to actually send e-mails to requestors or to one-time cc's.</li><li>But disable the feature where an incoming mail for a ticket triggers something which sends an e-mail to all requestors/cc's. This specific feature is something that we'd want to disable for all queue's, but when we manually send an e-mail from RT to one or more people then the mail has to go to those people that we've selected during creating the correspondence.</li>
<li>Also, other scrips that send mails when someone sets you as an owner, etc. should also keep working. Just the feature of point 3 which is triggered upon receiving an e-mail is what we want to disable.</li></ol><div>I'm assuming then that I'd have to modify the behavior of these scrips so that they only trigger when sent from RT itself. I'm assuming this means that I'll have to write a custom condition for these scrips, what would be the best way to do this? I'd probably need to get the original condition and then modify it, but where do I find this? (and where to start)</div>
</div><div><br></div><div>-- <br>Bart</div><br><div class="gmail_quote">2012/9/27 Thomas Sibley <span dir="ltr"><<a href="mailto:trs@bestpractical.com" target="_blank">trs@bestpractical.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 09/25/2012 02:28 AM, Bart wrote:<br>
> By default, when you have a ticket and linked a few requestors and cc's<br>
> to that ticket RT will send an e-mail to everyone when someone sends an<br>
> e-mail to RT with the ticket ID in the subject.<br>
> We\re looking for the ability to disable this feature for a few queue's.<br>
<br>
</div>Do you want to disable it only for incoming email to the ticket or all<br>
on replies to the ticket including those from the web?<br>
<div class="im"><br>
> The problem however is that I'm unable to figure out which scrip I need<br>
> to modify to achieve this, I'm guessing between the following scrips but<br>
> I keep breaking unwanted things when I disable one of them:<br>
><br>
</div>>   * On Correspond Notify Other Recipients<br>
>   * On Correspond Notify Requestors and Ccs<br>
>   * On Comment Notify Other Recipients as Comment<br>
<br>
"On Correspond Notify Requestors and Ccs" is the default scrip shipped<br>
with RT which handles the behaviour you described above.<br>
<br>
"On Correspond Notify Other Recipients" handles the One-time Cc and<br>
One-time Bcc fields in the web UI and technically may be triggered by<br>
incoming email as well with the headers RT-Send-Cc and RT-Send-Bcc.<br>
Most of the time this scrip only fires on web replies.<br>
<br>
"On Comment ..." deals only with comments, not replies (correspondence).<br>
<div class="im"><br>
> When looking around I found the extension<br>
> RT::Extension::NotificationMatrix but it doesn't really seem to exist on<br>
> the CPAN pages + installation instructions aren't available for<br>
> installing this plugin from the Git repository.<br>
><br>
</div><div class="im">> Apart from the nice find, I'm not jumping on the idea of using this<br>
> extension when there's barely any documentation available.<br>
<br>
</div>Your intuition is correct.  NotificationMatrix is a nice idea in<br>
concept, but the implementation in the git repo has a few... quirks.<br>
It's also a) only compatible with 3.8 and b) built upon a subsystem of<br>
RT that's getting removed in 4.2.<br>
<div class="im"><br>
> So my main question is how to disable the described notification<br>
> behavior when someone sends a reply to a ticket? Which scrip do I<br>
> disable or edit for this behavior to change?<br>
<br>
</div>If you're looking to disable ALL redistribution of replies to tickets,<br>
both via email and the web, you can disable the first two scrips you<br>
list above (change their "Stage" to "disabled").<br>
<br>
Since these are global scrips, however, that'll affect all queues.  To<br>
only affect certain queues, you can create an intentionally blank<br>
Correspondence template in each desired queue.  (The On Correspond<br>
scrips you mention above use the Correspondence template unless you've<br>
changed it to something else.)  Queue level templates override global<br>
ones with the same name for tickets in that queue, and blank templates<br>
suppress mail.<br>
<br>
Hopefully that helps.<br>
<br>
Thomas<br>
<br>
--------<br>
Final RT training for 2012 in Atlanta, GA - October 23 & 24<br>
  <a href="http://bestpractical.com/training" target="_blank">http://bestpractical.com/training</a><br>
<br>
We're hiring! <a href="http://bestpractical.com/jobs" target="_blank">http://bestpractical.com/jobs</a><br>
</blockquote></div><br><br clear="all"><div><br></div><br>
</div>