From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/44300 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: Fri, 19 Apr 2002 17:35:15 +0200 (CEST) Sender: owner-ding@hpc.uh.edu Message-ID: References: <877kn3btge.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 1019233755 17807 127.0.0.1 (19 Apr 2002 16:29:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 19 Apr 2002 16:29: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 16ybAm-0003l7-00 for ; Fri, 19 Apr 2002 18:23:44 +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 g3JFaZf23327 for ; Fri, 19 Apr 2002 17:36:35 +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 16yaQQ-00044D-00; Fri, 19 Apr 2002 10:35:50 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 19 Apr 2002 10:36:02 -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 KAA04235 for ; Fri, 19 Apr 2002 10:35:47 -0500 (CDT) Original-Received: (qmail 24035 invoked by alias); 19 Apr 2002 15:35:30 -0000 Original-Received: (qmail 24030 invoked from network); 19 Apr 2002 15:35:30 -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; 19 Apr 2002 15:35:30 -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 g3JFZFKY000834; Fri, 19 Apr 2002 17:35:15 +0200 Original-Received: from localhost (jas@localhost) by yxa.extundo.com (8.12.2/8.12.1/Submit) with ESMTP id g3JFZFVE000831; Fri, 19 Apr 2002 17:35:15 +0200 X-Authentication-Warning: yxa.extundo.com: jas owned process doing -bs Original-To: Steinar Bang In-Reply-To: <877kn3btge.fsf@home.lan> Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:44300 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:44300 On Fri, 19 Apr 2002, Steinar Bang wrote: > The user name on the client machine is "sba", the user name on doohan > is "sb". I have an ~/.authinfo containing I'm not sure .authinfo is used by the shell stream, I think it assumes that you've set things up so that no tty passwords are needed. > I have verified that the command > ssh -l sb doohan.somewhere.org telnet localhost imap > works from the command line, with the response: > > Trying 127.0.0.1... > Connected to doohan. > Escape character is '^]'. > * OK doohan Cyrus IMAP4 v1.5.19 server ready > > Is it the stuff preceeding "* OK" the imap backend croaks on? Generic advice: edebug `imap-shell-open' to find out what's happening. Specific advice: Try patch: --- imap.el.~6.36.~ Sun Mar 10 15:30:31 2002 +++ imap.el Fri Apr 19 17:33:38 2002 @@ -692,7 +692,8 @@ (when process (while (and (memq (process-status process) '(open run)) (set-buffer buffer) ;; XXX "blue moon" nntp.el bug - (goto-char (point-min)) + (goto-char (point-max)) + (forward-line -1) (not (imap-parse-greeting))) (accept-process-output process 1) (sit-for 1))