This documentation is for Dovecot v2.x, see wiki1 for v1.x documentation.

Installing Prebuilt Binaries

In binary packages the configuration file is typically in /etc/dovecot.conf.



apt-get install dovecot-imapd dovecot-pop3d

Fedora Core

Doing a fresh install of (the current) Fedora Core 2 and later, Dovecot will be installed as the default IMAP server. If you're upgrading from Fedora Core 1, see /FedoraUpgrade.

If you don't have Dovecot already installed, use:

up2date -i dovecot
# or:
yum install dovecot

To start the dovecot daemon and being sure it start with each system boot run

service dovecot start
chkconfig dovecot on

RPMs of beta versions (for FC-4 and FC-5)

To install the lastest versions using Ignacio's yum repo:

cd /etc/yum.repos.d
yum --enablerepo=ivazquez-alternatives install dovecot


Dovecot ships with SUSE for quite some time. Upto 10.0 SUSE shipped with 0.99.xx. SUSE 10.1 will have 1.0-beta3, including [:LDA:LDA support].

yast -i dovecot
chkconfig dovecot on
rcdovecot start

By default ssl disabled. so you need to create an SSL certificitate and than enable it in the dovecot config. For your private server you can do:

cd /usr/share/doc/packages/dovecot/
sed -i -e 's|ssl_disable = .*|ssl_disable = no|' /etc/dovecot/dovecot.conf
rcdovecot restart


cd /usr/ports/mail/dovecot; make install


cd /usr/ports/mail/dovecot; make install

NetBSD and DragonFly

cd /usr/pkgsrc/mail/dovecot; make install

Mac OS X Darwinports

port install dovecot

CentOS 4.x

Installing in CentOS 4.x is simple as:

yum -y install dovecot

To configure dovecot to start system startup, run:

chkconfig dovecot on
service dovecot start

To start dovecot, run:

service dovecot start