Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: jpranav@nonono.com (Pranav K. Tiwari)
Subject: Re: problem using starttls with imap
Date: Thu, 11 May 2006 16:18:59 +0530	[thread overview]
Message-ID: <uy7x8u99g.fsf@nonono.com> (raw)
In-Reply-To: <smu7j4um73u.fsf@linuxpal.mit.edu>

gdt@work.lexort.com writes:

> jpranav@cisco.com (Pranav K. Tiwari) writes:
>
>> Yes, my server supports SSL, however, I don't have Windows client for
>> SSL. I was (wrongly) assuming that SSL support would imply TLS support
>> at the server's end.
>
> It might well support TLS via STARTTLS, but try the regular imap port.

imap port doesn't work either, so probably starttls is not
supported.

>
>> Do you know if there are any free distributions of ssl client I can use
>> with ssl stream?
>
> I don't know - I don't use windows at all.  But this is probably a
> FAQ.

Marcus pointed me to
<URL:http://www.slproweb.com/products/Win32OpenSSL.html> and I found a
working ssl client.

Now, I'm able to move one step further: the stream comes up. However,
emacs seems to hang at that point. I followed the code, and it appears
to be looping inside imap-open-ssl at the following lines (marked
with -->):

	  (with-current-buffer buffer
	    (goto-char (point-min))
-->	    (while (and (memq (process-status process) '(open run))
-->			(set-buffer buffer) ;; XXX "blue moon" nntp.el bug
-->			(goto-char (point-max))
-->			(forward-line -1)
-->			(not (imap-parse-greeting)))
-->			(not (imap-parse-greeting)))
-->	      (accept-process-output process 1)
-->	      (sit-for 1))

I'm not sure what it is waiting on. In the *imap* <server> bufer, I see:

* OK Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1 (<server>) ready.

But, nothing after that. So, it appears that the stream was opened, but
gnus is expecting something it doesn't get.

Any ideas?
-p

  reply	other threads:[~2006-05-11 10:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-09  5:34 Pranav K. Tiwari
2006-05-09 11:34 ` gdt
2006-05-10  5:06   ` Pranav K. Tiwari
2006-05-10 11:50     ` gdt
2006-05-11 10:48       ` Pranav K. Tiwari [this message]
2006-05-10 20:04     ` Marcus Frings

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uy7x8u99g.fsf@nonono.com \
    --to=jpranav@nonono.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).