Email ticket problems

(sorry if this is a repeat, my email crashed, not sure if it got sent)
Hello all,

I am using RT 3.2.3 on Fedora Core 2.

The install is working and I can create tickets via the web and the
users receive email from RT confirming the tickets creation and changes.

However when I email rt@myserver no tickets get created. Now the box is
receiving the emails I have checked that.

This is a copy of my aliases file entries:

rt: “|/usr/local/rt3/bin/rt-mailgate --queue general --action
correspond --url http://localhost/

rt-comment: “|/usr/local/rt3/bin/rt-mailgate --queue general --action
comment --url http://localhost/

How can I check why nothing is being generated?

I guess you have noticed I am very green when it come to RT.

Thanks!

Labonte, Phil wrote:

(sorry if this is a repeat, my email crashed, not sure if it got sent)
Hello all,

I am using RT 3.2.3 on Fedora Core 2.

The install is working and I can create tickets via the web and the
users receive email from RT confirming the tickets creation and changes.

However when I email rt@myserver no tickets get created. Now the box is
receiving the emails I have checked that.

This is a copy of my aliases file entries:

rt: “|/usr/local/rt3/bin/rt-mailgate --queue general --action
correspond --url http://localhost/

rt-comment: “|/usr/local/rt3/bin/rt-mailgate --queue general --action
comment --url http://localhost/

How can I check why nothing is being generated?

I guess you have noticed I am very green when it come to RT.

Thanks!


The following thread from the archives should walk you through
troubleshooting. Try the steps in there and then if you are still stuck
report back with what you tried and what the results were. Also, mention
what mail server you are using.

http://gossamer-threads.com/lists/rt/users/42271?do=post_view_threaded

Sam

Ok.
So I followed the instructions given in the link provided.

If I try to invoke rt-mailgate from the command line this is what I am
entering:
/usr/local/rt3/bin/rt-mailgate --queue general --action correspond --url
http://localhost/

When I enter this command I get nothing back and it looks like it hangs.

So email gets to my server but when rt-mailgate is invoked I guess
nothing is happening.

I checked /var/log/messages and there is no error reported.

Any help would be greatly appreciated.

PhilFrom: Sam Snow [mailto:sam.snow@christianheritageschool.org]
Sent: Thursday, March 24, 2005 3:01 PM
To: Labonte, Phil; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] email ticket problems

Labonte, Phil wrote:

(sorry if this is a repeat, my email crashed, not sure if it got sent)
Hello all,

I am using RT 3.2.3 on Fedora Core 2.

The install is working and I can create tickets via the web and the
users receive email from RT confirming the tickets creation and
changes.

However when I email rt@myserver no tickets get created. Now the box
is
receiving the emails I have checked that.

This is a copy of my aliases file entries:

rt: “|/usr/local/rt3/bin/rt-mailgate --queue general --action
correspond --url http://localhost/

rt-comment: “|/usr/local/rt3/bin/rt-mailgate --queue general --action
comment --url http://localhost/

How can I check why nothing is being generated?

I guess you have noticed I am very green when it come to RT.

Thanks!


The following thread from the archives should walk you through
troubleshooting. Try the steps in there and then if you are still stuck
report back with what you tried and what the results were. Also, mention

what mail server you are using.

http://gossamer-threads.com/lists/rt/users/42271?do=post_view_threaded

Sam

Labonte, Phil wrote:

Ok.
So I followed the instructions given in the link provided.

If I try to invoke rt-mailgate from the command line this is what I am
entering:
/usr/local/rt3/bin/rt-mailgate --queue general --action correspond --url
http://localhost/

For some reason, I am thinking that I put the value from $WebBaseURL here.

I am using sendmailFrom: Labonte, Phil
Sent: Thursday, March 24, 2005 3:20 PM
To: Sam Snow; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] email ticket problems

Ok.
So I followed the instructions given in the link provided.

If I try to invoke rt-mailgate from the command line this is what I am
entering:
/usr/local/rt3/bin/rt-mailgate --queue general --action correspond --url
http://localhost/

