[rt-users] mailgate and EX_TEMPFAIL

Jesse Vincent jesse at bestpractical.com
Thu May 8 06:28:21 EDT 2003


the mail gateway has a --debug flag. It might be helpful to hand-pipe a
message to it with that flag enabled to see what the server says...


On Wed, May 07, 2003 at 02:40:04PM -0500, Christian Gilmore wrote:
> I really need some help with this problem I posted yesterday. I have only 
> a few more days to get my RT3 upgrade to work before I'll have to pull the 
> plug and continue to use RT2 for a long while. I have the log levels set 
> to debug, but no useful output comes out. I'm stuck, pending digging into 
> the source code which I don't have enough time to do at the moment. Any 
> help would be greatly appreciated.
> 
> Thanks,
> Christian
> 
> ----------------------
> Christian Gilmore
> Technology Leader
> GeT Support Application Development
> IBM Software Group
> 
> 
> 
> 
> 
> Christian Gilmore/Austin/IBM at IBMUS
> Sent by: rt-users-admin at lists.fsck.com
> 05/06/03 12:53 PM
> 
>  
>         To:     rt-users at lists.fsck.com
>         cc: 
>         Subject:        [rt-users] mailgate and EX_TEMPFAIL
> 
> 
> 
> 
> I've trolled through the last two months of the mailing lists and found 
> plenty on this topic but none that alleviated my problem. All mail to RT 
> via e-mail is failing with this EX_TEMPFAIL condition. Installed software: 
> 
> rt-3.0.2pre4 
> ESMTP Sendmail 8.11.6/8.11.6 
> mysql  Ver 12.18 Distrib 4.0.12, for pc-linux (i686) 
> apache-1.3.26 
> mod_perl-1.27 
> linux-2.2.22-7.0.3smp 
> 
> Here are the mail-related configuration directives from RT_SiteConfig.pm: 
> 
> Set($MailCommand , 'sendmail'); 
> Set($SendmailArguments,"-oi -t -ODeliveryMode=b -OErrorMode=m"); 
> Set($SendmailPath , "/usr/sbin/sendmail"); 
> Set($UseFriendlyToLine , 0); 
> Set($SenderMustExistInExternalDatabase , 1); 
> 
> I have altered /opt/rt3/lib/RT/EmailParser.pm by inserting the same code 
> from RT2 (modulo the altered input argument object) for the 
> LookupExternalUserInfo method (which is what is found from me in the rt2 
> contrib tree). Otherwise, I have made no modifications to RT. The 
> following two files were resting in /var/spool/mqueue after the failed 
> transaction. 
> 
> This is a multipart message in MIME format. 
> --=_alternative 00606D7286256D1E_= 
> Content-Type: text/plain; charset="us-ascii" 
> 
> testing 
> 
> Thanks, 
> Christian 
> 
> ---------------------- 
> Christian Gilmore 
> Technology Leader 
> GeT Support Application Development 
> IBM Software Group 
> 
> --=_alternative 00606D7286256D1E_= 
> Content-Type: text/html; charset="us-ascii" 
> 
> 
> <br><font size=2 face="sans-serif">testing<br> 
> <br> 
> Thanks,<br> 
> Christian<br> 
> <br> 
> ----------------------<br> 
> Christian Gilmore<br> 
> Technology Leader<br> 
> GeT Support Application Development<br> 
> IBM Software Group<br> 
> </font> 
> --=_alternative 00606D7286256D1E_=-- 
> 
> 
> 
> V4 
> T1052242533 
> K1052242533 
> N1 
> P30624 
> I8/7/226486 
> MDeferred: prog mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL 
> Fb 
> $_westrelay02.boulder.ibm.com [9.17.195.11] 
> $rESMTP 
> $swestrelay02.boulder.ibm.com 
> ${daemon_flags} 
> ${if_addr}146.84.104.70 
> S<cag at us.ibm.com> 
> Cwebreq:8:0:<webreq at norad1.tivoli.com> 
> RPFDA:"|/opt/rt3/bin/rt-mailgate --debug --queue webreq --action 
> correspond --url http://norad1.tivoli.com/rt" 
> H?P?Return-Path: <?g> 
> H??Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com 
> [9.17.195.11]) 
>         by norad1.tivoli.com (8.11.6/8.11.6) with ESMTP id h46HZWr28476 
>         for <webreq at norad1.tivoli.com>; Tue, 6 May 2003 12:35:33 -0500 
> H??Received: from d03nm119.boulder.ibm.com (d03av02.boulder.ibm.com 
> [9.17.193.82]) 
>         by westrelay02.boulder.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id 
> h46HZWfP047472 
>         for <webreq at norad1.tivoli.com>; Tue, 6 May 2003 11:35:32 -0600 
> H??To: webreq at norad1.tivoli.com 
> H??MIME-Version: 1.0 
> H??Subject: Test 
> H??X-Mailer: Lotus Notes Release 5.0.11   July 24, 2002 
> H??From: Christian Gilmore <cag at us.ibm.com> 
> H??Message-ID: 
> <OF12782C46.40491FF8-ON86256D1E.00606792-86256D1E.00606DEB at us.ibm.com> 
> H??Date: Tue, 6 May 2003 12:35:31 -0500 
> H??X-MIMETrack: Serialize by Router on D03NM119/03/M/IBM(Release 6.0.1 
> [IBM]|April 17, 2003) at 
>  05/06/2003 11:35:32, 
>         Serialize complete at 05/06/2003 11:35:32 
> H??Content-Type: multipart/alternative; boundary="=_alternative 
> 00606D7286256D1E_=" 
> . 
> 
> Also, the /var/log/maillog shows the following two lines: 
> 
> May  6 12:35:33 norad1 sendmail[28476]: h46HZWr28476: 
> from=<cag at us.ibm.com>, size=1351, class=0, nrcpts=1, 
> msgid=<OF12782C46.40491FF8-ON86256D1E.00606792-86256D1E.00606DEB at us.ibm.com>, 
> proto=ESMTP, daemon=MTA, relay=westrelay02.boulder.ibm.com [9.17.195.11] 
> May  6 12:35:33 norad1 sendmail[28477]: h46HZWr28476: 
> to="|/opt/rt3/bin/rt-mailgate --debug --queue webreq --action correspond 
> --url http://norad1.tivoli.com/rt", ctladdr=<webreq at norad1.tivoli.com> (8/0), delay=00:00:00, 
> xdelay=00:00:00, mailer=prog, pri=30624, dsn=4.0.0, stat=Deferred: prog 
> mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL 
> 
> No mail ever gets returned to the user. Transactions via the web interface 
> are successful and generate appropriate outbound e-mail messages. 
> 
> Thanks,
> Christian
> 
> ----------------------
> Christian Gilmore
> Technology Leader
> GeT Support Application Development
> IBM Software Group
> 

-- 
http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.



More information about the rt-users mailing list