Re: Dovecot on Debian
- --- In firstname.lastname@example.org, Ian Barton <lists@...> wrote:
> > I made a couple of mistakes in editing dovecot.conf, corrected them,
> > but then got :-
> > "
> > # 1.0.15: /etc/dovecot/dovecot.conf
> > Error: Can't use mail executable /usr/lib/dovecot/imap: No such file or directory
> > Fatal: Invalid configuration in /etc/dovecot/dovecot.conf "
> > The folder /usr/lib/dovecot/ does exist with various files, but not imap.
> > I decided to play safe (I thought) and, to get a fresh .conf, removed
> > dovecot and reinstalled it. However, it said it wasn't restoring
> > the deleted file(s). I then tried the old unslung dovecot.conf which
> > I still had, but got the same error as above.
> > So, a couple of questions.
> > a) Should there be a dovecot, or is dovecot-common OK?
> > b) Where is /usr/lib/dovecot/imap?
> > b+1) How can I get a fresh dovecot.conf (plus the other files from /etc/dovecot which I deleted)?
> Dovecot is split into several packages. All of them require
> dovecot-common. Depending on our needs you want to install either or
> both of:
> dovecot-imapd - secure IMAP server that supports mbox and maildir mailboxes
> dovecot-pop3d - secure POP3 server that supports mbox and maildir mailboxes
> I think that apt-get purge dovecot-common should remove all files and
> allow the conf file to be re-installed.
I'd found that install dovecot* instead of dovecot-common got me the missing pieces!
Thanks for the tip on purge. I'm new to apt.