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.

TableOfContents

Debian

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

SUSE

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/
sh mkcert.sh
sed -i -e 's|ssl_disable = .*|ssl_disable = no|' /etc/dovecot/dovecot.conf
rcdovecot restart

FreeBSD

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

OpenBSD

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

NetBSD and DragonFly

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

Mac OS X Darwinports

port install dovecot