From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/7302 Path: news.gmane.org!not-for-mail From: jpranav@nonono.com (Pranav K. Tiwari) Newsgroups: gmane.emacs.gnus.user Subject: Re: problem using starttls with imap Date: Thu, 11 May 2006 16:18:59 +0530 Organization: Cisco Systems Inc. Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1147347656 30700 80.91.229.2 (11 May 2006 11:40:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 May 2006 11:40:56 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu May 11 13:40:52 2006 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fe9XC-00034u-IT for gegu-info-gnus-english@m.gmane.org; Thu, 11 May 2006 13:40:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fe9XB-0004oA-Lr for gegu-info-gnus-english@m.gmane.org; Thu, 11 May 2006 07:40:45 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!peer01.west.cox.net!cox.net!hwmnpeer01.phx!hwmedia!news.highwinds-media.com!hw-filter.phx!newsfe12.phx.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:qccxe8p04wdFxxL9mV0gftcRHfs= Cache-Post-Path: sj-nntpcache-5!unknown@64.103.147.254 X-Cache: nntpcache 2.4.0b2 (see http://www.nntpcache.org/) Original-Lines: 50 Original-NNTP-Posting-Host: 171.69.11.154 Original-X-Complaints-To: newsadmin@cisco.com Original-X-Trace: newsfe12.phx 1147344541 171.69.11.154 (Thu, 11 May 2006 03:49:01 MST) Original-NNTP-Posting-Date: Thu, 11 May 2006 03:49:01 MST Original-Xref: shelby.stanford.edu gnu.emacs.gnus:77485 Original-To: info-gnus-english@gnu.org X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:7302 Archived-At: 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 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* bufer, I see: * OK Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1 () 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