Is this correct.
ssh-command= %s %s -q -l %s exec /usr/sbin/%sd
(imapd is /usr/sbin/imapd)
TIA, Simon.
btw, can pine create new folders on the server, or would this have to
be done before-hand and the specified in the .pinerc?
> I'm trying to read mail from a Cyrus imap server via ssh.
> The session is started, and the publickey is accepted. Pine then closes
> the ssh session, and falls back to password authentication. I guess it
> then connects to port 143, and the cyrus imapd is started by inetd.
>
> Is this correct.
> ssh-command= %s %s -q -l %s exec /usr/sbin/%sd
> (imapd is /usr/sbin/imapd)
if you're using cyrus imapd, this might not work.... what happens when
you ssh to the machine with that command; ie:
ssh hostname -q -l username exec /usr/sbin/imapd
you want it to say something like:
* PREAUTH Ready.
or
* PREAUTH [0.0.0.0] IMAP4rev1 2000.281 at Wed, 13 Mar 2002 08:29:09 -0800 (PST)
i'm not sure how this would work with cyrus, or whether it will work at
all.
i made this work with courier imapd by making /etc/imapd with this in
it:
zugzug% cat /etc/rimapd
#!/bin/sh
umask 077
/usr/bin/imapd 2> /dev/null Maildir
otherwise it doesn't work because if you run the courier binary directly
it sends stderr along with stdout (since it's not being run by courier's
standard facilities).
i know that cyrus works differently, and i'm not sure if it's possible
to do this - cyrus is really designed to be a "sealed" system. you
might want to ask in a forum for cyrus, since someone there might know
better.
note that the imapd binary is being executed directly, so inetd isn't
really involved at all here.
--
No copies, please.
To reply privately, simply reply; don't remove anything.
Pine can (of course!) create folders on the IMAP server, but
first you need to add the server to your list of
folder-collections (or news-collections (either will work)). I
walk through doing this here
Setting Local and Remote Folder Collections
<http://www.ii.com/internet/messaging/pine/pc/#setFolders>
The example IMAP server that I use is fastmail.fm, which is
running Cyrus, so it should be especially relevant to you.
HTH,
Nancy
^x
REFERENCE:
The message I'm replying to -- and this entire thread & group --
may be available at
<http://groups.google.com/groups?selm=slrna8uueo.bh.pl...@test.higgs.org>
--
ii Main Pine Page: <http://www.ii.com/internet/messaging/pine/>
Nancy McGough <http://www.ii.com/> Infinite Ink
--= Sent via Pine 4.44: IMAP, NNTP & ESMTP for Unix/Win/MacOS X =--