When I enter this command I get nothing back and it looks like it hangs.

So email gets to my server but when rt-mailgate is invoked I guess
nothing is happening.

I checked /var/log/messages and there is no error reported.

Any help would be greatly appreciated.

Phil

From: Sam Snow [mailto:sam.snow@christianheritageschool.org]
Sent: Thursday, March 24, 2005 3:01 PM
To: Labonte, Phil; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] email ticket problems

Labonte, Phil wrote:

(sorry if this is a repeat, my email crashed, not sure if it got sent)
Hello all,

I am using RT 3.2.3 on Fedora Core 2.

The install is working and I can create tickets via the web and the
users receive email from RT confirming the tickets creation and
changes.

However when I email rt@myserver no tickets get created. Now the box
is
receiving the emails I have checked that.

This is a copy of my aliases file entries:

rt: “|/usr/local/rt3/bin/rt-mailgate --queue general --action
correspond --url http://localhost/

rt-comment: “|/usr/local/rt3/bin/rt-mailgate --queue general --action
comment --url http://localhost/

How can I check why nothing is being generated?

I guess you have noticed I am very green when it come to RT.

Thanks!


The following thread from the archives should walk you through
troubleshooting. Try the steps in there and then if you are still stuck
report back with what you tried and what the results were. Also, mention

what mail server you are using.

http://gossamer-threads.com/lists/rt/users/42271?do=post_view_threaded

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

RT Administrator and Developer training is coming to your town soon!
(Boston, San Francisco, Austin, Sydney) Contact
training@bestpractical.com for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Hello,

See if any messages are stuck in your queues by mailq. What web address
allows you to access rt from a web-browser on your rt server? Use that
web address instead of localhost (if it is different).

AnthonyOn Thu, 24 Mar 2005, Labonte, Phil wrote:

I am using sendmail

-----Original Message-----
From: Labonte, Phil
Sent: Thursday, March 24, 2005 3:20 PM
To: Sam Snow; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] email ticket problems

Ok.
So I followed the instructions given in the link provided.

If I try to invoke rt-mailgate from the command line this is what I am
entering:
/usr/local/rt3/bin/rt-mailgate --queue general --action correspond --url
http://localhost/

When I enter this command I get nothing back and it looks like it hangs.

So email gets to my server but when rt-mailgate is invoked I guess
nothing is happening.

I checked /var/log/messages and there is no error reported.

Any help would be greatly appreciated.

Phil

-----Original Message-----
From: Sam Snow [mailto:sam.snow@christianheritageschool.org]
Sent: Thursday, March 24, 2005 3:01 PM
To: Labonte, Phil; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] email ticket problems

Labonte, Phil wrote:

(sorry if this is a repeat, my email crashed, not sure if it got sent)
Hello all,

I am using RT 3.2.3 on Fedora Core 2.

The install is working and I can create tickets via the web and the
users receive email from RT confirming the tickets creation and
changes.

However when I email rt@myserver no tickets get created. Now the box
is
receiving the emails I have checked that.

This is a copy of my aliases file entries:

rt: “|/usr/local/rt3/bin/rt-mailgate --queue general --action
correspond --url http://localhost/

rt-comment: “|/usr/local/rt3/bin/rt-mailgate --queue general --action
comment --url http://localhost/

How can I check why nothing is being generated?

I guess you have noticed I am very green when it come to RT.

Thanks!


The following thread from the archives should walk you through
troubleshooting. Try the steps in there and then if you are still stuck
report back with what you tried and what the results were. Also, mention

what mail server you are using.

http://gossamer-threads.com/lists/rt/users/42271?do=post_view_threaded

Sam


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

RT Administrator and Developer training is coming to your town soon!
(Boston, San Francisco, Austin, Sydney) Contact
training@bestpractical.com for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com


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

RT Administrator and Developer training is coming to your town soon! (Boston, San Francisco, Austin, Sydney) Contact training@bestpractical.com for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

