From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Changing the default for `send-mail-function' Date: Sun, 26 Jun 2011 16:40:03 -0400 Message-ID: <87wrg8uy1o.fsf@stupidchicken.com> References: <87pqm0moff.fsf@stupidchicken.com> <871uygmkxm.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309120836 24115 80.91.229.12 (26 Jun 2011 20:40:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Jun 2011 20:40:36 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 26 22:40:31 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qaw87-0005kb-KD for ged-emacs-devel@m.gmane.org; Sun, 26 Jun 2011 22:40:31 +0200 Original-Received: from localhost ([::1]:44147 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qaw86-0006BM-84 for ged-emacs-devel@m.gmane.org; Sun, 26 Jun 2011 16:40:30 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qaw7l-00068b-KD for emacs-devel@gnu.org; Sun, 26 Jun 2011 16:40:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qaw7h-0003if-E8 for emacs-devel@gnu.org; Sun, 26 Jun 2011 16:40:09 -0400 Original-Received: from vm-emlprdomr-03.its.yale.edu ([130.132.50.144]:38181) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qaw7h-0003hu-5R; Sun, 26 Jun 2011 16:40:05 -0400 Original-Received: from furball (c-71-192-165-84.hsd1.ct.comcast.net [71.192.165.84]) (authenticated bits=0) by vm-emlprdomr-03.its.yale.edu (8.14.4/8.14.4) with ESMTP id p5QKe39k031824 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 26 Jun 2011 16:40:04 -0400 Original-Received: by furball (Postfix, from userid 1000) id 890CE16076C; Sun, 26 Jun 2011 16:40:03 -0400 (EDT) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 26 Jun 2011 22:05:30 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.144 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.132.50.144 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:141008 Archived-At: Lars Magne Ingebrigtsen writes: > It hasn't announced AUTH, so it's not tried. And it's not offered AUTH > because it hasn't switched on STARTTLS. But it's clearly announcing > STARTTLS, so it should be switching on STARTTLS. > > So what could me making it not trying STARTTLS? Do you have neither > compiled-in gnutls support nor gnutls-cli installed? Ah yes, that was the problem. I had inadvertently reconfigured without gnutls support. Rebuilding with gnutls solved the problem; thanks for the pointer. Probably smtpmail-send-it needs some code to handle that failure case in a less cryptic way. Also, I think `smtpmail-stream-type' should default to `starttls'.