0

What's the command line for preauth IMAP using Dovecot? Many sites give:

dovecot --exec-mail imap

But on my system this returns:

Usage: dovecot [-F] [-c <config file>] [-p] [-n] [-a] [--help] [--version]
       [--build-options] [reload] [stop]
Fatal: Unknown argument: --exec-mail
puzzlement
  • 1,096
  • 8
  • 6
  • Possible duplicate of [How to make dovecot not ask passwords from localhost?](https://serverfault.com/questions/165862/how-to-make-dovecot-not-ask-passwords-from-localhost) – Oliphaunt Nov 09 '17 at 21:18

1 Answers1

1
dovecot --exec-mail imap

is not a valid command line switch in recent releases of Dovecot. There is now a separate binary named simply "imap" which launches a pre-authenticated IMAP session.

Source of information: Dovecot's upgrading to 2.0 instructions

On Ubuntu, this binary is not in the default path, it's located at /usr/lib/dovecot/imap

puzzlement
  • 1,096
  • 8
  • 6