I’m having the identical problem except that I also get a bounce message
saying that the service isn’t available.

smrsh: “rt-mailgate” not available for sendmail programs (stat failed)
554 5.0.0 Service unavailable.

Like the other fellow, I am running sendmail and if I envoke the command
manually (as root) it hangs.

I’ve made what I think are sane entries into RT_SiteConfig.pmOn Thursday 24 March 2005 12:19, Labonte, Phil wrote:

Ok.
So I followed the instructions given in the link provided.

If I try to invoke rt-mailgate from the command line this is what I am
entering:
/usr/local/rt3/bin/rt-mailgate --queue general --action correspond --url
http://localhost/

When I enter this command I get nothing back and it looks like it hangs.

So email gets to my server but when rt-mailgate is invoked I guess
nothing is happening.

I checked /var/log/messages and there is no error reported.

Any help would be greatly appreciated.

Phil

-----Original Message-----
From: Sam Snow [mailto:sam.snow@christianheritageschool.org]
Sent: Thursday, March 24, 2005 3:01 PM
To: Labonte, Phil; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] email ticket problems

Labonte, Phil wrote:

(sorry if this is a repeat, my email crashed, not sure if it got sent)
Hello all,

I am using RT 3.2.3 on Fedora Core 2.

The install is working and I can create tickets via the web and the
users receive email from RT confirming the tickets creation and

changes.

However when I email rt@myserver no tickets get created. Now the box

is

receiving the emails I have checked that.

This is a copy of my aliases file entries:

rt: “|/usr/local/rt3/bin/rt-mailgate --queue general --action
correspond --url http://localhost/

rt-comment: “|/usr/local/rt3/bin/rt-mailgate --queue general --action
comment --url http://localhost/

How can I check why nothing is being generated?

I guess you have noticed I am very green when it come to RT.

Thanks!


The following thread from the archives should walk you through
troubleshooting. Try the steps in there and then if you are still stuck
report back with what you tried and what the results were. Also, mention

what mail server you are using.

http://gossamer-threads.com/lists/rt/users/42271?do=post_view_threaded

Sam


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

RT Administrator and Developer training is coming to your town soon!
(Boston, San Francisco, Austin, Sydney) Contact training@bestpractical.com
for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

I tried changing that too.
So the documentation is terrible; this is what I have done.

Now all I did to get mail to work is edit the aliases file as I have
indicated below.

What else needs to get done? Is there a guide for that?

Phil

Thanks (as you can tell I am frustrated with this app)From: Anthony Leong [mailto:anthonyl@yorku.ca]
Sent: Thursday, March 24, 2005 3:28 PM
To: Labonte, Phil
Cc: Sam Snow; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] email ticket problems

Hello,

See if any messages are stuck in your queues by mailq. What web address
allows you to access rt from a web-browser on your rt server? Use that
web address instead of localhost (if it is different).

Anthony

I am using sendmail

-----Original Message-----
From: Labonte, Phil
Sent: Thursday, March 24, 2005 3:20 PM
To: Sam Snow; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] email ticket problems

Ok.
So I followed the instructions given in the link provided.

If I try to invoke rt-mailgate from the command line this is what I am
entering:
/usr/local/rt3/bin/rt-mailgate --queue general --action correspond
–url
http://localhost/

When I enter this command I get nothing back and it looks like it
hangs.

So email gets to my server but when rt-mailgate is invoked I guess
nothing is happening.

I checked /var/log/messages and there is no error reported.

Any help would be greatly appreciated.

Phil

-----Original Message-----
From: Sam Snow [mailto:sam.snow@christianheritageschool.org]
Sent: Thursday, March 24, 2005 3:01 PM
To: Labonte, Phil; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] email ticket problems

Labonte, Phil wrote:

(sorry if this is a repeat, my email crashed, not sure if it got
sent)

Hello all,

I am using RT 3.2.3 on Fedora Core 2.

The install is working and I can create tickets via the web and the
users receive email from RT confirming the tickets creation and
changes.

