GNU bug report logs - #3362
23.0.91; smtpmail and starttls

Previous Next

Package: emacs;

Reported by: "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de>

Date: Sun, 24 May 2009 09:05:06 UTC

Severity: normal

Done: "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3362 in the body.
You can then email your comments to 3362 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3362; Package emacs. (Sun, 24 May 2009 09:05:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 24 May 2009 09:05:07 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.91; smtpmail and starttls
Date: Sun, 24 May 2009 10:56:48 +0200
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




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3362; Package emacs. (Sun, 24 May 2009 17:20:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 24 May 2009 17:20:06 GMT) Full text and rfc822 format available.

Message #10 received at 3362 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de>
To: 3362 <at> debbugs.gnu.org
Subject: Re: bug#3362: 23.0.91; smtpmail and starttls
Date: Sun, 24 May 2009 19:15:22 +0200
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



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3362; Package emacs. (Mon, 25 May 2009 01:25:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 25 May 2009 01:25:05 GMT) Full text and rfc822 format available.

Message #15 received at 3362 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de>
To: 3362 <at> debbugs.gnu.org
Subject: Re: bug#3362: 23.0.91; smtpmail and starttls
Date: Mon, 25 May 2009 03:17:48 +0200
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



Reply sent to "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de>:
You have taken responsibility. (Tue, 02 Jun 2009 20:35:04 GMT) Full text and rfc822 format available.

Notification sent to "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de>:
bug acknowledged by developer. (Tue, 02 Jun 2009 20:35:05 GMT) Full text and rfc822 format available.

Message #20 received at 3362-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de>
To: 3362-done <at> debbugs.gnu.org
Subject: Re: bug#3362: 23.0.91; smtpmail and starttls
Date: Tue, 2 Jun 2009 22:25:45 +0200
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



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Wed, 01 Jul 2009 14:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 355 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.