unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [garym@teledyn.com: StartTLS fails on CVS build]
@ 2005-10-28  3:48 Richard M. Stallman
  2005-10-29 14:44 ` Chong Yidong
  0 siblings, 1 reply; 3+ messages in thread
From: Richard M. Stallman @ 2005-10-28  3:48 UTC (permalink / raw)


Can someone please investigate this, and ack?

------- Start of forwarded message -------
From: Gary Lawrence Murphy <garym@teledyn.com>
To: emacs-pretest-bug@gnu.org
Date: Mon, 24 Oct 2005 16:52:40 -0400
Organization: Free software is good for children and other living creatures
X-Url: http://www.teledyn.com/
X-Mailman-Approved-At: Tue, 25 Oct 2005 00:12:23 -0400
Subject: StartTLS fails on CVS build
Reply-To: Gary Lawrence Murphy <garym@teledyn.com>
Sender: emacs-pretest-bug-bounces+rms=gnu.org@gnu.org
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on monty-python
X-Spam-Level: *
X-Spam-Status: No, hits=1.8 required=5.0 tests=MIME_QP_DEFICIENT autolearn=no 
	version=2.63

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I have verified this with a clean build downloaded from scratch today,
and verified with the built-in GNUS 5.10 and with a fresh install
of the NoGnus 0.3; both give the same behaviour.  

I have also verified that the remote imap exists and I can fetch
to this machine from that server with the same :user and :password
using other imap software.

but when done in Emacs ...

Debugger entered--Lisp error: (wrong-type-argument stringp #<killed buffer>)
  rename-buffer(#<killed buffer>)
  imap-open("ticat" nil nil nil #<killed buffer>)
  mail-source-fetch-imap((imap :server "ticat" :user "garym" :password "*******") #[(file orig-file) "Â\bÃÄ\b   š?…\x0f

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

* Re: [garym@teledyn.com: StartTLS fails on CVS build]
  2005-10-28  3:48 [garym@teledyn.com: StartTLS fails on CVS build] Richard M. Stallman
@ 2005-10-29 14:44 ` Chong Yidong
  2005-11-11 14:42   ` Gary Lawrence Murphy
  0 siblings, 1 reply; 3+ messages in thread
From: Chong Yidong @ 2005-10-29 14:44 UTC (permalink / raw)
  Cc: rms, emacs-devel

> I have verified this with a clean build downloaded from scratch today,
> and verified with the built-in GNUS 5.10 and with a fresh install
> of the NoGnus 0.3; both give the same behaviour.  
>
> I have also verified that the remote imap exists and I can fetch
> to this machine from that server with the same :user and :password
> using other imap software.

Does this fix the bug?

*** emacs/lisp/gnus/imap.el.~1.24.~	2005-10-26 21:31:20.000000000 -0400
--- emacs/lisp/gnus/imap.el	2005-10-29 10:41:46.000000000 -0400
***************
*** 1038,1045 ****
  			   stream))
  		      ;; We're done, kill the first connection
  		      (imap-close buffer)
! 		      (kill-buffer buffer)
! 		      (rename-buffer buffer)
  		      (message "imap: Reconnecting with stream `%s'...done"
  			       stream)
  		      (setq imap-stream stream)
--- 1038,1048 ----
  			   stream))
  		      ;; We're done, kill the first connection
  		      (imap-close buffer)
! 		      (let ((name (if (stringp buffer)
! 				      buffer
! 				    (buffer-name buffer))))
! 			(kill-buffer buffer)
! 			(rename-buffer name))
  		      (message "imap: Reconnecting with stream `%s'...done"
  			       stream)
  		      (setq imap-stream stream)

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

* Re: [garym@teledyn.com: StartTLS fails on CVS build]
  2005-10-29 14:44 ` Chong Yidong
@ 2005-11-11 14:42   ` Gary Lawrence Murphy
  0 siblings, 0 replies; 3+ messages in thread
From: Gary Lawrence Murphy @ 2005-11-11 14:42 UTC (permalink / raw)
  Cc: rms, emacs-devel


Same problem.  Here are the messages; I'm just guessing, but it seems
to be an SSL authentication issue?  What I can say for certain is this
worked fine under all my previous versions of GNU emacs over the past
decade ;) and the same host/login/pw works fine with the pop method.

Let me know if there is any other diagnostic information I can get for
you.

    (setq mail-sources 
          '(
            "/var/spool/mail/garym" 
;;          (pop :server "ticat" :user "garym" :password "***")
            (imap :server "ticat" :user "garym" :password "***")
            "~/Mailbox" 
            (directory :path "~/tmp/spool/" :suffix ".spool")
            )
          )


Loading /usr/share/emacs/22.0.50/lisp/gnus/imap.el (source)...done
Opening nntp server on 192.168.70.4...done
Reading active file from 192.168.70.4 via nntp...
Reading active file via nnml...
nnml: Reading incoming mail from directory...
nnml: Reading incoming mail from file...
nnml: Reading incoming mail from imap...
imap: Connecting to ticat...
Waiting for response from ticat...done
imap: Reconnecting with stream `starttls'...
Loading starttls...done
Opening STARTTLS connection to `ticat'...done
imap: Connecting with STARTTLS...
imap: STARTTLS info: *** Starting TLS handshake
- Certificate type: X.509
 - Got a certificate list of 1 certificates.

 - Certificate[0] info:
 # The hostname in the certificate does NOT match 'ticat'.
 # valid since: Mon May 30 22:43:00 EDT 2005
 # expires at: Tue May 30 22:43:00 EDT 2006
 # serial number: 00 
 # fingerprint: da 56 df 0f 16 6a d5 84 fd b8 35 ed e2 96 e6 e5 
 # version: #3
 # public key algorithm: RSA
 #   Modulus: 1024 bits
 # Subject's DN: C=--,ST=SomeState,L=SomeCity,O=SomeOrganization,OU=SomeOrganizationalUnit,CN=localhost.localdomain,EMAIL=root@localhost.localdomain
 # Issuer's DN: C=--,ST=SomeState,L=SomeCity,O=SomeOrganization,OU=SomeOrganizationalUnit,CN=localhost.localdomain,EMAIL=root@localhost.localdomain


- Peer's certificate issuer is unknown
- Peer's certificate is NOT trusted
- Version: TLS 1.0
- Key Exchange: RSA
- Cipher: ARCFOUR 128
- MAC: SHA
- Compression: NULL

imap: Connecting with STARTTLS...done
Waiting for response from ticat...done
byte-code: Cannot get new mail

-- 
Gary Lawrence Murphy <garym@teledyn.com> ==============================
www.teledyn.com - blog.teledyn.com - irish.teledyn.com - sbp.teledyn.com
====================== The present moment is a powerful goddess (Goethe)

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

end of thread, other threads:[~2005-11-11 14:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-28  3:48 [garym@teledyn.com: StartTLS fails on CVS build] Richard M. Stallman
2005-10-29 14:44 ` Chong Yidong
2005-11-11 14:42   ` Gary Lawrence Murphy

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).