unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#3362: 23.0.91; smtpmail and starttls
@ 2009-05-24  8:56 ` Roland Winkler
       [not found]   ` <handler.3362.B.124315542027888.ack@emacsbugs.donarmstrong.com>
  2009-06-02 20:35   ` bug#3362: marked as done (23.0.91; smtpmail and starttls) Emacs bug Tracking System
  0 siblings, 2 replies; 4+ messages in thread
From: Roland Winkler @ 2009-05-24  8:56 UTC (permalink / raw)
  To: emacs-pretest-bug

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






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#3362: 23.0.91; smtpmail and starttls
       [not found]   ` <handler.3362.B.124315542027888.ack@emacsbugs.donarmstrong.com>
@ 2009-05-24 17:15     ` Roland Winkler
  2009-05-25  1:17       ` Roland Winkler
  0 siblings, 1 reply; 4+ messages in thread
From: Roland Winkler @ 2009-05-24 17:15 UTC (permalink / raw)
  To: 3362

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#3362: 23.0.91; smtpmail and starttls
  2009-05-24 17:15     ` Roland Winkler
@ 2009-05-25  1:17       ` Roland Winkler
  0 siblings, 0 replies; 4+ messages in thread
From: Roland Winkler @ 2009-05-25  1:17 UTC (permalink / raw)
  To: 3362

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#3362: marked as done (23.0.91; smtpmail and starttls)
  2009-05-24  8:56 ` bug#3362: 23.0.91; smtpmail and starttls Roland Winkler
       [not found]   ` <handler.3362.B.124315542027888.ack@emacsbugs.donarmstrong.com>
@ 2009-06-02 20:35   ` Emacs bug Tracking System
  1 sibling, 0 replies; 4+ messages in thread
From: Emacs bug Tracking System @ 2009-06-02 20:35 UTC (permalink / raw)
  To: Roland Winkler

[-- Attachment #1: Type: text/plain, Size: 883 bytes --]


Your message dated Tue, 2 Jun 2009 22:25:45 +0200
with message-id <18981.35529.278596.90108@tfkp07.physik.uni-erlangen.de>
and subject line Re: bug#3362: 23.0.91; smtpmail and starttls
has caused the Emacs bug report #3362,
regarding 23.0.91; smtpmail and starttls
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
3362: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3362
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3397 bytes --]

From: "Roland Winkler" <Roland.Winkler@physik.uni-erlangen.de>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.91; smtpmail and starttls
Date: Sun, 24 May 2009 10:56:48 +0200
Message-ID: <m3iqjqanfz.fsf@tfkp07.physik.uni-erlangen.de>

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



[-- Attachment #3: Type: message/rfc822, Size: 1818 bytes --]

From: "Roland Winkler" <Roland.Winkler@physik.uni-erlangen.de>
To: 3362-done@emacsbugs.donarmstrong.com
Subject: Re: bug#3362: 23.0.91; smtpmail and starttls
Date: Tue, 2 Jun 2009 22:25:45 +0200
Message-ID: <18981.35529.278596.90108@tfkp07.physik.uni-erlangen.de>

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-02 20:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <18981.35529.278596.90108@tfkp07.physik.uni-erlangen.de>
2009-05-24  8:56 ` bug#3362: 23.0.91; smtpmail and starttls Roland Winkler
     [not found]   ` <handler.3362.B.124315542027888.ack@emacsbugs.donarmstrong.com>
2009-05-24 17:15     ` Roland Winkler
2009-05-25  1:17       ` Roland Winkler
2009-06-02 20:35   ` bug#3362: marked as done (23.0.91; smtpmail and starttls) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).