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.

Chance Ervin

Level II Support & IT Manager

Intelenet Communications

NOC 949 784-7911

support@intelenet.net

----This message and any files or text attached to it are intended only
for the recipients named above, and contain information that may be
confidential or privileged. If you are not an intended recipient, you
must not read, copy, use or disclose this communication. Please also
notify the sender by replying to this message, and then delete all
copies of it from your system. Thank you.

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

Thank you.

Chance Ervin

Level II Support & IT Manager

Intelenet Communications

NOC 949 784-7911

support@intelenet.net

----This message and any files or text attached to it are intended only
for the recipients named above, and contain information that may be
confidential or privileged. If you are not an intended recipient, you
must not read, copy, use or disclose this communication. Please also
notify the sender by replying to this message, and then delete all
copies of it from your system. Thank you.From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] 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.

Chance Ervin

Level II Support & IT Manager

Intelenet Communications

NOC 949 784-7911

support@intelenet.net

----This message and any files or text attached to it are intended only
for the recipients named above, and contain information that may be
confidential or privileged. If you are not an intended recipient, you
must not read, copy, use or disclose this communication. Please also
notify the sender by replying to this message, and then delete all
copies of it from your system. Thank you.

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.

_ErikFrom: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] 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: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] 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.