[rt-users] Changing Queue based on Incoming Email address

Kevin Falcone falcone at bestpractical.com
Wed Feb 6 12:40:01 EST 2008


	
On Feb 5, 2008, at 7:48 PM, Fixer (Robert Smith) wrote:

> I can’t seem to get the syntax correct for a User Defined scrip to  
> change queue on an existing ticket, based on which email address  
> they send to.  I have two queues, post at mydomain and  
> review at mydomain.  We have an external database that sends emails  
> based on where a project is in our workflow, so we need the tickets  
> to drift thru the queues based on emails from the db.
>
> Any existing scrips or extensions I might be able to look at?

I might be misunderstanding your intent, but can't you use two  
different mailgate lines in your alias file?

post:         "|/opt/rt3/bin/rt-mailgate --queue post --action  
correspond --url http://rt.example.com/"
review:     "|/opt/rt3/bin/rt-mailgate --queue review --action  
correspond --url http://rt.example.com/"

That should start the ticket in the correct queue

-kevin


More information about the rt-users mailing list