<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>RT email EX_TEMPFAIL looping problem</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>

<P><FONT SIZE=2 FACE="Trebuchet MS">Platform/Env:</FONT>

<BR><FONT SIZE=2 FACE="Trebuchet MS">RT 3.6.4, MySQL 5.1.34, Linux 2.6.9-42.ELsmp</FONT>
</P>

<P><FONT SIZE=2 FACE="Trebuchet MS">Problem:</FONT>

<BR><FONT SIZE=2 FACE="Trebuchet MS">We are experiencing sporadic email looping problem. From the mail relay server, emails bound for RT are aliased and piped to rt-mailgate and recorded as correspondence into certain queues. For some emails, rt-mailgate gets a return code EX_TEMPFAIL and the mail server does not remove the email from its queue. This results in repetitive posting and email flooding and finally we have to delete this email from the queue to stop multiple posting.</FONT></P>

<P><FONT SIZE=2 FACE="Trebuchet MS">Mail server aliases entry:</FONT>

<BR><FONT SIZE=2 FACE="Trebuchet MS">rt: "| path-to/rt-mailgate --url </FONT><A HREF="http://rt-server.com"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Trebuchet MS">http://rt-server.com</FONT></U></A><FONT SIZE=2 FACE="Trebuchet MS"> --queue general --action correspond"</FONT>
</P>

<P><FONT SIZE=2 FACE="Trebuchet MS">Even though rt-mailgate gets a return code EX_TEMPFAIL, the email seems to have recorded fine in RT and we could see the ticket and attachments created fine in RT.  </FONT></P>

<P><FONT SIZE=2 FACE="Trebuchet MS">Please help us out with this problem and we are trying to understand if this is any data inconsistency problem in RT or something else?</FONT></P>

<P><FONT SIZE=2 FACE="Trebuchet MS">Some log entries from the RT server during this email looping. These logs maynot be relevant to the problem, but I would like to present it anyway if it might be helpful.</FONT></P>

<P><FONT SIZE=2 FACE="Trebuchet MS">Access log:</FONT>

<BR><FONT COLOR="#000080" SIZE=1 FACE="Courier New">172.16.72.205 - - [10/Dec/2009:06:19:16 -0500] "POST /REST/1.0/NoAuth/mail-gateway HTTP/1.1" 500 622 "-" "libwww-perl/5.800" 1792</FONT></P>

<P><FONT COLOR="#000080" SIZE=1 FACE="Courier New">172.16.72.205 - - [10/Dec/2009:07:02:28 -0500] "POST /REST/1.0/NoAuth/mail-gateway HTTP/1.1" 500 622 "-" "libwww-perl/5.800" 20992</FONT></P>

<P><FONT SIZE=2 FACE="Trebuchet MS">Error log:</FONT>

<BR><FONT COLOR="#000080" SIZE=1 FACE="Courier New">[Thu Dec 10 06:29:16 2009] [error] [client 172.16.72.205] FastCGI: comm with server mason_handler.fcgi" aborted: idle timeout (600 sec)</FONT></P>

<P><FONT COLOR="#000080" SIZE=1 FACE="Courier New">[Thu Dec 10 07:12:28 2009] [error] [client 172.16.72.205] FastCGI: comm with server "mason_handler.fcgi" aborted: idle timeout (600 sec)</FONT></P>

<P><FONT COLOR="#000080" SIZE=1 FACE="Courier New">FastCGI:<B> incomplete headers</B> (0 bytes) received from server "mason_handler.fcgi"</FONT>
</P>

<P><FONT COLOR="#000080" SIZE=1 FACE="Courier New">[error]: couldn't load cf {$value} || $value } (lib/RT/Action/ExtractCustomFieldValues.pm:86)</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Trebuchet MS">Thanks</FONT>

<BR><FONT SIZE=2 FACE="Trebuchet MS">Subba Venkateswaran </FONT>
</P>
<BR>

</BODY>
</HTML><BR/><p>
THIS MESSAGE AND ANY ATTACHMENTS ARE CONFIDENTIAL, PROPRIETARY, AND MAY BE PRIVILEGED.  If this message was misdirected, BlackRock, Inc. and its subsidiaries, ("BlackRock") does not waive any confidentiality or privilege.  If you are not the intended recipient, please notify us immediately and destroy the message without disclosing its contents to anyone.  Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized.  The views and opinions expressed in this e-mail message are the author's own and may not reflect the views and opinions of BlackRock, unless the author is authorized by BlackRock to express such views or opinions on its behalf.  All email sent to or from this address is subject to electronic storage and review by BlackRock.  Although BlackRock operates anti-virus programs, it does not accept responsibility for any damage whatsoever caused by viruses being passed.
<p><br>