From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.devel Subject: Re: smtpmail.el and 1msg Date: Mon, 08 Mar 2004 17:51:14 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <16455.40870.198614.821339@freezer.sbum.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1079016256 7221 80.91.224.253 (11 Mar 2004 14:44:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Mar 2004 14:44:16 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Mar 11 15:44:02 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B1RPm-00083T-00 for ; Thu, 11 Mar 2004 15:44:02 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B1RPl-0002D9-00 for ; Thu, 11 Mar 2004 15:44:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1Nrd-0000Sb-4l for emacs-devel@quimby.gnus.org; Thu, 11 Mar 2004 05:56:33 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B0Nz2-0000JI-7F for emacs-devel@gnu.org; Mon, 08 Mar 2004 11:52:04 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B0NyN-0000Ai-Ri for emacs-devel@gnu.org; Mon, 08 Mar 2004 11:51:55 -0500 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0NyM-00009s-Uo for emacs-devel@gnu.org; Mon, 08 Mar 2004 11:51:23 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1B0NyI-0006U8-00 for ; Mon, 08 Mar 2004 17:51:18 +0100 Original-Received: from h42n5c1o299.bredband.skanova.com ([217.211.246.42]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Mar 2004 17:51:18 +0100 Original-Received: from jas by h42n5c1o299.bredband.skanova.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Mar 2004 17:51:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 26 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: h42n5c1o299.bredband.skanova.com User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:agTZ9Wg1r71SEfJnH+HSuFcQ4n0= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20303 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20303 jglauner@sbum.org writes: > I'd like to propose a patch (and I'm not sure I'm in the right place) > for smtpmail.el. Thanks! I believe this also explains a few bug reports I've got, with the exact same symptoms as the ones you describe. > The problem I experienced was that smtpmail would spin, waiting for > response from the "QUIT" command. It would appear that my ISP changed > its mail software and now has configured an option called 1msg which > closes the connection when the end of "DATA" has been reached. Does anyone know what motivate people to do this? It sounds to me like a rather disruptive thing to do. > The smtpmail package was still trying to read from the process, even > though the process had closed. So I created a binding for a > variable called smtpmail-1msg, parsing the greeting string, looking > for the 1msg token to set and later use when deciding whether or not > to bother sending "QUIT". Do you have of a reference to this 1msg stuff? It would be good to include a reference to it in smtpmail.el. I'm particularly worried that we might not be conforming to the intention of 1msg fully. Perhaps there is some deep idea behind it. (Though I doubt that..)