Troubles getting the rt mailgate script to work

Im seeing the e following error when attempting to submit an email to a
que

Sendmail 8.12.11
RT V. 3.0.11

my aliases file has this in it.
rt-netops: "|/usr/local/rt3/bin/rt-mailgate --queue ‘net-ops’ --action
correspond --url http://localhost/rt3
I have used this
rt-netops: "|/usr/local/rt3/bin/rt-mailgate --queue ‘net-ops’ --action
correspond --url http://hostname/rt3
as well as
rt-netops: "|/usr/local/rt3/bin/rt-mailgate --queue ‘net-ops’ --action
correspond --url http://IP-ADDRESS/r3

in all cases I receive this error in my mail logs.

prog mailer (/bin/sh) exited with EX_TEMPFAIL

Does the URL the alias statement need to proivide full path to the site?

This should be an FAQ. I had the same problem.

You need to make sure that your apache configuration directives EXACTLY
match what is in the installation instructions.
I had used some other folks when trying to solve other problems, and
this is what I got as well.

You can run rt-mailgate on the command line and see the error.
Bascially, the error is coming from rt-mailgate, because the Apache
server is not responding the way it expects.

When I modified my virtualhost directives to match the README, it
started working.

-Rob

Robert A. Pickering Jr.
ProScan Imaging
Sr. Network & Security EngineerOn Aug 24, 2004, at 5:56 PM, Shawn Guillemette wrote:

Im seeing the e following error when attempting to submit an
email to a que

Sendmail 8.12.11
RT V. 3.0.11

my aliases file has this in it.
rt-netops: "|/usr/local/rt3/bin/rt-mailgate --queue ‘net-ops’
–action correspond --url http://localhost/rt3
I have used this
rt-netops: "|/usr/local/rt3/bin/rt-mailgate --queue ‘net-ops’
–action correspond --url http://hostname/rt3
as well as
rt-netops: "|/usr/local/rt3/bin/rt-mailgate --queue ‘net-ops’
–action correspond --url http://IP-ADDRESS/r3

in all cases I receive this error in my mail logs.

prog mailer (/bin/sh) exited with EX_TEMPFAIL

Does the URL the alias statement need to proivide full path to the
site?


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

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