However when I email rt@myserver no tickets get created. Now the box
is
receiving the emails I have checked that.

This is a copy of my aliases file entries:

rt: "|/usr/local/rt3/bin/rt-mailgate --queue general
–action

correspond --url http://localhost/"

rt-comment: "|/usr/local/rt3/bin/rt-mailgate --queue general
–action

comment --url http://localhost/"

How can I check why nothing is being generated?

I guess you have noticed I am very green when it come to RT.

Thanks!


The following thread from the archives should walk you through
troubleshooting. Try the steps in there and then if you are still
stuck
report back with what you tried and what the results were. Also,
mention

what mail server you are using.

http://gossamer-threads.com/lists/rt/users/42271?do=post_view_threaded

Sam


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

RT Administrator and Developer training is coming to your town soon!
(Boston, San Francisco, Austin, Sydney) Contact
training@bestpractical.com for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com


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

RT Administrator and Developer training is coming to your town soon!
(Boston, San Francisco, Austin, Sydney) Contact
training@bestpractical.com for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

I’m having the identical problem except that I also get a bounce message
saying that the service isn’t available.

smrsh: “rt-mailgate” not available for sendmail programs (stat failed)
554 5.0.0 Service unavailable.

cd /etc/smrsh
ln -s /usr/local/rt3/bin/rt-mailgate rt-mailgate

That will get you around the smrsh issue.

Graham

There is a smrsh folder in your sendmail folder. Inside the smrsh folder,
create a softlink to rt-mailgate and give permissions for sendmail.On Thu, 24 Mar 2005, Frank Saxton wrote:

I’m having the identical problem except that I also get a bounce message
saying that the service isn’t available.

smrsh: “rt-mailgate” not available for sendmail programs (stat failed)
554 5.0.0 Service unavailable.

Like the other fellow, I am running sendmail and if I envoke the command
manually (as root) it hangs.

I’ve made what I think are sane entries into RT_SiteConfig.pm

On Thursday 24 March 2005 12:19, Labonte, Phil wrote:

Ok.
So I followed the instructions given in the link provided.

If I try to invoke rt-mailgate from the command line this is what I am
entering:
/usr/local/rt3/bin/rt-mailgate --queue general --action correspond --url
http://localhost/

When I enter this command I get nothing back and it looks like it hangs.

So email gets to my server but when rt-mailgate is invoked I guess
nothing is happening.

I checked /var/log/messages and there is no error reported.

Any help would be greatly appreciated.

Phil

-----Original Message-----
From: Sam Snow [mailto:sam.snow@christianheritageschool.org]
Sent: Thursday, March 24, 2005 3:01 PM
To: Labonte, Phil; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] email ticket problems

Labonte, Phil wrote:

(sorry if this is a repeat, my email crashed, not sure if it got sent)
Hello all,

I am using RT 3.2.3 on Fedora Core 2.

The install is working and I can create tickets via the web and the
users receive email from RT confirming the tickets creation and

changes.

However when I email rt@myserver no tickets get created. Now the box

is

receiving the emails I have checked that.

This is a copy of my aliases file entries:

rt: “|/usr/local/rt3/bin/rt-mailgate --queue general --action
correspond --url http://localhost/

rt-comment: “|/usr/local/rt3/bin/rt-mailgate --queue general --action
comment --url http://localhost/

How can I check why nothing is being generated?

I guess you have noticed I am very green when it come to RT.

Thanks!


The following thread from the archives should walk you through
troubleshooting. Try the steps in there and then if you are still stuck
report back with what you tried and what the results were. Also, mention

what mail server you are using.

http://gossamer-threads.com/lists/rt/users/42271?do=post_view_threaded

Sam


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

RT Administrator and Developer training is coming to your town soon!
(Boston, San Francisco, Austin, Sydney) Contact training@bestpractical.com
for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com


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

RT Administrator and Developer training is coming to your town soon! (Boston, San Francisco, Austin, Sydney) Contact training@bestpractical.com for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

