[Dovecot] imap over ssh won't work

Magnus Holmgren holmgren at lysator.liu.se
Sat Jan 13 13:54:07 UTC 2007


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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20070113/b62b3c8a/attachment.pgp 


More information about the dovecot mailing list