User Tools

Site Tools


software:requesttracker:autoqueue

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
software:requesttracker:autoqueue [2024/08/29 19:38] rodolicosoftware:requesttracker:autoqueue [2024/08/30 01:29] (current) rodolico
Line 38: Line 38:
 return 1; return 1;
 </code> </code>
 +
 +===== Placing mail to different addresses in different queues =====
 +
 +This is easy to do in RT, if you are using aliases to route them. For example, if you have //support@example.com// set up as a forwarder to your RT server, you would create an entry like this in your aliases file on the RT server.
 +<code bash>
 +support: "|/opt/rt5/bin/rt-mailgate --queue general --action correspond --url https://rt.example.com/rt/"
 +support-comment: "|/opt/rt5/bin/rt-mailgate --queue general --action comment --url https://rt.example.com/rt/"
 +</code>
 +which will redirect the incoming mail to Request Tracker's interface on the machine.
 +
 +In order to add new clients, you can create different aliases for each to correspond with; in this case, client1 and client2, which would go into the queue's Client1 and Client 2 respectively.
 +<code bash>
 +support: "|/opt/rt5/bin/rt-mailgate --queue general --action correspond --url https://rt.example.com/rt/"
 +support-comment: "|/opt/rt5/bin/rt-mailgate --queue general --action comment --url https://rt.example.com/rt/"
 +client1: "|/opt/rt5/bin/rt-mailgate --queue client1 --action correspond --url https://rt.example.com/rt/"
 +client1-comment: "|/opt/rt5/bin/rt-mailgate --queue client1 --action comment --url https://rt.example.com/rt/"
 +client2: "|/opt/rt5/bin/rt-mailgate --queue 'Client 2' --action correspond --url https://rt.example.com/rt/"
 +client2-comment: "|/opt/rt5/bin/rt-mailgate --queue 'Client 2' --action comment --url https://rt.example.com/rt/"
 +</code>
 +
 +Now, mail sent to client1@example.com would be forwarded to client1@rt.example.com, which would be picked up by line 3 above and sent to RT, placing the ticket into the queue Client1. e-mail to client2@example.com would be sent to client2@rt.example.com which would go into RT, and place the new ticket in the queue Client 2.
software/requesttracker/autoqueue.1724978283.txt.gz · Last modified: 2024/08/29 19:38 by rodolico