Deferred: prog mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL

Hello,

According to Request Tracker Wiki

It saids that if I’m using sendmail I most likely need to copy (cp)
rt-mailgate to /etc/smrsh or create a symbolic link and change /opt/rt3/bin
above to /etc/smrsh or sendmail will complain. So I copied rt-mailgate to
/etc/smrsh

this is how my /etc/aliases file looks like

rt: "|/etc/smrsh/rt-mailgate --queue general --action correspond --url
http://rt.domain.tld
"
rt-comment: “|/etc/smrsh/rt-mailgate --queue general --action comment
–url http://rt.domain.tld

After this I ran newaliases to update

I send an email to rt@rt.domain.tld and I get the following error message:

May 2 17:37:12 rt sendmail[2668]: l42LbChW002668: from=me@X.com,
size=1854, class=0, nrcpts=1, msgid=<
007601c78d02$2e95d1d0$7100000a@mycomputer>,
proto=ESMTP, daemon=MTA, relay=mail.X.tld [10.0.0.1]
May 2 17:37:12 rt sendmail[2669]: l42LbChW002668:
to=“|/etc/smrsh/rt-mailgate --queue development --action correspond --url
http://rt.domain.tld”, ctladdr=rt@rt.domain.tld (8/0), delay=00:00:00,
xdelay=00:00:00, mailer=prog, pri=32042, dsn=4.0.0, stat=Deferred: prog
mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL
My /var/log/rt/rt.log is owned by apache and it supposed to be logging
messages but its not. the only place where I can find error messages is
/var/log/maillog.

According to the message I got above it seems that even thought I
specified /etc/smrsh/rt-mailgate
the sendmail.cf is still looking to use /usr/sbin/smrsh as the mailer.

Any inputs?

Thanks.

According to Request Tracker Wiki

It saids that if I’m using sendmail I most likely need to copy (cp)
rt-mailgate to /etc/smrsh or create a symbolic link and change /opt/rt3/bin
above to /etc/smrsh or sendmail will complain. So I copied rt-mailgate to
/etc/smrsh

this is how my /etc/aliases file looks like

rt: "|/etc/smrsh/rt-mailgate --queue general --action correspond --url
http://rt.domain.tld
"
rt-comment: “|/etc/smrsh/rt-mailgate --queue general --action comment --url
http://rt.domain.tld

After this I ran newaliases to update

I send an email to rt@rt.domain.tld and I get the following error message:

May 2 17:37:12 rt sendmail[2668]: l42LbChW002668: from=< me@X.com>,
size=1854, class=0, nrcpts=1, msgid=<
007601c78d02$2e95d1d0$7100000a@mycomputer>, proto=ESMTP, daemon=MTA, relay=
mail.X.tld [10.0.0.1]
May 2 17:37:12 rt sendmail[2669]: l42LbChW002668:
to=“|/etc/smrsh/rt-mailgate --queue development --action correspond --url
http://rt.domain.tld”, ctladdr=< rt@rt.domain.tld> (8/0), delay=00:00:00,
xdelay=00:00:00, mailer=prog, pri=32042, dsn=4.0.0, stat=Deferred: prog
mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL
My /var/log/rt/rt.log is owned by apache and it supposed to be logging
messages but its not. the only place where I can find error messages is
/var/log/maillog.

According to the message I got above it seems that even thought I
specified /etc/smrsh/rt-mailgate
the sendmail.cf is still looking to use /usr/sbin/smrsh as the mailer.

Any inputs?

Thanks.