From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/44334 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Connecting to cyrus using nnimap-stream type shell Date: Mon, 22 Apr 2002 12:52:20 +0200 (CEST) Sender: owner-ding@hpc.uh.edu Message-ID: References: <878z7ghyj2.fsf@home.lan> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1019472839 7363 127.0.0.1 (22 Apr 2002 10:53:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 22 Apr 2002 10:53:59 +0000 (UTC) Cc: ding@gnus.org Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16zbSI-0001ue-00 for ; Mon, 22 Apr 2002 12:53:58 +0200 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 16zbRU-0000Aq-00; Mon, 22 Apr 2002 05:53:08 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 22 Apr 2002 05:53:20 -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 FAA15743 for ; Mon, 22 Apr 2002 05:53:10 -0500 (CDT) Original-Received: (qmail 2107 invoked by alias); 22 Apr 2002 10:52:43 -0000 Original-Received: (qmail 2102 invoked from network); 22 Apr 2002 10:52:42 -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; 22 Apr 2002 10:52:42 -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 g3MAqKKY003432; Mon, 22 Apr 2002 12:52:20 +0200 Original-Received: from localhost (jas@localhost) by yxa.extundo.com (8.12.2/8.12.1/Submit) with ESMTP id g3MAqKY5003429; Mon, 22 Apr 2002 12:52:20 +0200 X-Authentication-Warning: yxa.extundo.com: jas owned process doing -bs Original-To: Steinar Bang In-Reply-To: <878z7ghyj2.fsf@home.lan> Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:44334 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:44334 On Mon, 22 Apr 2002, Steinar Bang wrote: > >>>>> Simon Josefsson : > > > Generic advice: edebug `imap-shell-open' to find out what's happening. > > Is that (edebug-defun 'imap-shell-open)? More or less. I usually locate the function first and then do M-x edebug-defun RET on it. > > Specific advice: Try patch: > > Here's an extract from 'C-h l': > > Opening nnimap server on doohan...failed > Quit trying to open server > Waiting for response from doohan.somewhere.org...done > imap: Opening IMAP connection with `ssh -l sb doohan.somewhere.org telnet localhost imap'...done > imap: Opening IMAP connection with `ssh -l sb doohan.somewhere.org telnet localhost imap'... > imap: Connecting to doohan.somewhere.org... > Opening nnimap server on doohan... > Reading active file from doohan via nnimap... > > It seems to become stuck in the > "Waiting for response from doohan.somewhere.org...done" > line. The rest of the output is after I took a C-g. Ok. The problem is finding the server greeting then, possibly it is messed up by other things (CRLF, telnet greeting, etc). Edebugging the function and peeking in the *nnimap* server buffer should give information to why the regexp doesn't match the text in the buffer.