From unknown Tue Jun 17 20:18:27 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#3362 <3362@debbugs.gnu.org> To: bug#3362 <3362@debbugs.gnu.org> Subject: Status: 23.0.91; smtpmail and starttls Reply-To: bug#3362 <3362@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:18:27 +0000 retitle 3362 23.0.91; smtpmail and starttls reassign 3362 emacs submitter 3362 "Roland Winkler" severity 3362 normal thanks From Roland.Winkler@physik.uni-erlangen.de Sun May 24 01:57:00 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 24 May 2009 08:57:00 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.6 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4O8utOD027876 for ; Sun, 24 May 2009 01:56:56 -0700 Received: from mx10.gnu.org ([199.232.76.166]:38648) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1M89Vm-0003q0-HV for emacs-pretest-bug@gnu.org; Sun, 24 May 2009 04:56:54 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1M89Vk-0002wL-Kn for emacs-pretest-bug@gnu.org; Sun, 24 May 2009 04:56:53 -0400 Received: from tfkpsv.physik.uni-erlangen.de ([131.188.164.197]:7156) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M89Vk-0002vx-2D for emacs-pretest-bug@gnu.org; Sun, 24 May 2009 04:56:52 -0400 Received: from tfkp07.physik.uni-erlangen.de (tfkp07.physik.uni-erlangen.de [131.188.164.207]) by tfkpsv.physik.uni-erlangen.de (Postfix) with ESMTP id 2B5612113F for ; Sun, 24 May 2009 10:56:48 +0200 (CEST) Date: Sun, 24 May 2009 10:56:48 +0200 Message-Id: From: "Roland Winkler" To: emacs-pretest-bug@gnu.org Subject: 23.0.91; smtpmail and starttls X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 I am having difficulties to establish a communication to an smtp server using smtpmail.el and starttls.el: The incomplete connection I get is the following Opening STARTTLS connection to `foo.bar.com:465'...done 220 foo.bar.com ESMTP Postfix 250-foo.bar.com 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-STARTTLS 250 8BITMIME 220 Ready to start TLS STARTTLS negotiation failed: 20 Ready to start TLS *** Starting TLS handshake *** Fatal error: Key usage violation in certificate has been detected. *** Handshake has failed smtpmail-send-command: Process SMTP not running My settings are (setq smtpmail-auth-credentials '(("foo.bar.com" 465 "winkler" nil)) smtpmail-starttls-credentials '(("foo.bar.com" 465 nil nil)) I am not sure whether these settings are correct. Smtpmail doesn't reach a point when it would ask for a password. -- I find the docstrings of these variables a bit confusing as they do not comply with the usual conventions for docstrings. Also, it is not clear to me whether I need both variables. If yes, why are they apparently redundant? And the default value for smtpmail-starttls-credentials is confusing, too, as it cannot be used for anything. What else to say? Using (setq smtpmail-debug-info t) doesn't give any extra information. And I am using gnutls-cli (GnuTLS) 2.4.1 In GNU Emacs 23.0.91.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of 2009-03-23 on regnitz Windowing system distributor `The X.Org Foundation', version 11.0.10502000 From Roland.Winkler@physik.uni-erlangen.de Sun May 24 10:15:30 2009 Received: (at 3362) by emacsbugs.donarmstrong.com; 24 May 2009 17:15:31 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.8 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from tfkpsv.physik.uni-erlangen.de (tfkpsv.physik.uni-erlangen.de [131.188.164.197]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4OHFPcX005868 for <3362@emacsbugs.donarmstrong.com>; Sun, 24 May 2009 10:15:27 -0700 Received: from tfkp07.physik.uni-erlangen.de (tfkp07.physik.uni-erlangen.de [131.188.164.207]) by tfkpsv.physik.uni-erlangen.de (Postfix) with ESMTP id AB4902113F for <3362@emacsbugs.donarmstrong.com>; Sun, 24 May 2009 19:15:23 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18969.32938.320063.236849@tfkp07.physik.uni-erlangen.de> Date: Sun, 24 May 2009 19:15:22 +0200 From: "Roland Winkler" To: 3362@debbugs.gnu.org Subject: Re: bug#3362: 23.0.91; smtpmail and starttls In-Reply-To: References: X-Mailer: VM 8.0.9 under Emacs 22.2.1 (i686-pc-linux-gnu) I just want to add that I comiled a fresh CVS emacs today which gives the same behavior. In GNU Emacs 23.0.94.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of 2009-05-24 on regnitz From Roland.Winkler@physik.uni-erlangen.de Sun May 24 18:17:59 2009 Received: (at 3362) by emacsbugs.donarmstrong.com; 25 May 2009 01:17:59 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.7 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from tfkpsv.physik.uni-erlangen.de (tfkpsv.physik.uni-erlangen.de [131.188.164.197]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4P1HsHp008260 for <3362@emacsbugs.donarmstrong.com>; Sun, 24 May 2009 18:17:56 -0700 Received: from tfkp07.physik.uni-erlangen.de (tfkp07.physik.uni-erlangen.de [131.188.164.207]) by tfkpsv.physik.uni-erlangen.de (Postfix) with ESMTP id 1DEDF2113F for <3362@emacsbugs.donarmstrong.com>; Mon, 25 May 2009 03:17:53 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18969.61884.298860.956661@tfkp07.physik.uni-erlangen.de> Date: Mon, 25 May 2009 03:17:48 +0200 From: "Roland Winkler" To: 3362@debbugs.gnu.org Subject: Re: bug#3362: 23.0.91; smtpmail and starttls In-Reply-To: <18969.32938.320063.236849@tfkp07.physik.uni-erlangen.de> References: <18969.32938.320063.236849@tfkp07.physik.uni-erlangen.de> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (i686-pc-linux-gnu) I cannot claim that I understand the code of smtpmail.el. But I have indented it properly so that it is a bit more readable than before. Roland From Roland.Winkler@physik.uni-erlangen.de Tue Jun 2 13:25:57 2009 Received: (at 3362-done) by emacsbugs.donarmstrong.com; 2 Jun 2009 20:25:58 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.7 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from tfkpsv.physik.uni-erlangen.de (tfkpsv.physik.uni-erlangen.de [131.188.164.197]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n52KPqAi032210 for <3362-done@emacsbugs.donarmstrong.com>; Tue, 2 Jun 2009 13:25:54 -0700 Received: from tfkp07.physik.uni-erlangen.de (tfkp07.physik.uni-erlangen.de [131.188.164.207]) by tfkpsv.physik.uni-erlangen.de (Postfix) with ESMTP id 94541229A3 for <3362-done@emacsbugs.donarmstrong.com>; Tue, 2 Jun 2009 22:25:48 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18981.35529.278596.90108@tfkp07.physik.uni-erlangen.de> Date: Tue, 2 Jun 2009 22:25:45 +0200 From: "Roland Winkler" To: 3362-done@debbugs.gnu.org Subject: Re: bug#3362: 23.0.91; smtpmail and starttls In-Reply-To: <18969.61884.298860.956661@tfkp07.physik.uni-erlangen.de> References: <18969.32938.320063.236849@tfkp07.physik.uni-erlangen.de> <18969.61884.298860.956661@tfkp07.physik.uni-erlangen.de> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (i686-pc-linux-gnu) I realized that the problem I reported was really not related with a bug in emacs, see the thread http://lists.gnu.org/archive/html/help-gnutls/2009-05/msg00037.html From unknown Tue Jun 17 20:18:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Wed, 01 Jul 2009 14:24:10 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator