Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 ?


share|improve this question
ignore me, I should have read this – NimChimpsky Jul 27 '11 at 17:25
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
up vote 4 down vote accepted

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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