[rt-users] IS there anyway to debug rt-mailgate that fails withEX_TEMPFAIL

Bernard McCormack bmccormack at nextjump.com
Wed Jul 7 08:47:50 EDT 2010


When I encountered EX_tempfail It was because I had made a mistake on the url for the mail gateway. It was a pain to notice the typo. I may be wrong but don't you have to copy the rt mailgate to /usr/sbin/smrsh for it to work with send mail(could be completely wrong)/

-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Randy Paries
Sent: Tuesday, July 06, 2010 11:54 PM
Cc: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] IS there anyway to debug rt-mailgate that fails withEX_TEMPFAIL

On Tue, Jul 6, 2010 at 10:13 PM, Jeff Blaine <jblaine at kickflop.net> wrote:
>> Jul  6 20:11:11 rtx sendmail[23530]: o671BA52023529:
>> to="|/home/rtx/bin/rt-mailgate --queue QR-Help --action correspond
>> --url http://rtx.mydomain.com/ --debug ",
>> ctladdr=<rt-help at rtx.mydomain.com>  (8/0), delay=00:00:01,
>> xdelay=00:00:01, mailer=prog, pri=35277, dsn=4.0.0, stat=Deferred:
>> prog mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL
>
> http://www.sendmail.org/faq/section2#2.13
>
> man smrsh
>


for anyone else with this problem, I found a great way to debug

#(echo Subject: test; echo; echo test) | /home/rtx/bin/rt-mailgate
--queue QR-Help --action correspond --url http://rtx.mydomain.com
--debug

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com



More information about the rt-users mailing list