[rt-users] preventing the on create auto responder after changing queues in a scrip
Ian P. Christian
pookey at pookey.co.uk
Tue Sep 20 06:55:31 EDT 2011
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 at ...> #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 at ...> sent To:
ian.christian at ...
(/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
More information about the rt-users
mailing list