On Tue, Dec 02, 2008 at 07:52:19AM -0500, Charles Marcus wrote: > On 12/1/2008 12:40 PM, Victor Duchovni wrote: > >>> There is nothing wrong with lost connections after QUIT. Newer versions > >>> of Postfix only log "lost connection" in the SMTP server during data > >>> transfer or when sending the "." response. The client is free to > >>> disconnect without "QUIT" at all other SMTP protocol stages. > >>> > >>> Sufficiently new Postfix releases will not log this condition. > > >> I'm running 2.5.5, and get this almost every time (maybe every time) > >> when people send through the webmail interface... > > > Sorry, Postfix won't log clients disconnecting without sending QUIT, > > but it will log failure to send "221 ...". > > Ok... we only have a few users who ever use the webmail interface, and > grepping the logs shows this only happens to two of them, and pretty > much every time... > > I'm guessing something interfering on their end (router/firewall, web > 'protection' software (Norton, Macafee, etc))... >
Unlikely, as the connection loss is with "localhost" (the webmail server submitting SMTP email on the users' behalf), not the users' desktops. The real issue is that the webmail SMTP engine is not using PIPENINING, so the QUIT response is sent separately from the "." response, and the webmail client disconnects after sending "QUIT" without waiting for "221". After that it is a race, to see whether the SMTP server can reply before the kernel notices the connection is gone. With the client on "locahost", the server is likely to lose the race. While the log message is largelyharmless noise, I think this is worth fixing, thanks for the report. It may be fixed in 2.6 and perhaps also in 2.5.6 when there is sufficient cause to issue a 2.5.6 release. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:[EMAIL PROTECTED]> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.