I have a scrip that does just this.  We have the two addresses: help and
dc_help pointing to the same queue, but dc_help should be assigned to
one person in particular.

 

The Condition is "On Create" and the Action is "User Defined" with a
global template of "Blank". 

The custom action preparation code is: "1;" and the custom action
cleanup code is: 

 

my $header = 'To';

if ($self->TransactionObj->Attachments->First->GetHeader($header) =~
/dc_help/) {

                $self->TicketObj->SetOwner(7602);

}

1;

 

Hope that's helpful.

 

_Erik

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chance
Ervin
Sent: Wednesday, June 20, 2007 9:18 PM
To: Chance Ervin; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] Assigning owner on inbound email

 

Looks like this is done with Scrips and not with the mailgate.

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chance
Ervin
Sent: Wednesday, June 20, 2007 5:29 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Assigning owner on inbound email

 

MTA: sendmail

 

I have configured the aliases file so that emails sent to a certain
address are automatically placed in the proper queue. I used the
following:

 

rt-requisitions: "|/opt/rt3/bin/rt-mailgate --queue 'Purchase
Requisitions' --action correspond --url https://helpdesk.intelenet.net/";

 

What I would like to do is assign the owner as well based on this
address. I have not been able to find a way to do this with the examples
in the RT Essentials book or the Wiki.

 

If this is possible, could someone point me in the right direction?

 

Thank you.

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to