I added what I thought was correct syntax in /etc/aliases
|/opt/rt2/bin/rt-mailgate --queue Office --action correspond
|/opt/rt2/bin/rt-mailgate --queue Office --action comment
I am using a new version of Sendmail if that has to be taken into consideration.
This is the returned mail I get:
The original message was received at Sat, 10 Nov 2001 11:14:09 -0600
from [204.220.56.3]
----- The following addresses had permanent fatal errors -----
|/opt/rt2/bin/rt-mailgate --queue general --action correspond
(reason: service unavailable)
(expanded from: rt@rt.lctn.k12.mn.us)
----- Transcript of session follows -----
smrsh: rt-mailgate.–queue.general.–action.correspond not available for sendmail programs
554 5.0.0 |/opt/rt2/bin/rt-mailgate --queue general --action correspond… Service unavailable
Thanks in advance
Raymond
| ----- Transcript of session follows -----
| smrsh: rt-mailgate.–queue.general.–action.correspond not available for
| sendmail programs 554 5.0.0 |/opt/rt2/bin/rt-mailgate --queue general
| --action correspond… Service unavailable
±–>8
It’s a FAQ…
Your sendmail uses the “sendmail restricted shell” (smrsh); it will refuse
to deliver to programs which smrsh doesn’t know about. You need to"man
smrsh" to find the directory containing programs smrsh will run, then make
a symlink to rt-mailgate in that directory.
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]
I made a symbolic link to /opt/rt2/bin/rt-mailgate in /etc/smrsh, but still
get the error I first submitted. Do I have to do something different to the
alias so it separates the allowed program from the queues? In the docs it
shows | |
----/ |
|
—/
after the alias. Do I have to enter that in /ect/aliases? If so, do you
have to place it directly under the rt alias entry? Did I mention I’m new?
Thanks in advance
RaymondFrom: “Brandon S. Allbery KF8NH” allbery@ece.cmu.edu
To: “Raymond Norton” ray@lctn.k12.mn.us; rt-users@lists.fsck.com
Sent: Saturday, November 10, 2001 11:19 AM
Subject: Re: [rt-users] rt mail returned with error
±----
| ----- Transcript of session follows -----
| smrsh: rt-mailgate.–queue.general.–action.correspond not available for
| sendmail programs 554 5.0.0 |/opt/rt2/bin/rt-mailgate --queue general
| --action correspond… Service unavailable
±–>8
It’s a FAQ…
Your sendmail uses the “sendmail restricted shell” (smrsh); it will refuse
to deliver to programs which smrsh doesn’t know about. You need to"man
smrsh" to find the directory containing programs smrsh will run, then make
a symlink to rt-mailgate in that directory.
–
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 made a symbolic link to /opt/rt2/bin/rt-mailgate in /etc/smrsh, but
| still get the error I first submitted. Do I have to do something
| different to the alias so it separates the allowed program from the
| queues? In the docs it shows | |
| ----/ |
| |
| —/
±–>8
That mess is pretty much what I received; it makes no sense to me…
Oh, wait. I see dots in the original. You need to quote the command in
the alias so it doesn’t get mangled (spaces mapped to dots in this case).
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]