[rt-users] rt-mailgate error
I've got just about everything setup with the exception of rt-mailgate. I'm not sure if this is an abnormal setup but I've got a forward facing MTA that contains an alias for my RT address which is forwards to the RT maching internally called 'services'. I use a basic sendmail setup with a unix user called 'rt' that contains a .forward file with the rt-mailgate pipe in it. Below is the error I receive back from sendmail on the 'services' machine. I have 2 questions about this 1) What is causing the error. Is it the setup I have? 2) Do I need to reconfigure RT to understand that the MTA receiving the mail for RT is services.censored.com? Or will it respect the original address the mail was sent to? I've tried to google the error message but it seems there are quite a few things that can cause this and I can't seem to find a post that matches mine. The original message was received at Mon, 9 Aug 2010 11:41:26 -0700 from [10.2.0.54] - The following addresses had permanent fatal errors - |/www/php5/rt.censored.com/rt/bin/rt-mailgate --queue general --action correspond --url http://rt.censored.com/ (reason: Can't create output) (expanded from: r...@services.censored.com) - Transcript of session follows - 550 5.0.0 |/www/php5/rt.censored.com/rt/bin/rt-mailgate --queue general --action correspond --url http://rt.censored.com/... Can't create output Final-Recipient: RFC822; r...@services.censored.com X-Actual-Recipient: X-Unix; //rt.censored.com/ Action: failed Status: 5.3.0 Diagnostic-Code: X-Unix; 73 Last-Attempt-Date: Mon, 9 Aug 2010 11:41:28 -0700 -- Forwarded message -- From: lord nynex lordny...@gmail.com To: r...@censored.com Date: Mon, 9 Aug 2010 11:41:26 -0700 Subject: test ticket test ticket -- -Nynex Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] Installation problems
If I'm asking in the wrong place please let me know. I've installed RT and so far everything looks good. I have not yet setup my mail gateway because it requires some upstream mail server changes that are not my department. I assumed, however, that outbound mail from RT would work. I've created a test ticket in the system, and tried to add a requestor/email address to the ticket and recieve the following error. It's possible this is a bug but with so many moving pieces of RT I'm willing to bet I did something wrong. Quantifier follows nothing in regex; marked by -- HERE in m/* -- HERE @rt.censored.com/ at /www/php5/rt.censored.com/rt/bin/../lib/RT/EmailParser.pm line 331. Any help would be greatly appreciated. -- -Nynex Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Installation problems
This is for RT 3.8.8 I was actually pretty confused about what the RTAddressRegexp should look like, and how it should be written (in quotes, in //'s, etc). Set( $rtname, 'rt.censored.com'); Set($Timezone , 'US/Pacific'); Set($DatabaseHost , 'services'); Set($DatabaseRTHost , 'localhost'); Set($DatabaseUser , 'rt'); Set($DatabasePassword , 'censored'); Set($DatabaseName , 'rt'); Set($OwnerEmail , 'censored'); Set($CorrespondAddress , 'r...@censored.com'); Set($CommentAddress , 'r...@censored.com'); Set( $WebDomain, 'rt.censored.com' ); Set($RTAddressRegexp , '*...@censored.com'); This is my first stab at RT so I'm not sure if I'm missing any other essential config values, but this is all I have in that file. On Fri, Aug 6, 2010 at 5:17 PM, Thomas Sibley t...@bestpractical.com wrote: On 08/06/2010 05:03 PM, Victor Victrolla wrote: Quantifier follows nothing in regex; marked by-- HERE in m/*-- HERE @rt.censored.com/ at /www/php5/rt.censored.com/rt/bin/../lib/RT/EmailParser.pm line 331. Can we see your RT_SiteConfig.pm? Also, what version of RT? It looks like you might have configured $RTAddressRegexp with an invalid regular expression. Thomas Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com -- -Nynex Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com