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: [email protected] 
[mailto:[email protected]] On Behalf Of Randy Paries
Sent: Tuesday, July 06, 2010 11:54 PM
Cc: [email protected]
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 <[email protected]> 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=<[email protected]>  (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

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

Reply via email to