No quite… your idea is right the methodology isn’t 100%.

Find your smrsh binary.
Do a -> strings -a smrsh | “/”

The output will be something like…
/lib/ld-linux.so.2
@(#)$Id: smrsh.c,v 8.63 2003/12/15 17:12:29 ca Exp $
/etc/mail/smrsh
/usr/bin:/bin
/bin/sh
Cannot exec /bin/sh: %s
@(#)$Id: errstring.c,v 1.19 2003/12/10 03:53:05 gshapiro Exp $
I/O error
.
.
.

The two key lines are: (they may be different values depending on how it
was compiled)

/etc/mail/smrsh
/usr/bin:/bin

The first is where smrsh will look for either the binary (rt-mailgate) or
the link to the binary.

The second is where smrsh will only accept links to point to.

So if you have rt-mailgate in say /opt/rt3/bin/rt-mailgate, linking from
/etc/mail/smrsh won’t work. You need to put a link from /usr/bin or /bin
(in this case) to /opt/… and then a second link from /etc/mail/smrsh to
the /usr/bin or /bin link. Of course you could just copy the binary, but
upgraded become messy.

Finally, ensure your trusted-users values are valid if you have that
initialized in sendmail.

Ramon Kagan
York University, Computing and Network Services
Information Security - Senior Information Security Analyst
(416)736-2100 #20263
rkagan@yorku.ca


I have not failed. I have just I don’t know the secret to success,
found 10,000 ways that don’t work. but the secret to failure is
trying to please everybody.
- Thomas Edison - Bill Cosby
----------------------------------- ------------------------------------On Thu, 24 Mar 2005, Anthony Leong wrote:

There is a smrsh folder in your sendmail folder. Inside the smrsh folder,
create a softlink to rt-mailgate and give permissions for sendmail.

On Thu, 24 Mar 2005, Frank Saxton wrote:

I’m having the identical problem except that I also get a bounce message
saying that the service isn’t available.

smrsh: “rt-mailgate” not available for sendmail programs (stat failed)
554 5.0.0 Service unavailable.

Like the other fellow, I am running sendmail and if I envoke the command
manually (as root) it hangs.

I’ve made what I think are sane entries into RT_SiteConfig.pm

On Thursday 24 March 2005 12:19, Labonte, Phil wrote:

Ok.
So I followed the instructions given in the link provided.

If I try to invoke rt-mailgate from the command line this is what I am
entering:
/usr/local/rt3/bin/rt-mailgate --queue general --action correspond --url
http://localhost/

When I enter this command I get nothing back and it looks like it hangs.

So email gets to my server but when rt-mailgate is invoked I guess
nothing is happening.

I checked /var/log/messages and there is no error reported.

Any help would be greatly appreciated.

Phil

-----Original Message-----
From: Sam Snow [mailto:sam.snow@christianheritageschool.org]
Sent: Thursday, March 24, 2005 3:01 PM
To: Labonte, Phil; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] email ticket problems

Labonte, Phil wrote:

(sorry if this is a repeat, my email crashed, not sure if it got sent)
Hello all,

I am using RT 3.2.3 on Fedora Core 2.

The install is working and I can create tickets via the web and the
users receive email from RT confirming the tickets creation and

changes.

However when I email rt@myserver no tickets get created. Now the box

is

receiving the emails I have checked that.

This is a copy of my aliases file entries:

rt: “|/usr/local/rt3/bin/rt-mailgate --queue general --action
correspond --url http://localhost/

rt-comment: “|/usr/local/rt3/bin/rt-mailgate --queue general --action
comment --url http://localhost/

How can I check why nothing is being generated?

I guess you have noticed I am very green when it come to RT.

Thanks!


The following thread from the archives should walk you through
troubleshooting. Try the steps in there and then if you are still stuck
report back with what you tried and what the results were. Also, mention

what mail server you are using.

http://gossamer-threads.com/lists/rt/users/42271?do=post_view_threaded

Sam


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

RT Administrator and Developer training is coming to your town soon!
(Boston, San Francisco, Austin, Sydney) Contact training@bestpractical.com
for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com


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

RT Administrator and Developer training is coming to your town soon! (Boston, San Francisco, Austin, Sydney) Contact training@bestpractical.com for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com


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

RT Administrator and Developer training is coming to your town soon! (Boston, San Francisco, Austin, Sydney) Contact training@bestpractical.com for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Thanks very much Graham. That fixed it.

For documentation purposes, in my machine (RH ES 4.0) it
was /opt/rt3/bin/rt-mailgateOn Thursday 24 March 2005 12:50, Graham Dunn wrote:

On Thu, Mar 24, 2005 at 12:37:07PM -0800, Frank Saxton wrote:

I’m having the identical problem except that I also get a bounce message
saying that the service isn’t available.

smrsh: “rt-mailgate” not available for sendmail programs (stat failed)
554 5.0.0 Service unavailable.

cd /etc/smrsh
ln -s /usr/local/rt3/bin/rt-mailgate rt-mailgate

That will get you around the smrsh issue.

Graham

Like the other fellow, I am running sendmail and if I envoke the command
manually (as root) it hangs.

I’ve made what I think are sane entries into RT_SiteConfig.pm

So I followed the instructions given in the link provided.

If I try to invoke rt-mailgate from the command line this is what I am
entering:
/usr/local/rt3/bin/rt-mailgate --queue general --action correspond --url
http://localhost/

When I enter this command I get nothing back and it looks like it hangs.

Unsurprising.

rt-mailgate is a filter: it expects to be fed an RFC-2822 mail message
on it’s standard input. Did you try

$COMMAND_LINE_ABOVE <mail-message-in-file

?

Cheers,
– jra
Jay R. Ashworth jra@baylink.com
Designer Baylink RFC 2100
Ashworth & Associates The Things I Think '87 e24
St Petersburg FL USA http://baylink.pitas.com +1 727 647 1274

  If you can read this... thank a system adminstrator.  Or two.  --me

If I execute this command:
/usr/local/rt3/bin/rt-mailgate --queue general --action correspond --url
http://10.64.87.248/ < /var/spool/mail/root

A ticket is generated. So now I can email my rt box and it receives the
message, however the script does not execute?

What I should look for here?

BTW this is the same syntax that I have in my etc/aliases file.

Is this a permission issue?From: Alan Horn [mailto:ahorn@deorth.org]
Sent: Friday, March 25, 2005 6:38 AM
To: Labonte, Phil
Subject: RE: [rt-users] email ticket problems

Phil,

Whats the output from your mail logs when a message is emailed into the
system to this address ?

The problem is most likely on the MTA (sendmail) side than RT. But by
examining the logs we can narrow that down.

FWIW, this part of RT was the least troublesome to get working for me…
it
just worked, but then I’m a mail admin of some years experience.

Cheers,

Al

Date: Thu, 24 Mar 2005 15:38:27 -0500
From: “Labonte, Phil” phil.labonte@transcore.com
To: Anthony Leong anthonyl@yorku.ca
Cc: rt-users@lists.bestpractical.com
Subject: RE: [rt-users] email ticket problems

I tried changing that too.
So the documentation is terrible; this is what I have done.

Now all I did to get mail to work is edit the aliases file as I have
indicated below.

What else needs to get done? Is there a guide for that?

Phil

Thanks (as you can tell I am frustrated with this app)

-----Original Message-----
From: Anthony Leong [mailto:anthonyl@yorku.ca]
Sent: Thursday, March 24, 2005 3:28 PM
To: Labonte, Phil
Cc: Sam Snow; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] email ticket problems

