Installing Prebuilt Binaries
In binary packages the configuration file is typically in /etc/dovecot.conf.
Debian
apt-get install dovecot-imapd dovecot-pop3d
Fedora Core and RHEL (and CentOS/Scientific Linux/...)
Fedora Core includes dovecot since the first release, RHEL since RHEL4. Up to FC5 and RHEL4 the versions included are
RHEL4 |
dovecot-0.99.11-2.EL4.1 |
Fedora Core 5 |
dovecot-1.0-0.beta2.7 (1.0beta2) |
Fedora Core 4 |
dovecot-0.99.14-8.fc4 |
Fedora Core 3 |
dovecot-0.99.14-2.FC3 |
Fedora Core 2 |
dovecot-0.99.13-4.FC2 |
Fedora Core 1 |
dovecot-0.99.10.5-0.FC1 |
Doing a fresh install of 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:
yum install dovecot
(replace yum with smart/apt/up2date if that's your depsolver)
To start the dovecot daemon and ensure it starts with each system boot run
service dovecot start chkconfig dovecot on
RPMs of 1.0 beta versions
There are two sources for getting package for 1.0 betas:
[http://ATrpms.net/ ATrpms.net] under http://ATrpms.net/name/dovecot/ (packages are in the bleeding section), and
[http://fedora.ivazquez.net/yum/ Ignacio Vazquez-Abrams' repo] (place http://fedora.ivazquez.net/yum/ivazquez.repo in /etc/yum.repos.d)
ATrpms has packages for all Fedora Core versions and RHEL 3 and 4, ivazquez has packages for FC4 and FC5. Other than that the packages should have mostly equivalent functionality.
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