[Dovecot] How to replace /usr/bin/imapd in ssh

Jeff Latimer jeff_lats at hotmail.com
Mon Oct 16 11:58:17 UTC 2006


>On Mon, 2006-10-16 at 20:12 +1000, lats wrote:
> > I have a command string
> >
> > ssh  dad at frank /usr/bin/imapd ./Maildir 2> /dev/null
> >
> > that expects /usr/bin/imapd to exist to pass mail to the imap server but
> > I can't find how to replicate the functionality in dovecot.  Is it
> > possible to wrapper dovecot to reproduce the functionality?  Or is there
> > another technique?
>
>/usr/sbin/dovecot --exec-mail imap
>
>johannes

Thanks for that, I have just tried it and get the following:

/usr/sbin/dovecot --exec-mail imap
Usage: dovecot [-F] [-c <config file>]
Fatal: Unknown argument: --exec-mail

lats




More information about the dovecot mailing list