Incoming mail problems?

Hi;

I’m having problems getting my incoming mail to create tickets.

– [snip of /etc/aliases] –

Mail Queues for RT…

rt-comment: "|/opt/rt2/bin/rt-mailgate --queue general --action comment"
rt: “|/opt/rt2/bin/rt-mailgate --queue general --action correspond”

– [end snippet] –

I’ve ‘newaliases’ the sendmail stuff; however, when I try to send an email
to rt, I get a little error message:

From MAILER-DAEMON@192.168.0.10 Tue Sep 4 20:39:24 2001Date: Mon, 3 Sep 2001 23:16:40 -0400
From: Mail Delivery Subsystem MAILER-DAEMON@192.168.0.10
To: root@192.168.0.10
Subject: Returned mail: see transcript for details

The original message was received at Mon, 3 Sep 2001 23:16:40 -0400
from root@localhost

----- The following addresses had permanent fatal errors -----
"|/opt/rt2/bin/rt-mailgate --queue general --action correspond"
(reason: service unavailable)
(expanded from: rt@192.168.0.10)
"|/opt/rt2/bin/rt-mailgate --queue general --action comment"
(reason: service unavailable)
(expanded from: rt-comment@192.168.0.10)

----- Transcript of session follows -----
smrsh: rt-mailgate not available for sendmail programs
554 5.0.0 “|/opt/rt2/bin/rt-mailgate --queue general --action correspond”…
Service unavailable
smrsh: rt-mailgate not available for sendmail programs
554 5.0.0 “|/opt/rt2/bin/rt-mailgate --queue general --action comment”…
Service unavailable

– [end mailblurb snippet] –

Can an ‘elder’ on the list give me a good place to start looking? Any help
would be appreciated!

Ian

| smrsh: rt-mailgate not available for sendmail programs
| 554 5.0.0 “|/opt/rt2/bin/rt-mailgate --queue general --action
| correspond”… Service unavailable smrsh: rt-mailgate not available for
| sendmail programs
±–>8

Your sendmail is configured to run programs via smrsh, which only permits
certain programs to be run. Check the FAQ or your system’s smrsh manpage
to find out how to enable smrsh to run rt-mailgate.

brandon s. allbery [os/2][linux][solaris][freebsd] allbery@kf8nh.apk.net
system administrator [JAPH][WAY too many hats] allbery@ece.cmu.edu
electrical and computer engineering KF8NH
carnegie mellon university [linux: proof of the million monkeys theory]

If your sendmail is setup to use smrsh, put a link in /etc/smrsh to
where your rt-mailgate is located, like /opt/rt2/bin/rt-mailgate
That worked for us on RH7.1

Brian

“Ian [the webguy]” wrote:

Hi;

I’m having problems getting my incoming mail to create tickets.

– [snip of /etc/aliases] –

Mail Queues for RT…

rt-comment: "|/opt/rt2/bin/rt-mailgate --queue general --action comment"
rt: “|/opt/rt2/bin/rt-mailgate --queue general --action correspond”

– [end snippet] –

I’ve ‘newaliases’ the sendmail stuff; however, when I try to send an email
to rt, I get a little error message:


From MAILER-DAEMON@192.168.0.10 Tue Sep 4 20:39:24 2001
Date: Mon, 3 Sep 2001 23:16:40 -0400
From: Mail Delivery Subsystem MAILER-DAEMON@192.168.0.10
To: root@192.168.0.10
Subject: Returned mail: see transcript for details

The original message was received at Mon, 3 Sep 2001 23:16:40 -0400
from root@localhost

----- The following addresses had permanent fatal errors -----
"|/opt/rt2/bin/rt-mailgate --queue general --action correspond"
(reason: service unavailable)
(expanded from: rt@192.168.0.10)
"|/opt/rt2/bin/rt-mailgate --queue general --action comment"
(reason: service unavailable)
(expanded from: rt-comment@192.168.0.10)

----- Transcript of session follows -----
smrsh: rt-mailgate not available for sendmail programs
554 5.0.0 “|/opt/rt2/bin/rt-mailgate --queue general --action correspond”…
Service unavailable
smrsh: rt-mailgate not available for sendmail programs
554 5.0.0 “|/opt/rt2/bin/rt-mailgate --queue general --action comment”…
Service unavailable

– [end mailblurb snippet] –

Can an ‘elder’ on the list give me a good place to start looking? Any help
would be appreciated!

Ian


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Brian Stevenson - brians@plaza.ds.adp.com
ADP Dealer Services

Hi,

I faced that one too.
You need to tell smrsh rt-mailgate is an authorised program. To do this,
create a link to rt-mailgate in the appropriate directory on your machine.
On my linux box, it is /etc/smrsh. It may be somewhere else on yours

Blaise

-----Message d’origine-----De : Brandon S. Allbery KF8NH [mailto:allbery@ece.cmu.edu]
Envoyé : lundi 10 septembre 2001 17:13
À : Ian [the webguy]; rt-users@lists.fsck.com
Objet : Re: [rt-users] [novice] incoming mail problems?

| smrsh: rt-mailgate not available for sendmail programs
| 554 5.0.0 “|/opt/rt2/bin/rt-mailgate --queue general --action
| correspond”… Service unavailable smrsh: rt-mailgate not available for
| sendmail programs
±–>8

Your sendmail is configured to run programs via smrsh, which only permits
certain programs to be run. Check the FAQ or your system’s smrsh manpage
to find out how to enable smrsh to run rt-mailgate.

brandon s. allbery [os/2][linux][solaris][freebsd] allbery@kf8nh.apk.net
system administrator [JAPH][WAY too many hats] allbery@ece.cmu.edu
electrical and computer engineering KF8NH
carnegie mellon university [linux: proof of the million monkeys theory]

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

I found out where it was on my system by typing man smrsh and reading
the manual…

for me it was /usr/sbin/mail/sm.aliases/ or something…

AndrewOn Tuesday, September 11, 2001, at 03:49 AM, THAUVIN Blaise (Informatique) wrote:

Hi,

I faced that one too.
You need to tell smrsh rt-mailgate is an authorised program. To do
this, create a link to rt-mailgate in the appropriate directory on your
machine. On my linux box, it is /etc/smrsh. It may be somewhere else on
yours

Blaise

-----Message d’origine-----
De : Brandon S. Allbery KF8NH [mailto:allbery@ece.cmu.edu]
Envoyé : lundi 10 septembre 2001 17:13
À : Ian [the webguy]; rt-users@lists.fsck.com
Objet : Re: [rt-users] [novice] incoming mail problems?

On Wednesday, September 05, 2001 00:58:53 +0000, “Ian [the webguy]” ian@internationalsportsagency.com wrote:
±----
| smrsh: rt-mailgate not available for sendmail programs
| 554 5.0.0 “|/opt/rt2/bin/rt-mailgate --queue general --action
| correspond”… Service unavailable smrsh: rt-mailgate not available
for
| sendmail programs
±–>8

Your sendmail is configured to run programs via smrsh, which only
permits
certain programs to be run. Check the FAQ or your system’s smrsh
manpage
to find out how to enable smrsh to run rt-mailgate.


brandon s. allbery [os/2][linux][solaris][freebsd]
allbery@kf8nh.apk.net
system administrator [JAPH][WAY too many hats]
allbery@ece.cmu.edu
electrical and computer engineering
KF8NH
carnegie mellon university [linux: proof of the million monkeys
theory]


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Andrew Yager
Real World Technology Solutions
Real People Real SolUtions™
ph: (02) 9945 2567 fax: (02) 9945 2566
mob: 0405 15 2568