Hello,

See if any messages are stuck in your queues by mailq. What web
address
allows you to access rt from a web-browser on your rt server? Use
that
web address instead of localhost (if it is different).

Anthony

I am using sendmail

-----Original Message-----
From: Labonte, Phil
Sent: Thursday, March 24, 2005 3:20 PM
To: Sam Snow; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] email ticket problems

Ok.
So I followed the instructions given in the link provided.

If I try to invoke rt-mailgate from the command line this is what I
am

entering:
/usr/local/rt3/bin/rt-mailgate --queue general --action correspond
–url
http://localhost/

When I enter this command I get nothing back and it looks like it
hangs.

So email gets to my server but when rt-mailgate is invoked I guess
nothing is happening.

I checked /var/log/messages and there is no error reported.

Any help would be greatly appreciated.

Phil

-----Original Message-----
From: Sam Snow [mailto:sam.snow@christianheritageschool.org]
Sent: Thursday, March 24, 2005 3:01 PM
To: Labonte, Phil; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] email ticket problems

Labonte, Phil wrote:

(sorry if this is a repeat, my email crashed, not sure if it got
sent)

Hello all,

I am using RT 3.2.3 on Fedora Core 2.

The install is working and I can create tickets via the web and the
users receive email from RT confirming the tickets creation and
changes.

