Mail to ticket number

Hi,

I would like to implement a solution in rt2 that allows users to send
mail to a ticket number directly, e.g. 9999@rt.domain.com. Does anybody
know a solution for that or has a hint for me?

Thanks, Julian

Well, you happen to be in luck. I ended up dropping just that
functionality into the codebase the other night for a friend.

It works as alias+1234@domain, but pretty much any MTA should
be able to do the rewriting you want to get 1234@domain.

The code is in CVS, but the patches you want are:

if ($flag eq '--ticket-id-from-extension') {
       $TicketId = $ENV{'EXTENSION'};
 }

after

if (($flag eq '-q') or ($flag eq '--queue')) {
	$Queue = shift @ARGV;
} 

and
$TicketId = ParseTicketId($Subject) unless ($TicketId);

instead of

$TicketId = ParseTicketId($Subject);On Sun, Dec 02, 2001 at 12:45:48PM +0100, Julian Hein wrote:

Hi,

I would like to implement a solution in rt2 that allows users to send
mail to a ticket number directly, e.g. 9999@rt.domain.com. Does anybody
know a solution for that or has a hint for me?

Thanks, Julian


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.