[sylpheed:31534] Sylpheed and Gmail's (broken?) handling of the sender's QUIT command
celejar at gmail.com
Thu Jul 19 22:18:48 JST 2007
I've been successfully relaying mail with Sylpheed through Gmail's smtp
server (smtp.gmail.com) for quite some time. Today, for the first
time, Sylpheed has begun to consistently pop up an error box upon
concluding the transmission, although the mails are still apparently
getting through successfully.
The error reads:
Error occurred while sending the message
I assume this is due to Gmail's (incorrect?) handling of the sender's
QUIT command. Testing with swak, I see that the entire smtp
conversation occurs correctly, but after swaks sends 'QUIT', it reports
"*** Remote host closed connection unexpectedly." IIUC, Gmail is
prematurely breaking the connection upon receiving QUIT, in violation
of RFC 2821, which stipulates:
> 126.96.36.199 QUIT (QUIT)
> This command specifies that the receiver MUST send an OK reply, and
> then close the transmission channel.
> The receiver MUST NOT intentionally close the transmission channel
> until it receives and replies to a QUIT command (even if there was an
Gmail's dubious behavior has been noted here  and here .
Sylpheed's insistence on complaining about this with a pop-up, though,
is annoying. As I mentioned above, I haven't seen his until today,
although I believe Gmail has been doing this for a while. Is there any
way to tell Sylpheed to ignore this problem? Even though this isn't
Sylpheed's fault, I think there should be a menu setting such as
"Ignore uncivil hang-up on QUIT (for broken, non-RFC compliant MTAs)".
Do I need to write a patch myself? Is anyone else seeing / bothered by
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator
More information about the Sylpheed