[rt-users] Add watcher based on email address or domain
Neil Hymans - Technically Speaking
info at techspeak.com.au
Fri Oct 13 05:58:02 EDT 2006
Hi all
I have a requirement to add specific watchers to a ticket based on who sent
it.
My first attempt involved creating a queue for each customer, with each
queue having the appropriate watchers set up. A scrip changes the queue of
an incoming ticket based on the email address or domain. This works fine,
but it has resulted in about 25 queues so far and this number will grow as
sales increase.
Instead, I was thinking that I could skip the whole queue changing thing - I
think it would be fine if a scrip looked at the email address / domain and
added a username as a watcher.
Unfortunately, I speak very little Perl and am pretty new to all of this. If
anyone cares to help, I'd be *very* grateful if you could illustrate your
response with about 3 cases so it's obvious to me how to modify it so suit
our requirements - and perhaps also show how to check both a complete email
address and a domain.
Thanks in advance for any help you can offer.
Best regards
Neil
More information about the rt-users
mailing list