[rt-users] EX_TEMPFAIL / receiving multiple copies of mail

Jesse Vincent jesse at bestpractical.com
Wed Apr 2 15:44:05 EST 2003



On Wed, Apr 02, 2003 at 12:40:34PM -0800, bill at daze.net wrote:
> 
> > So. I'm wondering if the server-side of things is completing, but the
> > client is just timing out before it gets the "All Clear" signal.
> >
> > 1) have you set up the SendmailArguments to use DeliveryMode=b and
> > ErrorMode=m ?
> 
> I was just using the defaults.
> 
> I will add
> Set($SendmailArguments,"-oi -t -ODeliveryMode=b -OErrorMode=m");
> to my RT_SiteConfig.pm and wait and see what happens.

Sendmail brand sendmail doesn't deliver in the background like
everything else.  This change should make RT return much more quickly,
which eliminates the fastcgi issue you're seeing.

> 
> > 2) what happens if you turn the FastCGI timeout way up? (Like 10
> > minutes)
> 
> I turned it up to 5 minutes this morning (from 90 seconds).  I don't think
> our users would be happy if they had to site and wait 10 minutes before a
> timeout.  They aren't going to be too happy with 5 minutes either.  If
> FastCGI chokes again, I will increase it at that point.  However I just
> think this is prolonging the inevitable.  I would prefer to find out why
> FastCGI is losing communications with the program.

Because the RT server is spending a long time actually trying to send
the email in its "foreground" and waiting until it's delivered before it 
returns. Other MTAs default to background delivery, so they return
quickly. The FastCGI server isn't seeing anything come back from the RT
server so it assumes it has hung and returns an error.



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



More information about the rt-users mailing list