All

Thank you for your help. 

To document root cause and fix.

In Sendmail alias file when you use an IP address for url it fails. When you
replace the IP with "localhost" it works.
Rt-mailgate --url http://172.1.1.13/rt3 fails
rt-mailgate --url http://localhost/rt3 works

by the way, just to make it interesting rt-mailgate --url
http://172.1.1.13/rt3 works at the command line. 

Again thanks

Best
Tom

-----Original Message-----
From: tmccarthy [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 25, 2008 3:54 PM
To: 'tmccarthy'; 'Ruslan Zakirov'
Cc: [email protected]
Subject: RE: [rt-users] New Clean Install RT 3.6.5 -- Incoming Email
FailingTo Create Ticket

To answer a couple of my own questions.

Google advanced works on bestpractical.com. List.bestpractical.com does not
work.???

Many entries on "Valid User" and I am not using LDAP. (though thinking of it
for the future) Looks like I have got the permission correct. But will try
other variations.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of tmccarthy
Sent: Monday, February 25, 2008 2:00 PM
To: 'Ruslan Zakirov'
Cc: [email protected]
Subject: Re: [rt-users] New Clean Install RT 3.6.5 -- Incoming Email
FailingTo Create Ticket

Ruslan 

Thank you, My only poor excuse is to blame the decongestants, though now I
have a new error( the old ones taught me about alias entries, smrsh etc.) C

# 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.
not ok - Could not load a valid user at /usr/sbin/rt-mailgate line 111, <>
line 1.

I have given "everyone" permission to create ticket and comment on a ticket
and modifyACL on the telephony-problem queue. Is there another place I must
give permission? Can your clear insight help me? In the meantime I will
search the posts.

Also is there an way to search thought the posts? I tried Google advanced
with a restriction on the url? But not sure it is scanning everything.

Best
Tom   

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Ruslan Zakirov
Sent: Monday, February 25, 2008 12:32 PM
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: Re: [rt-users] New Clean Install RT 3.6.5 -- Incoming Email Failing
To Create Ticket

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

On Mon, Feb 25, 2008 at 9:21 PM,  <[EMAIL PROTECTED]> 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.
>  [EMAIL PROTECTED] ~]# 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
>  [EMAIL PROTECTED]
>
> 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, '[EMAIL PROTECTED]');
>  Set($CommentAddress, '[EMAIL PROTECTED]');
>  #Set($LogToSyslog, '');
>  #Set($LogToFile, 'debug');
>  #Set($LogDir, '/var/log/rt3');
>  #Set($LogToFileNamed , 'rt.log');
>  Set($OwnerEmail, "[EMAIL PROTECTED]");
>  Set($MyTicketsLength, 20);
>
>
>  1;
>
>
>
>
> _______________________________________________
>  http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
>  Community help: http://wiki.bestpractical.com
>  Commercial support: [EMAIL PROTECTED]
>
>
>  Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>  Buy a copy at http://rtbook.bestpractical.com
>



-- 
Best regards, Ruslan.


_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com




_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to