Gnus development mailing list
 help / color / mirror / Atom feed
* Connecting to cyrus using nnimap-stream type shell
@ 2002-04-19 15:26 Steinar Bang
  2002-04-19 15:35 ` Simon Josefsson
  0 siblings, 1 reply; 8+ messages in thread
From: Steinar Bang @ 2002-04-19 15:26 UTC (permalink / raw)


I'm trying to connect to a cyrus imapd using nnimap-stream shell, with
ssh as the underlying transport.

The secondary server entry is
      (nnimap "doohan"
		(nnimap-address "doohan.somewhere.org")
		(nnimap-stream shell))

(address anonymized to protect the innocent)

The user name on the client machine is "sba", the user name on doohan
is "sb".  I have an ~/.authinfo containing

machine doohan.somewhere.org login sb
machine doohan login sb

So far, I have tried

(add-to-list 'imap-shell-program
	     "ssh %s telnet localhost imap")

then

(add-to-list 'imap-shell-program
	     "ssh -l %l %s telnet localhost imap")

then

(add-to-list 'imap-shell-program
	     "ssh -l sb %s telnet localhost imap")

then

(add-to-list 'imap-shell-program
	     "ssh -l sb doohan.somewhere.org telnet localhost imap")

but Gnus is still hanging, trying to connect to doohan on startup.

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?

Thanx!


- Steinar



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-06-28 12:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-19 15:26 Connecting to cyrus using nnimap-stream type shell Steinar Bang
2002-04-19 15:35 ` Simon Josefsson
2002-04-22  9:29   ` Steinar Bang
2002-04-22 10:52     ` Simon Josefsson
2002-06-25  5:57       ` Steinar Bang
2002-06-25  9:01         ` Simon Josefsson
2002-06-25 12:41           ` Steinar Bang
2002-06-28 12:35             ` Steinar Bang

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).