Hi all,

I've setup a scrip that moves tickets with an 'X-Spam: true' header
into a spam queue, however, the 'On Create Autoreply To Requestors'
still mails out about this ticket, even though the Spam queue has a
blank template.

It seems that the mail that's sent out to the requestor is actually
for the original queue destination, and not the one that it has been
moved into.

I had ordered my scrips such that my custom one runs before, and this
can be seen in the logs:

[Tue Sep 20 08:35:17 2011] [info]: running spam filter ((eval 1840):5)
[Tue Sep 20 08:35:18 2011] [info]: queue changed to Spam due to spam
header being present.108658 ((eval 1878):3)
[Tue Sep 20 08:35:18 2011] [info]:
<rt-3.8.7-8862-1316507718-371.29060-3-0@...> #29060/108657 - Scrip 3
On Create Autoreply To Requestors
(/usr/share/request-tracker3.8/lib/RT/Action/SendEmail.pm:300)
[Tue Sep 20 08:35:18 2011] [info]:
<rt-3.8.7-8862-1316507718-371.29060-3-0@...> sent  To:
ian.christian@...
(/usr/share/request-tracker3.8/lib/RT/Action/SendEmail.pm:331)

The scrip I have setup has a On Create condition, User Defined action,
no template, and is in the stage TransationCreate.

Can anyone suggest how I can prevent the auto responder going out?

Many thanks,



-- 
Blog: http://pookey.co.uk/blog
Follow me on twitter: http://twitter.com/ipchristian
--------
RT Training Sessions (http://bestpractical.com/services/training.html)
*  Chicago, IL, USA  September 26 & 27, 2011
*  San Francisco, CA, USA  October 18 & 19, 2011
*  Washington DC, USA  October 31 & November 1, 2011
*  Melbourne VIC, Australia  November 28 & 29, 2011
*  Barcelona, Spain  November 28 & 29, 2011

Reply via email to