My config is as follows
CentOS release 5.5
httpd-2.2.3-4
I am sorry, i sent before i was finished…
My config is as follows
CentOS release 5.5
httpd-2.2.3-4
RT 3.8.9
this is a brand new install
in my aliases
rt-help: "|/home/rtx/bin/rt-mailgate --queue QR-Help --action
correspond --url http://rtx.mydomain.com/ --debug "
in the maillog i see
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@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
this works
perl -MLWP::Simple -e “getprint ‘http://rtx.mydomain.com’” , so i
assume LWP is working
the --debug does not seem to do anything.
Can anyone give me some direction on how to debug this??
Thanks
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@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
man smrsh
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@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_TEMPFAILhttp://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
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@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Randy Paries
Sent: Tuesday, July 06, 2010 11:54 PM
Cc: rt-users@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@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@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_TEMPFAILhttp://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