4

I have set up postfix and am now attempting to set up dovecot. I did apt-get install dovecot-common I have changed dovcot.conf to include the following

protocols = imap imaps

And I now get this error when restarting dovcot

Error: mail_executable: Can't use /usr/lib/dovecot/imap: No such file or directory Fatal: Invalid configuration in /etc/dovecot/dovecot.conf

Did I install the wrong package, is there another package I need, or am I missing something else ?

Thanks.

Marco Ceppi
  • 48,827

2 Answers2

10

To cite Florian Dieschs comment:

You have to install not only the dovecot-common package, but the dovecot-imapd package as well (dovecot-pop3d as option if one wants to propose access over POP3).

To cite NimChimpskys comment:

For further informations about the installation of Dovecot, read more on help.ubuntu.com/community/Dovecot.

0

For me this worked (Ubuntu 22.04):

sudo apt purge dovecot-core dovecot-imapd

and then

sudo apt install dovecot-core dovecot-imapd