However when I email rt@myserver no tickets get created. Now the box
is
receiving the emails I have checked that.

This is a copy of my aliases file entries:

rt: "|/usr/local/rt3/bin/rt-mailgate --queue general
–action

correspond --url http://localhost/"

rt-comment: "|/usr/local/rt3/bin/rt-mailgate --queue general
–action

comment --url http://localhost/"

How can I check why nothing is being generated?

I guess you have noticed I am very green when it come to RT.

Thanks!


The following thread from the archives should walk you through
troubleshooting. Try the steps in there and then if you are still
stuck
report back with what you tried and what the results were. Also,
mention

what mail server you are using.

http://gossamer-threads.com/lists/rt/users/42271?do=post_view_threaded

Sam


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

RT Administrator and Developer training is coming to your town soon!
(Boston, San Francisco, Austin, Sydney) Contact
training@bestpractical.com for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com


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

RT Administrator and Developer training is coming to your town soon!
(Boston, San Francisco, Austin, Sydney) Contact
training@bestpractical.com for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com


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

RT Administrator and Developer training is coming to your town soon!
(Boston, San Francisco, Austin, Sydney) Contact
training@bestpractical.com for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

More info I forgot to add

This is the mail message that is on the rt box after the email is
received:

The original message was received at Sun, 27 Mar 2005 09:30:28 -0500
from localhost.localdomain [127.0.0.1]

----- The following addresses had permanent fatal errors -----
"|/usr/local/rt3/bin/rt-mailgate --queue general --action correspond
–url http://10.64.87.248/"
(reason: Service unavailable)
(expanded from: rt@localhost.localdomain)

----- Transcript of session follows -----
smrsh: “rt-mailgate” not available for sendmail programs (stat failed)
554 5.0.0 Service unavailableFrom: Alan Horn [mailto:ahorn@deorth.org]
Sent: Friday, March 25, 2005 6:38 AM
To: Labonte, Phil
Subject: RE: [rt-users] email ticket problems

Phil,

Whats the output from your mail logs when a message is emailed into the
system to this address ?

The problem is most likely on the MTA (sendmail) side than RT. But by
examining the logs we can narrow that down.

FWIW, this part of RT was the least troublesome to get working for me…
it
just worked, but then I’m a mail admin of some years experience.

Cheers,

Al

Date: Thu, 24 Mar 2005 15:38:27 -0500
From: “Labonte, Phil” phil.labonte@transcore.com
To: Anthony Leong anthonyl@yorku.ca
Cc: rt-users@lists.bestpractical.com
Subject: RE: [rt-users] email ticket problems

I tried changing that too.
So the documentation is terrible; this is what I have done.

Now all I did to get mail to work is edit the aliases file as I have
indicated below.

What else needs to get done? Is there a guide for that?

Phil

Thanks (as you can tell I am frustrated with this app)

-----Original Message-----
From: Anthony Leong [mailto:anthonyl@yorku.ca]
Sent: Thursday, March 24, 2005 3:28 PM
To: Labonte, Phil
Cc: Sam Snow; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] email ticket problems

