Hi,
Would it not be possible to make the email parser read the “In-Reply-To:” and
use that to put a reply in the correct place if that matches but the ticket
number in the subject is missing?
Oli
Olafur Osvaldsson
Systems Administrator
Internet Iceland inc.
Tel: +354 525-5291
Email: oli@isnic.is
How would you determine to wich ticket # the reply belong if the person
corresponded with you more than once.
Steve Poirier
Directeur d�veloppement / Projet Manager
Inet Technologies Inc.From: “Olafur Osvaldsson” oli@isnic.is
To: rt-users@lists.fsck.com
Sent: August 13, 2001 21:00
Subject: [rt-users] Incoming email to RT
Hi,
Would it not be possible to make the email parser read the “In-Reply-To:”
and
use that to put a reply in the correct place if that matches but the
ticket
number in the subject is missing?
Oli
–
Olafur Osvaldsson
Systems Administrator
Internet Iceland inc.
Tel: +354 525-5291
Email: oli@isnic.is
If I remember correctly it allways starts with “rt-”, following with the ticket
number, a transaction ID and a random number, then the @ sign and ends with
$rtname
So when a mail client puts a “In-Reply-To: rt-2-24.15.2142123878002@ISNIC” in
the header of the message, RT should know it is for ticket number 2, right?
OliOn Mon, 13 Aug 2001, Steve Poirier wrote:
How would you determine to wich ticket # the reply belong if the person
corresponded with you more than once.
__
Steve Poirier
Directeur d�veloppement / Projet Manager
Inet Technologies Inc.
----- Original Message -----
From: “Olafur Osvaldsson” oli@isnic.is
To: rt-users@lists.fsck.com
Sent: August 13, 2001 21:00
Subject: [rt-users] Incoming email to RT
Hi,
Would it not be possible to make the email parser read the “In-Reply-To:”
and
use that to put a reply in the correct place if that matches but the
ticket
number in the subject is missing?
Oli
–
Olafur Osvaldsson
Systems Administrator
Internet Iceland inc.
Tel: +354 525-5291
Email: oli@isnic.is
And on top of that, RT actually keeps track of message IDs in the database.
It wouldn’t be that hard to pull off. Though you would run into issues with
users who reply and cut out all the content and the ticket id in an attempt to
create a new ticket (It happens more often than you’d think). I’d look
at a patch if you put it together.
-jOn Tue, Aug 14, 2001 at 02:25:00AM +0000, Olafur Osvaldsson wrote:
When a reply is made from RT it makes a MessageId wich consists of a few things:
If I remember correctly it allways starts with “rt-”, following with the ticket
number, a transaction ID and a random number, then the @ sign and ends with
$rtname
So when a mail client puts a “In-Reply-To: rt-2-24.15.2142123878002@ISNIC” in
the header of the message, RT should know it is for ticket number 2, right?
Oli
On Mon, 13 Aug 2001, Steve Poirier wrote:
How would you determine to wich ticket # the reply belong if the person
corresponded with you more than once.
__
Steve Poirier
Directeur développement / Projet Manager
Inet Technologies Inc.
----- Original Message -----
From: “Olafur Osvaldsson” oli@isnic.is
To: rt-users@lists.fsck.com
Sent: August 13, 2001 21:00
Subject: [rt-users] Incoming email to RT
Hi,
Would it not be possible to make the email parser read the “In-Reply-To:”
and
use that to put a reply in the correct place if that matches but the
ticket
number in the subject is missing?
Oli
–
Olafur Osvaldsson
Systems Administrator
Internet Iceland inc.
Tel: +354 525-5291
Email: oli@isnic.is
Yes that’s right, would be a nice feature if of course you can choose to
turn this option off. I know some customers who always use reply and just
delete the subject to start a new issue.
Steve Poirier
Project manager
Inet-Technologies inc.On Tue, 14 Aug 2001, Olafur Osvaldsson wrote:
When a reply is made from RT it makes a MessageId wich consists of a few things:
If I remember correctly it allways starts with “rt-”, following with the ticket
number, a transaction ID and a random number, then the @ sign and ends with
$rtname
So when a mail client puts a “In-Reply-To: rt-2-24.15.2142123878002@ISNIC” in
the header of the message, RT should know it is for ticket number 2, right?
Oli
On Mon, 13 Aug 2001, Steve Poirier wrote:
How would you determine to wich ticket # the reply belong if the person
corresponded with you more than once.
__
Steve Poirier
Directeur développement / Projet Manager
Inet Technologies Inc.
----- Original Message -----
From: “Olafur Osvaldsson” oli@isnic.is
To: rt-users@lists.fsck.com
Sent: August 13, 2001 21:00
Subject: [rt-users] Incoming email to RT
Hi,
Would it not be possible to make the email parser read the “In-Reply-To:”
and
use that to put a reply in the correct place if that matches but the
ticket
number in the subject is missing?
Oli
–
Olafur Osvaldsson
Systems Administrator
Internet Iceland inc.
Tel: +354 525-5291
Email: oli@isnic.is
Ooops, sound like I should read all messages before answering, sounds
like Jesse knows everything about RT, of course he wrote it, and use it
Regards all,
SteveOn Tue, 14 Aug 2001, Jesse wrote:
And on top of that, RT actually keeps track of message IDs in the database.
It wouldn’t be that hard to pull off. Though you would run into issues with
users who reply and cut out all the content and the ticket id in an attempt to
create a new ticket (It happens more often than you’d think). I’d look
at a patch if you put it together.
-j
On Tue, Aug 14, 2001 at 02:25:00AM +0000, Olafur Osvaldsson wrote:
When a reply is made from RT it makes a MessageId wich consists of a few things:
If I remember correctly it allways starts with “rt-”, following with the ticket
number, a transaction ID and a random number, then the @ sign and ends with
$rtname
So when a mail client puts a “In-Reply-To: rt-2-24.15.2142123878002@ISNIC” in
the header of the message, RT should know it is for ticket number 2, right?
Oli
On Mon, 13 Aug 2001, Steve Poirier wrote:
How would you determine to wich ticket # the reply belong if the person
corresponded with you more than once.
__
Steve Poirier
Directeur développement / Projet Manager
Inet Technologies Inc.
----- Original Message -----
From: “Olafur Osvaldsson” oli@isnic.is
To: rt-users@lists.fsck.com
Sent: August 13, 2001 21:00
Subject: [rt-users] Incoming email to RT
Hi,
Would it not be possible to make the email parser read the “In-Reply-To:”
and
use that to put a reply in the correct place if that matches but the
ticket
number in the subject is missing?
Oli
–
Olafur Osvaldsson
Systems Administrator
Internet Iceland inc.
Tel: +354 525-5291
Email: oli@isnic.is
Here is a simple patch, it works but I didn’t put in a way to disable it…
This is enaugh for me at this point and I don’t have time to do more but I will
write more code to this if I need it later.
Oli
*** rt-mailgate.orig Tue Aug 14 13:37:20 2001
— rt-mailgate Tue Aug 14 11:14:50 2001
*** 92,97 ****
— 92,105 ----
Get the ticket ID
$TicketId = ParseTicketId($Subject);
if (!$TicketId) {
my $InReplyTo = $head->get('In-Reply-To') || undef;
} #Set up a queue object
my $QueueObj = RT::Queue->new($CurrentUser);
$QueueObj->Load($Queue);On Tue, 14 Aug 2001, Jesse wrote:
And on top of that, RT actually keeps track of message IDs in the database.
It wouldn’t be that hard to pull off. Though you would run into issues with
users who reply and cut out all the content and the ticket id in an attempt to
create a new ticket (It happens more often than you’d think). I’d look
at a patch if you put it together.
-j
On Tue, Aug 14, 2001 at 02:25:00AM +0000, Olafur Osvaldsson wrote:
When a reply is made from RT it makes a MessageId wich consists of a few things:
If I remember correctly it allways starts with “rt-”, following with the ticket
number, a transaction ID and a random number, then the @ sign and ends with
$rtname
So when a mail client puts a “In-Reply-To: rt-2-24.15.2142123878002@ISNIC” in
the header of the message, RT should know it is for ticket number 2, right?
Oli
On Mon, 13 Aug 2001, Steve Poirier wrote:
How would you determine to wich ticket # the reply belong if the person
corresponded with you more than once.
__
Steve Poirier
Directeur d�veloppement / Projet Manager
Inet Technologies Inc.
----- Original Message -----
From: “Olafur Osvaldsson” oli@isnic.is
To: rt-users@lists.fsck.com
Sent: August 13, 2001 21:00
Subject: [rt-users] Incoming email to RT
Hi,
Would it not be possible to make the email parser read the “In-Reply-To:”
and
use that to put a reply in the correct place if that matches but the
ticket
number in the subject is missing?
Oli
–
Olafur Osvaldsson
Systems Administrator
Internet Iceland inc.
Tel: +354 525-5291
Email: oli@isnic.is