[Dovecot] imap over ssh won't work
Hi,
Using version 1.0.rc15 I'm trying to let Evolution connect with IMAP over SSH. When run from the command line, this is what I get:
ssh host dovecot --exec-mail imap
* BAD [ALERT] imap binary must not be started from inetd, use
imap-login instead.
ssh host MAIL=/root/Maildir/ /usr/local/libexec/dovecot/imap
* BAD [ALERT] imap binary must not be started from inetd, use
imap-login instead.
When I run the same commands directly on "host", I do get a PREAUTH prompt (Logged in as root) and when I look around I find exactly the same syntaxis. Does anybody have a clue why it doesn't work?
Thanks in advance and kind regards, Taco
On Friday 12 January 2007 19:50, Taco Witte wrote:
Hi,
Using version 1.0.rc15 I'm trying to let Evolution connect with IMAP over SSH. When run from the command line, this is what I get:
ssh host dovecot --exec-mail imap * BAD [ALERT] imap binary must not be started from inetd, use imap-login instead. ssh host MAIL=/root/Maildir/ /usr/local/libexec/dovecot/imap * BAD [ALERT] imap binary must not be started from inetd, use imap-login instead.
When I run the same commands directly on "host", I do get a PREAUTH prompt (Logged in as root) and when I look around I find exactly the same syntaxis. Does anybody have a clue why it doesn't work?
It's probably because ssh doesn't request allocation of a pseudo-tty when you specify a command to run like that. Use -t to force it.
-- Magnus Holmgren holmgren@lysator.liu.se (No Cc of list mail needed, thanks)
"Exim is better at being younger, whereas sendmail is better for Scrabble (50 point bonus for clearing your rack)" -- Dave Evans
participants (2)
-
Magnus Holmgren
-
Taco Witte