Hello,

See if any messages are stuck in your queues by mailq. What web
address
allows you to access rt from a web-browser on your rt server? Use
that
web address instead of localhost (if it is different).

Anthony

I am using sendmail

-----Original Message-----
From: Labonte, Phil
Sent: Thursday, March 24, 2005 3:20 PM
To: Sam Snow; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] email ticket problems

Ok.
So I followed the instructions given in the link provided.

If I try to invoke rt-mailgate from the command line this is what I
am

entering:
/usr/local/rt3/bin/rt-mailgate --queue general --action correspond
–url
http://localhost/

When I enter this command I get nothing back and it looks like it
hangs.

So email gets to my server but when rt-mailgate is invoked I guess
nothing is happening.

I checked /var/log/messages and there is no error reported.

Any help would be greatly appreciated.

Phil

-----Original Message-----
From: Sam Snow [mailto:sam.snow@christianheritageschool.org]
Sent: Thursday, March 24, 2005 3:01 PM
To: Labonte, Phil; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] email ticket problems

Labonte, Phil wrote:

(sorry if this is a repeat, my email crashed, not sure if it got
sent)

Hello all,

I am using RT 3.2.3 on Fedora Core 2.

The install is working and I can create tickets via the web and the
users receive email from RT confirming the tickets creation and
changes.

However when I email rt@myserver no tickets get created. Now the box
is
receiving the emails I have checked that.

This is a copy of my aliases file entries:

rt: "|/usr/local/rt3/bin/rt-mailgate --queue general
–action

correspond --url http://localhost/"

rt-comment: "|/usr/local/rt3/bin/rt-mailgate --queue general
–action

comment --url http://localhost/"

How can I check why nothing is being generated?

I guess you have noticed I am very green when it come to RT.

Thanks!


The following thread from the archives should walk you through
troubleshooting. Try the steps in there and then if you are still
stuck
report back with what you tried and what the results were. Also,
mention

what mail server you are using.

http://gossamer-threads.com/lists/rt/users/42271?do=post_view_threaded

Sam


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

RT Administrator and Developer training is coming to your town soon!
(Boston, San Francisco, Austin, Sydney) Contact
training@bestpractical.com for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com


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

RT Administrator and Developer training is coming to your town soon!
(Boston, San Francisco, Austin, Sydney) Contact
training@bestpractical.com for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com


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

RT Administrator and Developer training is coming to your town soon!
(Boston, San Francisco, Austin, Sydney) Contact
training@bestpractical.com for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

More info I forgot to add

This is the mail message that is on the rt box after the email is
received:

The original message was received at Sun, 27 Mar 2005 09:30:28 -0500
from localhost.localdomain [127.0.0.1]

----- The following addresses had permanent fatal errors -----
"|/usr/local/rt3/bin/rt-mailgate --queue general --action correspond
–url http://10.64.87.248/"
(reason: Service unavailable)
(expanded from: rt@localhost.localdomain)

----- Transcript of session follows -----
smrsh: “rt-mailgate” not available for sendmail programs (stat failed)
554 5.0.0 Service unavailable

Oh, the smrsh problem again.

FAQ! FAQ!!

Hardlink rt-mailgate into your /etc/smrsh directory.

Cheers,
– jra
Jay R. Ashworth jra@baylink.com
Designer Baylink RFC 2100
Ashworth & Associates The Things I Think '87 e24
St Petersburg FL USA http://baylink.pitas.com +1 727 647 1274

  If you can read this... thank a system administrator.  Or two.  --me

Phil,

Did you try googling on that smrsh error message? From your error below
you have a MTA problem, not a RT problem.

Some of these look promising, but I am not sure since I use qmail rather
than sendmail:
http://www.google.com/search?hl=en&q=smrsh%3A+"rt-mailgate"+not+available+for+sendmail+programs&btnG=Google+Search

Sam

Labonte, Phil said: