Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: WinXP, IMAP, and SSL
       [not found] ` <ilubri2ww2j.fsf@latte.josefsson.org>
@ 2004-07-26 19:03   ` Marcus Frings
  2004-07-27 23:51     ` Nick Hurley
  0 siblings, 1 reply; 2+ messages in thread
From: Marcus Frings @ 2004-07-26 19:03 UTC (permalink / raw)


* Simon Josefsson <jas@extundo.com> wrote:

> If OpenSSL is working, it is probably a problem with Gnus.  You, or
> someone else, need to debug the code to find out why it hangs.
> CRLF-confusion is a common culprit.

I'm also facing some problems with OpenSSL on Windows since a very long
time and I think it's a bug in Gnus.

Situation:

Server: Courier IMAP SSL
Clients: FreeBSD, Linux, W2k.

While I'm just fine with the default value of `imap-ssl-program'

,----[ C-h v imap-ssl-program RET ]
| imap-ssl-program's value is ("openssl s_client -quiet -ssl3 -connect
| %s:%p" "openssl s_client -quiet -ssl2 -connect %s:%p" "s_client -quiet
| -ssl3 -connect %s:%p" "s_client -quiet -ssl2 -connect %s:%p")
`----

on my FreeBSD and Linux box I have to set `imap-ssl-program' to

,----
| (setq imap-ssl-program "openssl s_client -tls1 -connect %s:%p")
`----

on my W2k box. The default value doesn't work there but that one
does. Strange. And more important: The only version of the windows
binary of openssl that works is 0.9.6k! I just tried with 0.9.7d
yesterday (and older versions in the past time) but it can't connect to
the server (from Gnus). On the other hand I can successfully connect to
the IMAP server via openssl when I'm on the command line. Possibly a bug
in Gnus? I had also turned on full IMAP debugging and logging but maybe
I missed an important error message. Any hints?

Regards,
Marcus
-- 
"Wir hatten einen Weg gefunden, wie wir uns keine Vorwürfe zu machen brauchten:
Wir zerhackten sie mit Maschinengewehren in zwei Hälften und legten ihnen dann
einen Verband an."


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

* Re: WinXP, IMAP, and SSL
  2004-07-26 19:03   ` WinXP, IMAP, and SSL Marcus Frings
@ 2004-07-27 23:51     ` Nick Hurley
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Hurley @ 2004-07-27 23:51 UTC (permalink / raw)


Thanks for all the help so far. I've changed my OpenSSL version to
0.9.6m and I'm getting farther than I was before. It gets past the

imap: Connecting to mail.cis.ohio-state.edu...done

message, and proceeds to the

nnimap: Checking mailbox INBOX.whatever

messages. This is all well and good. In fact, it works fine for my
second account listed in my first posting (todesschaf.org), and it
scans all my inboxen for the ohio-state.edu account *except*
INBOX.private. I admit that INBOX.private is rather large on the
ohio-state.edu account, but I've never had problems with it before. I
can use C-g to cancel that, and it then proceeds to say

nnimap: Listing subscribed mailboxes on {cis|todesschaf}...

but hangs there, as well. If I use C-g to cancel that, gnus gets stuck
at the startup screen and I end up just killing emacs. I've also
noticed that the

nnimap: Checking mailbox INBOX.whatever

takes a lot longer for all mailboxes under WinXP than it does under
*nix, but it seems to be just hanging on INBOX.private (I've checked
using tcpdump on my firewall... there's no network activity on the
imap ssl port after a while when it's checking cis:INBOX.private). I
tried copying my ~/News and ~/.newsrc.eld files from another machine
(which is setup exactly the same, except it's on Solaris) to see if
that would speed things up, and nothing changed. Any help on this
development would be appreciated.

Thanks!
Nick


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

end of thread, other threads:[~2004-07-27 23:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <a4f30357.0407221323.33dafca7@posting.google.com>
     [not found] ` <ilubri2ww2j.fsf@latte.josefsson.org>
2004-07-26 19:03   ` WinXP, IMAP, and SSL Marcus Frings
2004-07-27 23:51     ` Nick Hurley

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