* imap connection problems (WinXP / NT Emacs)
@ 2003-08-05 1:02 John Owens
2003-08-05 11:41 ` Simon Josefsson
0 siblings, 1 reply; 3+ messages in thread
From: John Owens @ 2003-08-05 1:02 UTC (permalink / raw)
I've been running imap happily under Mac OS X for a couple of months.
Now I've moved my setup files over to Windows and during gnus startup,
gnus hangs. This doesn't happen on my Mac.
First, the setup:
NT Emacs 21.3.1 on Windows XP. gnus 5.10.2. openssl is part of cygwin
(updated today). I can connect no problem over the command line:
************ command line:
weetabix 19% openssl s_client -quiet -ssl3 -connect samba3.ece.ucdavis.edu:993
depth=0 /C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=localhost.localdomain/emailAddress=root@localhost.localdomain
verify error:num=18:self signed certificate
verify return:1
depth=0 /C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=localhost.localdomain/emailAddress=root@localhost.localdomain
verify return:1
* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=PLAIN AUTH=LOGIN] samba3.ece.ucdavis.edu IMAP4rev1 2001.315 at Mon, 4 Aug 2003 18:00:52 -0700 (PDT)
(maybe the verify error/return is significant?)
************ .emacs:
(if windows-nt-p
(load "ssl"))
(setq gnus-check-new-newsgroups nil
gnus-read-active-file 'some
gnus-nov-is-evil nil
gnus-select-method '(nntp "news.ucdavis.edu")
gnus-secondary-select-methods '((nnimap "samba3.ece.ucdavis.edu"
(nnimap-server-port 993)
(nnimap-stream ssl)
))
;; debug
imap-log "*imap-log*"
imap-debug "*imap-debug*"
nnimap-debug "*nnimap-debug*"
)
************ The message buffer:
Reading h:/.newsrc.eld...
Reading active file from news.ucdavis.edu via nntp...
Reading active file from samba3.ece.ucdavis.edu via nnimap...
Opening nnimap server on samba3.ece.ucdavis.edu...
imap: Connecting to samba3.ece.ucdavis.edu...
imap: Opening SSL connection with `openssl s_client -quiet -ssl3 -connect %s:%p'...
(time passes ... I hit C-g)
imap: Connecting to samba3.ece.ucdavis.edu...failed
Opening nnimap server on samba3.ece.ucdavis.edu...failed
Checking new news...
************ nnimap debug buffer:
======================================================================
1 -> nnimap-server-opened: server="samba3.ece.ucdavis.edu"
1 <- nnimap-server-opened: nil
======================================================================
1 -> nnimap-open-server: server="samba3.ece.ucdavis.edu" defs=((nnimap-server-port 993) (nnimap-stream ssl))
| 2 -> nnimap-server-opened: server="samba3.ece.ucdavis.edu"
| 2 <- nnimap-server-opened: nil
| 2 -> nnimap-open-connection: server="samba3.ece.ucdavis.edu"
| 2 <- nnimap-open-connection: nil
1 <- nnimap-open-server: nil
************ imap debug buffer:
| 2 -> imap-opened: buffer=" *nnimap* samba3.ece.ucdavis.edu"
| 2 <- imap-opened: nil
| | 3 -> imap-open: server="samba3.ece.ucdavis.edu" port=993 stream=ssl auth=nil buffer=" *nnimap* samba3.ece.ucdavis.edu"
| | | 4 -> imap-opened: buffer=" *nnimap* samba3.ece.ucdavis.edu"
| | | 4 <- imap-opened: nil
| | | 4 -> imap-open-1: buffer=" *nnimap* samba3.ece.ucdavis.edu"
| | | | 5 -> imap-ssl-open: name="imap" buffer=" *nnimap* samba3.ece.ucdavis.edu" server="samba3.ece.ucdavis.edu" port=993
| | | | | 6 -> imap-parse-greeting:
| | | | | 6 <- imap-parse-greeting: nil
| | | | | 6 -> imap-parse-greeting:
| | | | | 6 <- imap-parse-greeting: nil
... repeat for a long time ...
| | | | | 6 -> imap-parse-greeting:
| | | | | 6 <- imap-parse-greeting: nil
| | | 4 <- imap-open-1: nil
| | 3 <- imap-open: nil
| 2 -> imap-opened: buffer=" *nnimap* samba3.ece.ucdavis.edu"
Suggestions?
JDO
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: imap connection problems (WinXP / NT Emacs)
2003-08-05 1:02 imap connection problems (WinXP / NT Emacs) John Owens
@ 2003-08-05 11:41 ` Simon Josefsson
2003-08-05 16:12 ` John Owens
0 siblings, 1 reply; 3+ messages in thread
From: Simon Josefsson @ 2003-08-05 11:41 UTC (permalink / raw)
Cc: ding
John Owens <jowens@ece.ucdavis.edu> writes:
> I've been running imap happily under Mac OS X for a couple of months.
> Now I've moved my setup files over to Windows and during gnus startup,
> gnus hangs. This doesn't happen on my Mac.
Maybe
(setq imap-process-connection-type t)
together with
--- imap.el.~6.56.~ Thu Jul 10 16:03:59 2003
+++ imap.el Tue Aug 5 13:40:35 2003
@@ -612,7 +612,7 @@
(let* ((port (or port imap-default-ssl-port))
(coding-system-for-read imap-coding-system-for-read)
(coding-system-for-write imap-coding-system-for-write)
- (process-connection-type nil)
+ (process-connection-type imap-process-connection-type)
process)
(when (progn
(setq process (start-process
help?
Alternatively, you could try GNUTLS and change the nnimap stream from
ssl to tls.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: imap connection problems (WinXP / NT Emacs)
2003-08-05 11:41 ` Simon Josefsson
@ 2003-08-05 16:12 ` John Owens
0 siblings, 0 replies; 3+ messages in thread
From: John Owens @ 2003-08-05 16:12 UTC (permalink / raw)
Cc: John Owens, ding
Simon Josefsson writes:
John Owens <jowens@ece.ucdavis.edu> writes:
> I've been running imap happily under Mac OS X for a couple of months.
> Now I've moved my setup files over to Windows and during gnus startup,
> gnus hangs. This doesn't happen on my Mac.
Maybe
(setq imap-process-connection-type t)
together with
--- imap.el.~6.56.~ Thu Jul 10 16:03:59 2003
+++ imap.el Tue Aug 5 13:40:35 2003
Same behavior with the patch. Sigh.
I can't think I'm doing something unique here ... surely others run
WinXP and NT Emacs with gnus and nnimap. Is this a known problem? Any
idea why it works on a Mac and not on Windows?
Alternatively, you could try GNUTLS and change the nnimap stream from
ssl to tls.
I've had zero luck finding a binary (or anything that would compile to
a binary) of starttls.exe on Windows ... a rare beast indeed. So
perhaps with this I will have better luck.
JDO
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-08-05 16:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-05 1:02 imap connection problems (WinXP / NT Emacs) John Owens
2003-08-05 11:41 ` Simon Josefsson
2003-08-05 16:12 ` John Owens
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 NNTP newsgroup(s).