From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/44230 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: IMAP Problems Date: Thu, 11 Apr 2002 09:57:07 +0200 (CEST) Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1018514835 2941 127.0.0.1 (11 Apr 2002 08:47:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 11 Apr 2002 08:47:15 +0000 (UTC) Cc: ding@gnus.org Return-path: Original-Received: from hermes.netfonds.no ([195.204.10.138]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16vaEd-0000Ze-01 for ; Thu, 11 Apr 2002 10:47:15 +0200 Original-Received: from malifon.math.uh.edu (malifon.math.uh.edu [129.7.128.13]) by hermes.netfonds.no (8.10.1/8.9.3) with ESMTP id g3B7wEf28438 for ; Thu, 11 Apr 2002 09:58:14 +0200 (CEST) Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16vZSc-0008Bs-00; Thu, 11 Apr 2002 02:57:38 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 11 Apr 2002 02:57:47 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id CAA18261 for ; Thu, 11 Apr 2002 02:57:36 -0500 (CDT) Original-Received: (qmail 1117 invoked by alias); 11 Apr 2002 07:57:10 -0000 Original-Received: (qmail 1112 invoked from network); 11 Apr 2002 07:57:10 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 11 Apr 2002 07:57:10 -0000 Original-Received: from yxa.extundo.com (localhost.localdomain [127.0.0.1]) by yxa.extundo.com (8.12.2/8.12.2) with ESMTP id g3B7v7KY013054; Thu, 11 Apr 2002 09:57:07 +0200 Original-Received: from localhost (jas@localhost) by yxa.extundo.com (8.12.2/8.12.1/Submit) with ESMTP id g3B7v7hZ013051; Thu, 11 Apr 2002 09:57:07 +0200 X-Authentication-Warning: yxa.extundo.com: jas owned process doing -bs Original-To: Niranjan Rao In-Reply-To: Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:44230 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:44230 On 10 Apr 2002, Niranjan Rao wrote: > Hello, > > gnus-version Gnus v5.9.0 > emacs-version 21.2.1 on Windows 2K Server > > I tried connecting to MS Exchange IMAP server using > following settings > > (gnus-select-method (quote (nnimap "AAMAIN" > (nnimap-authenticator login) (nnimap-stream ssl) > (nnimap-server-port 143) (nnimap-list-pattern ("INBOX"))))) > > and > > (gnus-secondary-select-methods (quote ((nnimap "AAMAIN" > (nnimap-authenticator anonymous) (nnimap-stream SSL) ^^^ It should be ssl. > (nnimap-list-pattern ("Inbox")))))) > > through customization. The buffers for logging are also > activated using > (setq imap-log "*imap-log*") > (setq imap-debug "*imap-debug*") > (setq nnimap-debug "*nnimap-debug*") > > The log seems to show that gnus is able to connect to the > server though I never saw *imap-log* buffer being > created. It will be generated when there is any data to log. > As suggested in some of the articles I searched > through google, I tried imap-open function as follows > > (imap-open "AAMAIN") > it returns > " *imap* AAMAIN:0" > > My problem is after showing the message of executing openssl > program gnus/emacs just hangs. It of course comes out after > hitting Ctrl-G. I have verified server name and port number > as Outlook express is able to connect to the imap server > using the same port and log on using secure password > authentication checked. The problem might be related to CRLF confusion in imap.el / Windows / OpenSSL. Can you try frobbing `imap-client-eol' and (maybe more importantly) `imap-server-eol'? Try experimenting with \r\n and \n values. You'd might want to edebug imap-ssl-open and look in the *nnimap* server buffer for what kind of eol character is returned. You could try frobbing `imap-process-connection-type' as well.