[rt-users] Move tickets to Queue
polloxx
polloxx at gmail.com
Wed Feb 24 10:42:47 EST 2010
I've solved this by using procmail instead of /etc/aliases. It might
not be the most elegant solution but it works for me:
:0
* ^(F|f)rom.*gmail\.com
| /opt/rt3/bin/rt-mailgate --queue 'Gmail' --action correspond --url
http://domain.tld
:0
*
| /opt/rt3/bin/rt-mailgate --queue 'General' --action correspond --url
http://domain.tld
On Tue, Feb 23, 2010 at 3:38 PM, JJussi <rt-users at jjussi.com> wrote:
> How about your own version of 'rt-mailgate'.
> Take existing rt-mailgate and add little bit code in it what selects right
> queue base on sender address.
>
> Then you just need that one /etc/aliases line:
>
> support:"|my-rt-mailgate --action comment --url http://domain.com/"
>
> This is not what you have asked, but better choose right queue outside RT than
> inside.
>
> On Tuesday, 23. Februaryta 2010 15:16:42 polloxx wrote:
>
>> Thanks for all your suggestions.
>> How can I do this using Scrips, so without the need to go to /etc/aliases?
>>
>> @Kevin: How do I check the return value of Setqueue?
>> @Jerrad: We only have a limited number of customers and needed queues.
>>
>>
>> On Tue, Feb 23, 2010 at 3:31 AM, Jerrad Pierce
>>
>> <jpierce at cambridgeenergyalliance.org> wrote:
>> > On Mon, Feb 22, 2010 at 16:30, Jerrad Pierce
>> >
>> > <jpierce at cambridgeenergyalliance.org> wrote:
>> >>> As I'm new to RT I'm trying to setup a system for our needs.
>> >>> We want a queue for each customer. Tickets are created by email.
>> >
>> > However, if you really want to do this, and assuming you
>> > have a relatively fixed set of requestors/queues, the easiest way to
>> > handle this would be running rt-mailgate
>> > with --extension=queue; of course, your current method of scrips
>> > permits you to programatically create a
>> > morasse of queues.
>> >
>> > --
>> > Cambridge Energy Alliance: Save money. Save the planet.
>>
>> _______________________________________________
>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>>
>> Community help: http://wiki.bestpractical.com
>> Commercial support: sales at bestpractical.com
>>
>> 2010 RT Training Sessions!
>> San Francisco, CA, USA - Feb 22 & 23
>> Dublin, Ireland - Mar 15 & 16
>> Boston, MA, USA - April 5 & 6
>> Washington DC, USA - Oct 25 & 26
>>
>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>> Buy a copy at http://rtbook.bestpractical.com
>>
>
>
> --
> JJussi
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
> 2010 RT Training Sessions!
> San Francisco, CA, USA - Feb 22 & 23
> Dublin, Ireland - Mar 15 & 16
> Boston, MA, USA - April 5 & 6
> Washington DC, USA - Oct 25 & 26
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
More information about the rt-users
mailing list