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 ?


  • ignore me, I should have read this help.ubuntu.com/community/Dovecot – NimChimpsky Jul 27 '11 at 17:25
  • 1
    Could you add an answer to your post explaining what you did to resolve this? – Marco Ceppi Jul 27 '11 at 17:55
  • To use dovecot as IMAP server you have to install dovecot-imapd. dovecot-common includes just the files used by both the IMAP and the POP3 servers but not the ones used by just one of them. – Florian Diesch Jul 27 '11 at 19:47

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.