[rt-users] Submitting tickets via emai is causing rt-server.fcgi to hang

Thomas Sibley trs at bestpractical.com
Fri Aug 5 11:17:47 EDT 2011


On 08/02/2011 10:36 AM, Charlie Garrison wrote:
> There are no other log messages. Here are the log messages associated
> with the last test:
> 
> [Wed Aug 03 00:31:44 2011] [error] [client 150.101.114.91] FastCGI:
> incomplete headers (0 bytes) received from server
> "/usr/local/rt4/sbin/rt-server.fcgi"
> [Wed Aug 03 00:31:44 2011] [error] [client 150.101.114.91] FastCGI:
> server "/usr/local/rt4/sbin/rt-server.fcgi" stderr: [Tue Aug  2 14:31:44
> 2011] [error]: Couldn't find sender's address
> (/usr/local/rt4/sbin/../lib/RT/Interface/Email/Auth/MailFrom.pm:74)
> [Wed Aug 03 00:31:44 2011] [error] [client 150.101.114.91] FastCGI:
> server "/usr/local/rt4/sbin/rt-server.fcgi" stderr: [Tue Aug  2 14:31:44
> 2011] [error]: Could not record email: Could not load a valid user
> (/usr/local/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75)

There's nothing RT does after spitting out these errors except print
"not ok" and an error message for bin/rt-mailgate to pickup (the
mailgate then exits).

I'll note that "Couldn't find sender's address" means that RT couldn't
find a From: address, but your message contains one and stock RT finds
it.  Either the log messages above aren't for the test message you
attached, or your test message is getting mangled by something else
before it ever gets to RT.

Do you have anything interesting in your mail flow before RT?  To
further debug, you could change your mailgate alias to

    | tee /tmp/output | rt-mailgate ...

to capture the message as it is piped into mailgate.

> And I've attached a copy of the message I just sent to RT.

The attached message doesn't make RT blow up on a vanilla system, so
it's specific to your install.

Thomas



More information about the rt-users mailing list