<br><font size=2 face="sans-serif">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.<br>
<br>
Thanks,<br>
Christian<br>
<br>
----------------------<br>
Christian Gilmore<br>
Technology Leader<br>
GeT Support Application Development<br>
IBM Software Group<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Christian Gilmore/Austin/IBM@IBMUS</b></font>
<br><font size=1 face="sans-serif">Sent by: rt-users-admin@lists.fsck.com</font>
<p><font size=1 face="sans-serif">05/06/03 12:53 PM</font>
<br>
<td><font size=1 face="Arial"> </font>
<br><font size=1 face="sans-serif"> To: rt-users@lists.fsck.com</font>
<br><font size=1 face="sans-serif"> cc: </font>
<br><font size=1 face="sans-serif"> Subject: [rt-users] mailgate and EX_TEMPFAIL</font>
<br></table>
<br>
<br>
<br><font size=2 face="sans-serif"><br>
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:</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="sans-serif"><br>
rt-3.0.2pre4</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
ESMTP Sendmail 8.11.6/8.11.6</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
mysql Ver 12.18 Distrib 4.0.12, for pc-linux (i686)</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
apache-1.3.26</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
mod_perl-1.27</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
linux-2.2.22-7.0.3smp</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="sans-serif"><br>
Here are the mail-related configuration directives from RT_SiteConfig.pm:</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="sans-serif"><br>
Set($MailCommand , 'sendmail');</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
Set($SendmailArguments,"-oi -t -ODeliveryMode=b -OErrorMode=m");</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
Set($SendmailPath , "/usr/sbin/sendmail");</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
Set($UseFriendlyToLine , 0);</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
Set($SenderMustExistInExternalDatabase , 1);</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="sans-serif"><br>
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.</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="Courier New"><br>
This is a multipart message in MIME format.</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
--=_alternative 00606D7286256D1E_=</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
Content-Type: text/plain; charset="us-ascii"</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="Courier New"><br>
testing</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="Courier New"><br>
Thanks,</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
Christian</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="Courier New"><br>
----------------------</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
Christian Gilmore</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
Technology Leader</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
GeT Support Application Development</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
IBM Software Group</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="Courier New"><br>
--=_alternative 00606D7286256D1E_=</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
Content-Type: text/html; charset="us-ascii"</font><font size=3 face="Times New Roman"> <br>
<br>
</font><font size=2 face="Courier New"><br>
<br><font size=2 face="sans-serif">testing<br></font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
<br></font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
Thanks,<br></font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
Christian<br></font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
<br></font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
----------------------<br></font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
Christian Gilmore<br></font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
Technology Leader<br></font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
GeT Support Application Development<br></font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
IBM Software Group<br></font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
</font></font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
--=_alternative 00606D7286256D1E_=--</font><font size=3 face="Times New Roman"> <br>
<br>
<br>
</font><font size=2 face="Courier New"><br>
V4</font><font size=3 face="Times New Roman"> </font>
<br><font size=2 face="Courier New">T1052242533</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
K1052242533</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
N1</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
P30624</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
I8/7/226486</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
MDeferred: prog mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
Fb</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
$_westrelay02.boulder.ibm.com [9.17.195.11]</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
$rESMTP</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
$swestrelay02.boulder.ibm.com</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
${daemon_flags}</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
${if_addr}146.84.104.70</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
S<cag@us.ibm.com></font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
Cwebreq:8:0:<webreq@norad1.tivoli.com></font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
RPFDA:"|/opt/rt3/bin/rt-mailgate --debug --queue webreq --action correspond --url http://norad1.tivoli.com/rt"</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
H?P?Return-Path: <g></font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
H??Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11])</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
by norad1.tivoli.com (8.11.6/8.11.6) with ESMTP id h46HZWr28476</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
for <webreq@norad1.tivoli.com>; Tue, 6 May 2003 12:35:33 -0500</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
H??Received: from d03nm119.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.193.82])</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
by westrelay02.boulder.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id h46HZWfP047472</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
for <webreq@norad1.tivoli.com>; Tue, 6 May 2003 11:35:32 -0600</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
H??To: webreq@norad1.tivoli.com</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
H??MIME-Version: 1.0</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
H??Subject: Test</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
H??X-Mailer: Lotus Notes Release 5.0.11 July 24, 2002</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
H??From: Christian Gilmore <cag@us.ibm.com></font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
H??Message-ID: <OF12782C46.40491FF8-ON86256D1E.00606792-86256D1E.00606DEB@us.ibm.com></font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
H??Date: Tue, 6 May 2003 12:35:31 -0500</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
H??X-MIMETrack: Serialize by Router on D03NM119/03/M/IBM(Release 6.0.1 [IBM]|April 17, 2003) at</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
05/06/2003 11:35:32,</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
Serialize complete at 05/06/2003 11:35:32</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
H??Content-Type: multipart/alternative; boundary="=_alternative 00606D7286256D1E_="</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
.</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="sans-serif"><br>
Also, the /var/log/maillog shows the following two lines:</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="Courier New"><br>
May 6 12:35:33 norad1 sendmail[28476]: h46HZWr28476: from=<cag@us.ibm.com>, size=1351, class=0, nrcpts=1, msgid=<OF12782C46.40491FF8-ON86256D1E.00606792-86256D1E.00606DEB@us.ibm.com>, proto=ESMTP, daemon=MTA, relay=westrelay02.boulder.ibm.com [9.17.195.11]</font><font size=3 face="Times New Roman"> </font><font size=2 face="Courier New"><br>
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@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</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="sans-serif"><br>
No mail ever gets returned to the user. Transactions via the web interface are successful and generate appropriate outbound e-mail messages.</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
<br>
Thanks,<br>
Christian<br>
<br>
----------------------</font>
<br><font size=2 face="sans-serif">Christian Gilmore<br>
Technology Leader<br>
GeT Support Application Development<br>
IBM Software Group</font>
<br>
<br>