From: Steinar Bang <sb@dod.no>
Subject: Connecting to cyrus using nnimap-stream type shell
Date: Fri, 19 Apr 2002 17:26:25 +0200 [thread overview]
Message-ID: <877kn3btge.fsf@home.lan> (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
next reply other threads:[~2002-04-19 15:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-19 15:26 Steinar Bang [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877kn3btge.fsf@home.lan \
--to=sb@dod.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).