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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de>
Subject: bug#3362 closed by "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de>
 (Re: bug#3362: 23.0.91; smtpmail and starttls)
Date: Tue, 02 Jun 2009 20:35:05 +0000
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#3362: 23.0.91; smtpmail and starttls

It has been closed by "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de> by
replying to this email.


-- 
3362: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3362
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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
[Message part 3 (message/rfc822, inline)]
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



This bug report was last modified 16 years and 51 days ago.

Previous Next


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