[rt-users] New Clean Install RT 3.6.5 -- Incoming Email Failing To Create Ticket

Ruslan Zakirov ruz at bestpractical.com
Mon Feb 25 13:32:17 EST 2008


You have no : in --url
http:// instead of http//

On Mon, Feb 25, 2008 at 9:21 PM,  <mccarthy at cablespeed.com> wrote:
>
>
> All
>
>  This is a new install of RT on CentOS 5.1 using the rpm from the
> tlviewer.org (thank you). Most of it went well, rt works fine can create
> tickets, queues, groups, etc. I am new to RT and still configuring. But
> incoming email is failing to create ticket. Outgoing notification work fine
> I am usining sendmail, and have tested the alias but the issue appears to be
> at rt-mailgate  As just a line command fails. I have reviewed the list and
> seen that the new version of RT uses http to interact and send mail. Here is
> the test message and the failures.
>
>
>
>  cat /usr/bin/test | /usr/sbin/rt-mailgate --debug --queue telephony
> --url http//172.16.2.123/rt3/
>  Connecting to http//172.16.2.123/rt3//REST/1.0/NoAuth/mail-gateway at
> /usr/sbin/                                    rt-mailgate line 102, <> line
> 1.
>  Use of uninitialized value in pattern match (m//) at
> /usr/lib/perl5/vendor_perl/
> 5.8.8/HTTP/Cookies.pm line 45, <> line 1.
>  An Error Occurred
>  =================
>
> 400 URL must be absolute
>  This is /usr/sbin/rt-mailgate exiting because of an undefined server error
> at /u                                    sr/sbin/rt-mailgate line 150, <>
> line 1.
>  [root at rt ~]# cat /usr/bin/test | /usr/sbin/rt-mailgate --debug --queue
> telephony-problem --url http//172.16.2.123/rt3/
>  Connecting to http//172.16.2.123/rt3//REST/1.0/NoAuth/mail-gateway at
> /usr/sbin/rt-mailgate line 102, <> line 1.
>  Use of uninitialized value in pattern match (m//) at
> /usr/lib/perl5/vendor_perl/5.8.8/HTTP/Cookies.pm line 45, <> line 1.
>  An Error Occurred
>  =================
>
> 400 URL must be absolute
>  This is /usr/sbin/rt-mailgate exiting because of an undefined server error
> at /usr/sbin/rt-mailgate line 150, <> line 1.
>
>
>
>  I can supply any information needed:Below is RT_SiteConfig etc. Please tell
> me what to include. Also though may be unrelated, I have two other
> installation issues; the root redirect (/ vs. "/rt3" does not work from
> RT_SiteConfig and the log redirect fails (see commented out configs below).
> Again I can supply any information needed. Not sure what you may need.
>
>  Thanks in advance.
>  Tom
>  mccarthy at cablespeed.com
>
> cat /etc/rt3/RT_SiteConfig.pm
>  # Any configuration directives you include  here will override
>  # RT's default configuration file, RT_Config.pm
>  #
>  # To include a directive here, just copy the equivalent statement
>  # from RT_Config.pm and change the value. We've included a single
>  # sample value below.
>  #
>  # This file is actually a perl module, so you can include valid
>  # perl code, as well.
>  #
>  # The converse is also true, if this file isn't valid perl, you're
>  # going to run into trouble. To check your SiteConfig file, use
>  # this comamnd:
>  #
>  #   perl -c /path/to/your/etc/RT_SiteConfig.pm
>
> Set( $rtname, 'BroadStripe');
>
> # Set( $Organization , "example.com");
>
> # Look into the zoneinfo database for valid values (/usr/share/zoneinfo/)
>  Set( $Timezone , 'US/Central');
>
> Set( $WebBaseURL , "http://rt.millennium.corp");
>
> Set( $WebPath , "/rt3");
>  #My Customizations
>  Set($CorrespondAddress, 'rt at broadstripe.com');
>  Set($CommentAddress, 'rtcomment at broadstripe.com');
>  #Set($LogToSyslog, '');
>  #Set($LogToFile, 'debug');
>  #Set($LogDir, '/var/log/rt3');
>  #Set($LogToFileNamed , 'rt.log');
>  Set($OwnerEmail, "rtadmin at broadstripe.com");
>  Set($MyTicketsLength, 20);
>
>
>  1;
>
>
>
>
> _______________________________________________
>  http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
>  Community help: http://wiki.bestpractical.com
>  Commercial support: sales at bestpractical.com
>
>
>  Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>  Buy a copy at http://rtbook.bestpractical.com
>



-- 
Best regards, Ruslan.



More information about the rt-users mailing list