[17:49:33] SMTP< 250 2.1.5 OK [17:49:33] SMTP> DATA [17:49:34] SMTP< 354 Go ahead [17:49:34] SMTP> . (EOM) [17:49:34] SMTP< 250 2.0.0 OK 1113856702 [17:49:34] SMTP> QUIT ** Error occurred while sending the message. this problem has been fixed in CVS tree of sylpheed-claws with: --- send_message.c.orig 2004-06-08 10:55:38.000000000 +0000 +++ send_message.c 2005-04-18 17:13:21.000000000 +0000 @@ -1,6 +1,6 @@ /* * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client - * Copyright (C) 1999-2003 Hiroyuki Yamamoto + * Copyright (C) 1999-2005 Hiroyuki Yamamoto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -412,6 +412,11 @@ ac_prefs->tmp_smtp_pass = NULL; } ret = -1; + } else if (session->state == SESSION_EOF && + SMTP_SESSION(session)->state == SMTP_QUIT) { + /* consider EOF right after QUIT successful */ + log_warning("%s\n", _("Connection closed by the remote host.")); + ret = 0; } else if (session->state == SESSION_ERROR || session->state == SESSION_EOF || session->state == SESSION_TIMEOUT || bye bye
Created attachment 56600 [details, diff] patch_smtps_with_gmail http://cvs.sourceforge.net/viewcvs.py/sylpheed-claws/sylpheed-claws/src/send_message.c?rev=1.21&view=log
Created attachment 56909 [details, diff] socket complement for previous patch the two separates patches are needed for do smtps with gmail,.....
Hmm, the resolv.conf patch isn't present in Colins patch, any reason why you included that one too?
hmm, not really, here is the patch.... 2005-03-30 [colin] 1.9.6cvs13 * src/common/socket.c Force the glibc to read resolv.conf again when it has changed. Should fix issues when changing networks on a laptop and not restarting sylpheed. (I'll check tomorrow if a similar hack has to be done if the route changes). ok, i working, to remove this, not needed for patch smtps. the patch must be objetive & fix one problem only? in this case you have a reason
Created attachment 57158 [details, diff] full patch gmail smtps accept EOF after QUIT is ok full patch for do smtps, to gmail without other changes
this bug also affects the regular sylpheed. The 'stable' branch. aka non-claws.
1.0.5 should fix this for claws and should be out on Monday, so I'm not going to bother with doing a revbump with this patch. Don't know about sylpheed although I assume that there will be a 1.0.5 for it too.