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: Tue, 09 Mar 2004 23:36:44 +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 1079039041 7938 80.91.224.253 (11 Mar 2004 21:04:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Mar 2004 21:04:01 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Mar 11 22:03:53 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 1B1XLN-0007hb-00 for ; Thu, 11 Mar 2004 22:03:53 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B1XLM-0005mu-00 for ; Thu, 11 Mar 2004 22:03:53 +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 1B1WFk-0005aE-Bo for emacs-devel@quimby.gnus.org; Thu, 11 Mar 2004 14:54:00 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B0pqq-00023s-NV for emacs-devel@gnu.org; Tue, 09 Mar 2004 17:37:28 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B0pqJ-0001wn-U4 for emacs-devel@gnu.org; Tue, 09 Mar 2004 17:37:27 -0500 Original-Received: from [217.13.230.178] (helo=yxa.extundo.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1B0pqJ-0001wh-IX for emacs-devel@gnu.org; Tue, 09 Mar 2004 17:36:55 -0500 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.11/8.12.11) with ESMTP id i29MakTK010806 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 9 Mar 2004 23:36:47 +0100 Original-To: jglauner@sbum.org X-Hashcash: 0:040309:jglauner@sbum.org:8ffc9140696ee28a X-Hashcash: 0:040309:emacs-devel@gnu.org:31900f845e269704 In-Reply-To: (Simon Josefsson's message of "Mon, 08 Mar 2004 17:51:14 +0100") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) 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:20313 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20313 [This is a resend, is something wrong with the mailing list? Or gmane?] 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..)