[rt-users] A fix which may be relevant if you are processing bounces in RT
Dominic Hargreaves
dominic.hargreaves at oucs.ox.ac.uk
Thu Jun 9 10:41:28 EDT 2011
Quoting from
<https://github.com/jmdh/rt/commit/97f19a49b5d903c92fdee00dc67b9cf444277cab>
Add IgnoreSubjectTicketForQueues config option and behaviour
This adds the ability to configure a set of queues for which the
ticket number found in the subject tag of incoming emails is ignored,
forcing new tickets to be created in the queue specified by rt-mailgate.
An example use case is a setup where RTOwner is set to an address which
routes to RT (for example to a queue named 'bounces'). In order to avoid
loops, the queue should be set up to not have any scrips which send out
mail.
Without this patch, bounces which include the subject tag of the original
message in the subject line will be directed at the existing ticket,
rather than the intended behaviour of creating a new ticket in the
bounces queue. This could cause new emails to be sent out, and could
cause a mail loop.
This will only happen if the MTA sending the bounce includes the
original subject line in the subject line of bounces. One notable example
of this behaviour is Microsoft Exchange.
A more elaborate fix would be to not ignore the ticket ID completely,
but only if the specified queue did not match the ticket's queue.
In both cases it is necessary to make this configurable on a per-queue
basis, since this breaks some assumptions about RT's normal email
workflow.
BPS: feel free to apply; it's tested on 3.8 but seems to apply to
master. I realise that this is probably not a supported configuration
by you so you may not want to apply it, but it's turned out to be
important to us.
--
Dominic Hargreaves, Systems Development and Support Team
Computing Services, University of Oxford
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110609/6ccc0d22/attachment.sig>
More information about the rt-users
mailing list