[rt-users] Editing Email.pm to not ParseTicketId if Requestor is equal to 'X'

2012-04-05 Thread Luong Bui Duc
Dear RT, I'm trying to edit /opt/rt4/lib/RT/Interface/Email.pm sub called ParseTicketId to not return ticket $id if Requestor email is equal to 'x...@y.com' but unfortunately after editing it, mailgate start throwing me errors. Here is my code(in Bold is what i added to original RT code): *sub Pa

Re: [rt-users] Editing Email.pm to not ParseTicketId if Requestor is equal to 'X'

2012-04-05 Thread Ruslan Zakirov
Hi, I don't know when we lost this or patch was never applied, but ParseTicketId is called with subject only. ParseTicketId is called in one place: $args{'ticket'} ||= ParseTicketId( $Subject ); Change the line to: $args{'ticket'} ||= ParseTicketId( $Subject, $Message ); This way second argum

[rt-users] smtp function doesn't work

2012-04-05 Thread john s.
-- View this message in context: http://old.nabble.com/smtp-function-doesn%27t-work-tp33570502p33570502.html Sent from the Request Tracker - User mailing list archive at Nabble.com.

Re: [rt-users] smtp function doesn't work

2012-04-05 Thread Thomas Sibley
John, you have to include details or no one can help you. That said, you really don't want the SMTP mailer since it doesn't do queuing like a real MTA. Install a local MTA configured to relay to your SMTP host and use sendmail delivery from RT.

Re: [rt-users] users with multiple email addresses using mergeusers

2012-04-05 Thread Mark D. Nagel
On 3/9/2012 7:04 AM, Kevin Falcone wrote: > They're stored in a second User account, so create a new user with the secondary email address and merge them. There are command line tools for merging users, so if you can script the user creation with perl or an initialdata file, you can then use the co

Re: [rt-users] users with multiple email addresses using mergeusers

2012-04-05 Thread Thomas Sibley
On 04/05/2012 08:45 PM, Mark D. Nagel wrote: > Here's a related question that perhaps you or someone else can shed some > light on. We have some code in procmail that wants to verify senders > against tickets in advance, so part of the query includes > '(Requestor.EmailAddress = '$from' OR Cc.Ema

Re: [rt-users] users with multiple email addresses using mergeusers

2012-04-05 Thread Mark D. Nagel
On 4/5/2012 5:50 PM, Thomas Sibley wrote: > > Why are you doing this type of access control at the procmail level > instead of just configuring rights appropriately within RT? If you only > hand out ReplyToTicket and CommentOnTicket to the appropriate watcher > roles (Requestor + Cc here), then RT

[rt-users] Outgoing reply/comments HTML

2012-04-05 Thread Luong Bui Duc
Dear RT, I'm trying to configure RT 4.0 to send all outgoing mails using HTML instead of plain text to include all hyperlinks/tables. I edited Sendmail.pm to following: my $type = 'text/html'; RT now send all emails in HTML but all formatting is still lost, could you pls let me know which part

Re: [rt-users] Outgoing reply/comments HTML

2012-04-05 Thread Kevin Falcone
On Fri, Apr 06, 2012 at 09:35:11AM +0700, Luong Bui Duc wrote: >I'm trying to configure RT 4.0 to send all outgoing mails using HTML > instead of plain text to >include all hyperlinks/tables. I edited Sendmail.pm to following: >my $type = 'text/html'; >RT now send all emails in HTM