I see. Well i will have to learn basics of perl first to enable me to play around with code. We have the rt-mailgate script under /etc/smrsh/ and not touching the script under rt3/bin/ . Will that be ok ? He will not be interested in contacting their sales team in this matter. So as i understand :
Put code in rt-mailgate to extract ticket number from subject . Then use this ticket number as a parameter in aliases to forward it to the old url. It does sound simply but sure is one hella of a task for someone who has no knowledge of perl. Though i am willing to learn it ! Thanks for your help mates. Any more info you or anyone can provide in this perl matter ? cheers Emmanuel Lacour wrote: > > On Tue, May 10, 2011 at 10:00:46AM -0700, aseim99 wrote: >> >> Please do not tell me to look into procmail , etc coz my manager is bound >> for this way only. >> > > tell your manager to call me, I will explain him that he is going the > wrong way ;) > > seriously, to do what you want it's really easier to do it with tool > such as procmail or directly in the mta (like postfix/exim). > > but if you can't, it's still possible to hack your RT to do this, but > it's not a trivial change and you appear to be missing a lot of RT/perl > knowledge to do that. rt-mailgate does no really magic things, he take > the email and basically send it to the proper url of RT, then in RT, > subject is analyzed to find the ticket number ... etc > > so you have to add code in bin/rt-mailgate to extract the subject from > the email (a naive inspection of ^Subject: may not be enough, you will > have to deal with subject encoding with proper per module), then use a > regexp to extract the ticket number and change the target url by > following your rule. > > another way to do is to ask for example [email protected] to get > commercial support ... > > > -- View this message in context: http://old.nabble.com/Old-RT-and-New-RT---tp31558446p31592205.html Sent from the Request Tracker - User mailing list archive at Nabble.com.
