info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WinXP, IMAP, and SSL


From: Simon Josefsson
Subject: Re: WinXP, IMAP, and SSL
Date: Wed, 28 Jul 2004 09:54:02 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

address@hidden (Nick Hurley) writes:

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

(setq imap-log t) and post the relevant part of *imap-log*.

One theory is that Emacs/Windows/OpenSSL truncate overlong lines,
e.g. a maximum line length of 512 characters or something.  If so,
try:

(setq imap-process-connection-type t)

Unfortunately, it seems there was a bug in Gnus, so the variable
wouldn't have any effect for SSL.  I have fixed this in latest CVS.
You could also apply the patch below.

Index: imap.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/imap.el,v
retrieving revision 7.11
retrieving revision 7.12
diff -u -p -r7.11 -r7.12
--- imap.el     20 May 2004 08:02:40 -0000      7.11
+++ imap.el     28 Jul 2004 07:52:33 -0000      7.12
@@ -628,7 +628,7 @@ sure of changing the value of `foo'."
       (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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]