Rt-mailgate EX_TEMPFAIL

Hi all,

I think I’ve just about gotten RT 3.0.1 installed and configured.
When I try and run rt-mailgate like this:

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

sendmail gives this:

(Deferred: prog mailer (/bin/sh) exited with EX_TEMPFAIL)
"|/usr/local/rt3/bin/rt-mailgate --que

and leaves the mail in the local queue. I’ve read the manual and
the file rt-mailgate itself. (I’ve read rumors of a man page
but can find no evidence of it.) I’m lost. Any clues gratefully
accepted.

Thanks,

Joseph F. Noonan
Rigaku/MSC Inc.
jfn@msc.com

Hi Joseph,

Did you link /usr/local/rt3/bin/rt-mailgate to your /etc/smrsh dir? Only
programs listed there, are trusted by Sendmail to excecute as an alias.
SMRSH stands for Sendmail Restricted Shell.

Grtz, Rich-----Original Message-----
From: Joseph Noonan [mailto:jfn@msc.com]
Sent: vrijdag 16 mei 2003 21:54
To: rt-users@lists.fsck.com
Subject: [rt-users] rt-mailgate EX_TEMPFAIL

Hi all,

I think I’ve just about gotten RT 3.0.1 installed and configured.
When I try and run rt-mailgate like this:

|/usr/local/rt3/bin/rt-mailgate --queue comp-support --action correspond
–url http://localhost/

sendmail gives this:

(Deferred: prog mailer (/bin/sh) exited with EX_TEMPFAIL)
"|/usr/local/rt3/bin/rt-mailgate --que

and leaves the mail in the local queue. I’ve read the manual and
the file rt-mailgate itself. (I’ve read rumors of a man page
but can find no evidence of it.) I’m lost. Any clues gratefully
accepted.

Thanks,

Joseph F. Noonan
Rigaku/MSC Inc.
jfn@msc.com

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

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Hi Joseph,

Did you link /usr/local/rt3/bin/rt-mailgate to your /etc/smrsh dir? Only
programs listed there, are trusted by Sendmail to excecute as an alias.
SMRSH stands for Sendmail Restricted Shell.

Grtz, Rich

Hi Rich,

I probably should have mentioned I am not running Red Hat and am
in fact running FreeBSD 4.8 which does not use smrsh by default.
Further, I’ve compiled my own sendmail that I know doesn’t use
smrsh. The failure message complains about ‘/bin/sh’ and I’m
pretty sure that when using smrsh (I have used it before), if the
program isn’t listed in /etc/smrsh (or …/sm.bin) that the
failure isn’t temporary, but permanent.

Thanks,

Joseph F. Noonan
Rigaku/MSC Inc.
jfn@msc.com

When I try and run rt-mailgate like this:

|/usr/local/rt3/bin/rt-mailgate --queue comp-support --action correspond
|–url http://localhost/

sendmail gives this:

(Deferred: prog mailer (/bin/sh) exited with EX_TEMPFAIL)
"|/usr/local/rt3/bin/rt-mailgate --que

and leaves the mail in the local queue. I’ve read the manual and

Go to http://localhost/ in a browser (if you can run a browser on the
machine itself, of course) and check that there is a valid RT
installation running there. Is your RT installation really set up on
the default virtual host of your web server? Seems unlikely.

Bye

Paolo

1 Like

When I try and run rt-mailgate like this:

|/usr/local/rt3/bin/rt-mailgate --queue comp-support --action correspond
|–url http://localhost/

sendmail gives this:

(Deferred: prog mailer (/bin/sh) exited with EX_TEMPFAIL)
"|/usr/local/rt3/bin/rt-mailgate --que

and leaves the mail in the local queue. I’ve read the manual and

Go to http://localhost/ in a browser (if you can run a browser on the
machine itself, of course) and check that there is a valid RT
installation running there. Is your RT installation really set up on
the default virtual host of your web server? Seems unlikely.

Yes! That was it. Thank you.