[rt-users] CONTRIB: MoveTicketToOriginalQueue

Phil Homewood pdh at snapgear.com
Sat Jun 29 02:06:03 EDT 2002


This ScripAction will move a ticket into the queue it was originally
destined for. This could potentially be used to "restart" a ticket's
journey through a succession of queues; the original requirement was
for an incoming ticket to be able to be placed into a "quarantine"
queue and moved back to where it was originally intended if the
quarantine conditions were met.

This action has an external dependency. You will need to configure
your MTA/MDA to add an "X-RT-Queue: foo" header to the message once
it determines that the message was intended for queue "foo".
Without this, the scrip cannot (easily and reliably) determine the
original queue (and will refuse to do anything in that case). The
author uses procmail and formail to accomplish this; there are other
ways.

Phil Homewood <pdh at snapgear.com> 20020626
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MoveTicketToOriginalQueue.tar.gz
Type: application/x-tar-gz
Size: 1711 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20020629/e18106de/attachment.bin>


More information about the rt-users mailing list