From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81782 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: Hangs when sending mail via SMTP Date: Thu, 19 Apr 2012 10:30:05 +0200 Message-ID: <87pqb49l9u.fsf@thinkpad.tsdh.de> References: <87k41cfcbx.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1334825426 22800 80.91.229.3 (19 Apr 2012 08:50:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 19 Apr 2012 08:50:26 +0000 (UTC) Cc: ding@gnus.org To: Andreas Schwab Original-X-From: ding-owner+M30055@lists.math.uh.edu Thu Apr 19 10:50:25 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SKn4I-0008Gq-TX for ding-account@gmane.org; Thu, 19 Apr 2012 10:50:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1SKn3i-0000lK-Is; Thu, 19 Apr 2012 03:49:46 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1SKn3f-0000l4-QW for ding@lists.math.uh.edu; Thu, 19 Apr 2012 03:49:43 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1SKn3R-0006Bq-Ts for ding@lists.math.uh.edu; Thu, 19 Apr 2012 03:49:43 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1SKn3Q-0001Da-AP for ding@gnus.org; Thu, 19 Apr 2012 10:49:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 7FB6BD2BDB; Thu, 19 Apr 2012 10:47:48 +0200 (CEST) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3SG6MaD3HWV9; Thu, 19 Apr 2012 10:47:48 +0200 (CEST) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Original-Received: from thinkpad.tsdh.de (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 65B781A8ACE; Thu, 19 Apr 2012 10:30:06 +0200 (CEST) In-Reply-To: (Andreas Schwab's message of "Thu, 19 Apr 2012 09:45:42 +0200") User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.1.50 (gnu/linux) X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81782 Archived-At: Andreas Schwab writes: >> since 2 or three days (always using the current git master), I have >> frequent hangs when sending mail via SMTP. In *Messages* I get the >> usual output: >> >> 235 2.7.0 Authentication successful >> 250 2.1.0 Ok >> 250 2.1.5 Ok [4 times] >> 354 End data with . >> Sending email >> Sending email done >> 250 2.0.0 Ok: queued as 28C71D244A >> 221 2.0.0 Bye >> Mark set >> Sending...done >> >> The hang occurs while "Mark set" is shown in the echo area. It >> usually takes about 20-30 seconds before "Sending...done" appears and >> the mail buffer is closed. >> >> What's a bit strange: when I hit C-g during the hang (possibly >> repeatedly), I'll get the "Sending...done" immediately without >> noticing any bad effect. The sent mail is also copied to the group I >> wrote from as specified by gcc-self setting. > > Probably the SMTP server sometimes refuses to acknowledge the QUIT > command for some time (smtpmail waits for an answer here). Yes, that's likely. It seems to be a server-side issue. Sometimes it works immediately, sometimes it hangs. I'll try to send some test mails at home this evening, where I can use some other SMTP server. Bye, Tassilo