This documentation is for Dovecot v2.x, see wiki1 for v1.x documentation.
Differences between revisions 37 and 129 (spanning 92 versions)
Revision 37 as of 2007-02-19 10:05:10
Size: 6926
Comment: macros.atrpms -> macros.bond
Revision 129 as of 2019-04-12 11:09:27
Size: 12472
Editor: JinnKo
Comment: Add reference and link to the Dovecot community repositories
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
In binary packages the configuration file is typically in {{{/etc/dovecot.conf}}}.

[[TableOfContents]]
In binary packages the configuration file is typically in {{{/etc/dovecot/}}}.

Please see [[https://repo.dovecot.org|Dovecot community repository]] for packages.

<<
TableOfContents>>
Line 8: Line 10:
apt-get install dovecot-imapd dovecot-pop3d }}}
For sarge you can get newer versions from [http://www.backports.org backports.org].

== Fedora Core and RHEL (and CentOS/Scientific Linux/...) ==
Fedora Core includes dovecot since the first release, RHEL since RHEL4. Up to FC6 and RHEL4 the versions included are
|| RHEL5 (beta) || dovecot-1.0-0.1.rc7.fc6 ||
|| '''RHEL4''' || dovecot-0.99.11-4.EL4 ||
|| '''Fedora Core 6''' || dovecot-1.0-1.1.rc15.fc6 (1.0.rc15) ||
|| Fedora Core 5 || dovecot-1.0-0.beta8.3.fc5 (1.0.beta8) ||
|| 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 ||
apt-get install dovecot-imapd dovecot-pop3d
}}}
Beginning with squeeze Debian uses a modular approach to distribute dovecot (similar to the way postfix is distributed). Seperate packages are available for GSSAPI authentication (dovecot-gssapi), LDAP support (dovecot-ldap), LMTP server (dovecot-lmtpd), ManageSieve server (dovecot-managesieved), MySQL support (dovecot-mysql), PostgreSQL support (dovecot-pgsql), sieve filters support (dovecot-sieve), solr full text search support (dovecot-solr) and SQLite support (dovecot-sqlite). The basic functionalities are in dovecot-common (with 2.1 dovecot-core). The IMAP or POP3 server are packaged as dovecot-imapd and dovecot-pop3, respectively. With dovecot-dev are the header files available and dovecot-dbg contains debug symbols.

For stable you can get newer versions from [[http://www.backports.org|backports.org]] (currently 2.1.7-2~bpo60+1 in squeeze-backports instead of 1.2.15-7 in squeeze). Follow the instructions from http://backports-master.debian.org/Instructions/ and then run the above {{{apt-get install}}} command.

=== Stable Package Builds for the Community ===

Stable releases are published to the Dovecot community repositories at https://repo.dovecot.org/

=== Automatic Hourly Built Packages ===
For those of you who like to live on the edge, there are Debian repositories available with hourly updates from recent Dovecot v2.2, v2.3 and v2.4 changes in the Git repositories. The builder scripts automatically release a new set of Debian packages when they notice any changes in any of the repositories. The packages have [[http://pigeonhole.dovecot.org|Pigeonhole]] [[Pigeonhole/Sieve|Sieve]] and [[Pigeonhole/ManageSieve|ManageSieve]] included. Currently, binaries for the i386 and amd64 architectures are provided for the Debian stable, oldstable and testing releases. Source packages are available to build the packages for other architectures and (possibly) for other Debian releases. These packages are directly based on the latest official Debian packages for Dovecot, but some of the small Debian-specific patches that are part of the official packages are currently not included. The packages are currently composed on an amd64 Debian Stretch system, so those packages are always produced first.

Usage should be similar to the backports.org repository (see explanation above), but the lines added to {{{/etc/apt/sources.list}}} are different and the keyring package has a different name (see below).

Needless to say: do '''NOT''' use these repositories for systems that need to be '''STABLE'''.

For Dovecot v2.3 and Debian stable (Stretch) the following line needs to be added to your {{{/etc/apt/sources.list}}}:

{{{
deb http://xi.dovecot.fi/debian/ stable-auto/dovecot-2.3 main
}}}
And if you would like to get the source packages, you should add:

{{{
deb-src http://xi.dovecot.fi/debian/ stable-auto/dovecot-2.3 main
}}}
Substitute {{{stable}}} with {{{testing}}} in the lines above if you are running Debian testing (Buster). You can also substitute the release name directly, so {{{jessie}}} rather than {{{oldstable}}}. Substitute {{{2.3}}} with {{{2.4}}} if you want to use packages created from the latest Dovecot v2.4 developments (git master branch).

If you want apt to verify the downloaded packages, you can import the automatic archive’s key into apt:

{{{
apt-get install debian-dovecot-auto-keyring
}}}
or:

{{{
wget -O - http://xi.dovecot.fi/debian/archive.key | apt-key add -
}}}
For questions, comments and requests, you can send an e-mail to Stephan Bosch (stephan at rename-it dot nl).

'''NOTE''': This service used to be hosted at {{{xi.rename-it.nl}}}. That old host name will still work for the foreseeable future, but it is best to use the new host name instead.

== Ubuntu ==
{{{
apt-get install dovecot-imapd dovecot-pop3d
}}}
||<tablewidth="794px" tableheight="375px"style="font-style:italic;">Ubuntu version and name ||<style="font-style:italic;">Package name ||<style="font-style:italic;">Dovecot version ||<style="font-style:italic;">OS release date ||<style="font-style:italic;">Supported until ||
||<#cc99ff>5.10 Breezy Badger ||<#cc99ff>0.99.14-1ubuntu1 ||<#cc99ff>0.99.14 ||<#cc99ff>2005-10-13 ||<#cc99ff>2007-04-13 ||
||<#cc99ff>6.06 LTS Dapper Drake ||<#cc99ff>1.0.beta3-3ubuntu5.6 ||<#cc99ff>1.0 beta 3 ||<#cc99ff>2006-06-01 ||<#cc99ff>2011-06-01 ||
||<#cc99ff>7.10 Gutsy Gibbon ||<#cc99ff>1.0.5-1ubuntu2.2 ||<#cc99ff>1.0.5 ||<#cc99ff>2007-10-18 ||<#cc99ff>2009-04-18 ||
||<#cc99ff>8.04 LTS Hardy Heron ||<#cc99ff>1.0.10-1ubuntu5.1 ||<#cc99ff>1.0.10 ||<#cc99ff>2008-04-24 ||<#cc99ff>2013-04-27 ||
||<#cc99ff>8.10 Intrepix Ibex ||<#cc99ff>1.1.4-0ubuntu1.2 ||<#cc99ff>1.1.4 ||<#cc99ff>2008-10-30 ||<#cc99ff>2010-04-30 ||
||<#cc99ff>9.04 Jaunty Jackalope ||<#cc99ff>1.1.11-0ubuntu4 ||<#cc99ff>1.1.11 ||<#cc99ff>2009-04-23 ||<#cc99ff>2010-10-22 ||
||<#cc99ff>9.10 Karmic Koala ||<#cc99ff>1.1.11-0ubuntu11 ||<#cc99ff>1.1.11 ||<#cc99ff>2009-10-27 ||<#cc99ff>2011-04-29 ||
||<#cc99ff>10.04 LTS Lucid Lynx ||<#cc99ff>1.2.9-1ubuntu6.4 ||<#cc99ff>1.2.9 ||<#cc99ff>2010-04-29 ||<#cc99ff>2015-04-29 ||
||<#cc99ff>10.10 Maverick Meerkat ||<#cc99ff>1.2.12-1ubuntu8 ||<#cc99ff>1.2.12 ||<#cc99ff>2010-10-10 ||<#cc99ff>2012-04-10 ||
||<#cc99ff>11.04 Natty Narwhal ||<#cc99ff>1.2.15-3ubuntu2.1 ||<#cc99ff>1.2.15 ||<#cc99ff>2011-04-28 ||<#cc99ff>2012-10-28 ||
||<#cc99ff>11.10 Oneiric Ocelot ||<#cc99ff>2.0.13-1ubuntu3.2 ||<#cc99ff>2.0.13 ||<#cc99ff>2011-10-13 ||<#cc99ff>2013-04-13 ||
||<#ccffff>12.04 LTS Precise Pangolin ||<#ccffff>2.0.19-0ubuntu1 ||<#ccffff>2.0.19 ||<#ccffff>2012-04-26 ||<#ccffff>2017-04 ||
||<#ccffff>12.10 Quantal Quetzal ||<#ccffff>2.1.7-7ubuntu1 ||<#ccffff>2.1.7 ||<#ccffff>2012-10-18 ||<#ccffff>2014-04 ||
||<#ccffff>13.04 Karmic Koala ||<#ccffff>2.1.7-7ubuntu1 ||<#ccffff>2.1.7 ||<#ccffff>2013-04-25 ||<#ccffff>2014-01 ||
||<#ccffff>13.10 Saucy Salamander ||<#ccffff>2.1.7-7ubuntu3 ||<#ccffff>2.1.7 ||<#ccffff>2013-10-17 ||<#ccffff>2014-07 ||
||<#ccffff>14.04.03 Trusty Tahr ||<#ccffff>2.2.9-1ubuntu2.1 ||<#ccffff>2.2.9 ||<#ccffff>2015-08-06 ||<#ccffff>2016-08 ||
||<#ccffff>15.10 Wily Werewolf ||<#ccffff>2.2.18-2ubuntu2 ||<#ccffff>2.2.18 ||<#ccffff>2015-10-22 ||<#ccffff>2016-07 ||
||<#ccffff>16.04 Xenial Xerus ||<#ccffff>2.2.22-1ubuntu2.4 ||<#ccffff>2.2.22 ||<#ccffff>2016-04-21 ||<#ccffff>2021-04 ||

These packages including the Dovecot Sieve Plugin and all other nice features.

For Ubuntu builds of the [[#Automatically_Built_Packages|automatically built Debian packages]] (explained above), you can use repositories from the OpenSUSE build service: [[https://build.opensuse.org/project/show?project=home:sbosch:dovecot-2.2|v2.2]]. These repositories are updated on a daily basis. Keep in mind: do '''NOT''' use these repositories for systems that need to be '''STABLE'''.

== Fedora and RHEL (and CentOS/Scientific Linux/...) ==
Fedora includes dovecot since its first release, RHEL since RHEL4. The versions included in the still supported releases are
||RHEL6 ||dovecot-2.0-0.10.beta6.el6 ||
||RHEL5 ||dovecot-1.0.7-2.el5 ||
||RHEL4 ||dovecot-0.99.11-8.EL4 ||
||Fedora Testing (Rawhide) ||dovecot-2.0.5-1.fc15 ||
||Fedora 14 Laughlin ||dovecot-2.0.1-1.fc14 ||
||Fedora 13 Goddard ||dovecot-1.2.14-1.fc13 ||
||Fedora 12 Constantine ||dovecot-1.2.14-1.fc12 ||
||Fedora 11 Leonidas ||dovecot-1.2.11-3.fc11 ||
||Fedora 10 Cambridge ||dovecot-1.1.1-1.fc10 ||
||Fedora 9 Sulphur ||dovecot-1.0.15-1.fc9 ||
||Fedora 8 Werewolf ||dovecot-1.0.15-1.fc8 ||




For historical reference these were the versions found in older Fedora releases until they reached their EOL:
||Fedora 7 ||dovecot-1.0.13-18.fc7 ||
||Fedora Core 6 ||dovecot-1.0.1-4.fc6 '''(1.0.1)''' ||
||Fedora Core 5 ||dovecot-1.0-0.beta8.3.fc5 (1.0.beta8) ||
||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 ||

Line 28: Line 115:
yum install dovecot }}} yum install dovecot
}}}
Line 35: Line 123:
chkconfig dovecot on }}}
=== Binary RPMs for RedHat/Fedora (1.0rc with the sieve plugin) ===
You can get 1.0rc versions and package for the sieve plugin from [http://ATrpms.net/ ATrpms.net] under http://ATrpms.net/name/dovecot/ and http://ATrpms.net/name/dovecot-sieve/. The RHEL packages will also work with CentOS/Scientific Linux and any other RHEL clone.

=== Source RPMs for CentOS4 / RHEL4 ===
If you want to rebuild the rpms using ATrpms' src.rpm, first create this file:

 . /etc/rpm/macros.bond
{{{
# /etc/rpm/macros.bond
# macros used in atrpms's .spec files [www.atrpms.net]
%bcond_with() %{expand:%%{?_with_%{1}:%%global with_%{1} 1}}
%bcond_without() %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}}
%with() %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}}
%without() %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}}
}}}
and then run this command:

{{{
# rpmbuild --rebuild --without inotify --with pam_stack --with forcequota2 dovecot-1.0-2_45.rc22.at.src.rpm
}}}
Or this command for building in a i686:

{{{
# rpmbuild --target=i686 --rebuild --without inotify --with pam_stack --with forcequota2 dovecot-1.0-2_45.rc22.at.src.rpm}}}
chkconfig dovecot on
}}}
Line 61: Line 127:
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]. 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]].
Line 66: Line 132:
rcdovecot start }}} rcdovecot start
}}}
Line 73: Line 140:
rcdovecot restart }}} rcdovecot restart
}}}
There are also up-to-date Dovecot 1.2 and 2.0 binary packages for various versions available in the [[http://download.opensuse.org/repositories/server:/mail/|Server:Mail repository]]. These are not officially supported, but maintained by the same folks.
Line 75: Line 145:
{{{
cd /usr/ports/mail/dovecot; make install }}}
If you want to use ports:
{{{
cd /usr/ports/mail/dovecot; make install
}}}
If you want to use packages:
{{{
pkg install dovecot
}}}
Line 78: Line 154:
Use the OpenBSD Package system. For background information see the[http://www.openbsd.org/faq/faq15.html Packages and Ports FAQ].

Here's an example from a fresh OpenBSD 3.9 install where I've given my account sudo privileges and I'm using the default OpenBSD shell (ksh).

Set up your PKG_SRC environment variable by adding a line like the following to your .profile and then logging out and back in again to get the .profile re-read. (There's probably a more graceful way of doing this but this!)

{{{
$ export PKG_PATH=ftp://your.ftp.mirror/pub/OpenBSD/3.9/packages/`machine -a`/}}}
Install the package using pkg_add, with the -i option to allow you to choose which version of the package you want. Here's a case where I chose the later of the two postgresql ports that were available on my repository, and this caused the packages system to prompt me for a choice on the postgresql client dependency.

{{{
$ sudo pkg_add -i dovecot
Password:
Ambiguous: dovecot could be dovecot-1.0.beta3 dovecot-1.0.beta3-ldap dovecot-1.0.beta3-ldap-mysql-postgresql dovecot-1.0.beta3-mysql dovecot-1.0.beta3-postgresql dovecot-1.0.beta8 dovecot-1.0.beta8-ldap dovecot-1.0.beta8-ldap-mysql-postgresql dovecot-1.0.beta8-mysql dovecot-1.0.beta8-postgresql
Choose one package
         0: <None>
         1: dovecot-1.0.beta3
         2: dovecot-1.0.beta3-ldap
         3: dovecot-1.0.beta3-ldap-mysql-postgresql
         4: dovecot-1.0.beta3-mysql
         5: dovecot-1.0.beta3-postgresql
         6: dovecot-1.0.beta8
         7: dovecot-1.0.beta8-ldap
         8: dovecot-1.0.beta8-ldap-mysql-postgresql
         9: dovecot-1.0.beta8-mysql
        10: dovecot-1.0.beta8-postgresql
Your choice: 10
Choose dependency for dovecot-1.0.beta8-postgresql:
         0: postgresql-client-8.1.4
         1: postgresql-client-8.1.3
Your choice: 0
dovecot-1.0.beta8-postgresql:libiconv-1.9.2p3: complete
dovecot-1.0.beta8-postgresql:postgresql-client-8.1.4: complete
dovecot-1.0.beta8-postgresql: complete
--- dovecot-1.0.beta8-postgresql -------------------
Files to facilitate the generation of a self-signed
certificate and key for Dovecot have been installed:
/etc/ssl/dovecot-openssl.cnf (Edit this accordingly!)
/usr/local/sbin/dovecot-mkcert.sh
If this has been or will be accomplished by other means,
use the following paths for the files:
/etc/ssl/dovecotcert.pem
/etc/ssl/private/dovecot.pem
If you wish to have Dovecot started automatically at boot time,
simply add the follow lines to /etc/rc.local:
if [ -x /usr/local/sbin/dovecot ]; then
        echo -n ' dovecot'; /usr/local/sbin/dovecot
fi
$}}}
Follow the advice about adding the lies to /etc/rc.local.

In the above case, you would also need a postgresql server somewhere - you could install it on the same machine using "pkg_add -i postgresql-server".
Use the OpenBSD Package system. For background information see the[[http://www.openbsd.org/faq/faq15.html|Packages and Ports FAQ]].

Set your PKG_PATH by running the followind command, (or you can add it to your .profile to have this permanently after you re-login.

{{{
# export PKG_PATH=ftp://your.ftp.mirror/pub/OpenBSD/`uname -r`/packages/`uname -m`/
}}}
Install the package using pkg_add, as root, with the -i option to allow you to choose which version of the package you want. Here's a case where I chose the later of the two postgresql ports that were available on my repository, and this caused the packages system to prompt me for a choice on the postgresql client dependency.

{{{
# pkg_add -i dovecot
}}}
To have dovecot run automatically upon restart, add it to the pkg_scripts variable in /etc/rc.conf.local. See rc.d(8) for more details.

{{{
pkg_scripts="[...] dovecot [...]"
}}}
Follow the advice about adding the lines to /etc/rc.local. Sieve mail filtering can be added by installing dovecot-pigeonhole, also available in the OpenBSD packages and ports.
Line 133: Line 175:
cd /usr/pkgsrc/mail/dovecot; make install }}}
== Mac OS X Darwinports ==
{{{
port install dovecot }}}
== Mandriva 2007.0 ==
cd /usr/pkgsrc/mail/dovecot; make install
}}}
== Mac OS X ==
These are technically not prebuilt binaries but if you use one of the following tools it will build you a binary and install it on your behalf.

=== Homebrew ===
Install Homebrew from http://brew.sh then simply:
{{{
brew install dovecot
}}}
=== MacPorts ===
Install MacPorts from http://www.macports.org/ then simply:
{{{
sudo port install dovecot
}}}
== Mandriva 2007.0 and 2007.1 ==
Line 141: Line 194:
urpmi dovecot }}} urpmi dovecot
}}}
Line 155: Line 209:
== Arch Linux ==
{{{
pacman -Sy extra/dovecot
}}}
Also see http://www.archlinux.org/packages/search/?q=dovecot

== Solaris ==
For Solaris 8 - 10: Install pkg-get from http://www.opencsw.org/pkg-get, adjust /opt/csw/etc/pkg-get.conf with a mirror nearby, and run

{{{
pkg-get -U
pkg-get -i dovecot
}}}
The CMU Sieve plugin is also available

{{{
pkg-get -i dovecot_sieve
}}}

Installing Prebuilt Binaries

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

Please see Dovecot community repository for packages.

Debian

apt-get install dovecot-imapd dovecot-pop3d

Beginning with squeeze Debian uses a modular approach to distribute dovecot (similar to the way postfix is distributed). Seperate packages are available for GSSAPI authentication (dovecot-gssapi), LDAP support (dovecot-ldap), LMTP server (dovecot-lmtpd), ManageSieve server (dovecot-managesieved), MySQL support (dovecot-mysql), PostgreSQL support (dovecot-pgsql), sieve filters support (dovecot-sieve), solr full text search support (dovecot-solr) and SQLite support (dovecot-sqlite). The basic functionalities are in dovecot-common (with 2.1 dovecot-core). The IMAP or POP3 server are packaged as dovecot-imapd and dovecot-pop3, respectively. With dovecot-dev are the header files available and dovecot-dbg contains debug symbols.

For stable you can get newer versions from backports.org (currently 2.1.7-2~bpo60+1 in squeeze-backports instead of 1.2.15-7 in squeeze). Follow the instructions from http://backports-master.debian.org/Instructions/ and then run the above apt-get install command.

Stable Package Builds for the Community

Stable releases are published to the Dovecot community repositories at https://repo.dovecot.org/

Automatic Hourly Built Packages

For those of you who like to live on the edge, there are Debian repositories available with hourly updates from recent Dovecot v2.2, v2.3 and v2.4 changes in the Git repositories. The builder scripts automatically release a new set of Debian packages when they notice any changes in any of the repositories. The packages have Pigeonhole Sieve and ManageSieve included. Currently, binaries for the i386 and amd64 architectures are provided for the Debian stable, oldstable and testing releases. Source packages are available to build the packages for other architectures and (possibly) for other Debian releases. These packages are directly based on the latest official Debian packages for Dovecot, but some of the small Debian-specific patches that are part of the official packages are currently not included. The packages are currently composed on an amd64 Debian Stretch system, so those packages are always produced first.

Usage should be similar to the backports.org repository (see explanation above), but the lines added to /etc/apt/sources.list are different and the keyring package has a different name (see below).

Needless to say: do NOT use these repositories for systems that need to be STABLE.

For Dovecot v2.3 and Debian stable (Stretch) the following line needs to be added to your /etc/apt/sources.list:

deb http://xi.dovecot.fi/debian/ stable-auto/dovecot-2.3 main

And if you would like to get the source packages, you should add:

deb-src http://xi.dovecot.fi/debian/ stable-auto/dovecot-2.3 main

Substitute stable with testing in the lines above if you are running Debian testing (Buster). You can also substitute the release name directly, so jessie rather than oldstable. Substitute 2.3 with 2.4 if you want to use packages created from the latest Dovecot v2.4 developments (git master branch).

If you want apt to verify the downloaded packages, you can import the automatic archive’s key into apt:

apt-get install debian-dovecot-auto-keyring

or:

wget -O - http://xi.dovecot.fi/debian/archive.key | apt-key add -

For questions, comments and requests, you can send an e-mail to Stephan Bosch (stephan at rename-it dot nl).

NOTE: This service used to be hosted at xi.rename-it.nl. That old host name will still work for the foreseeable future, but it is best to use the new host name instead.

Ubuntu

apt-get install dovecot-imapd dovecot-pop3d

Ubuntu version and name

Package name

Dovecot version

OS release date

Supported until

5.10 Breezy Badger

0.99.14-1ubuntu1

0.99.14

2005-10-13

2007-04-13

6.06 LTS Dapper Drake

1.0.beta3-3ubuntu5.6

1.0 beta 3

2006-06-01

2011-06-01

7.10 Gutsy Gibbon

1.0.5-1ubuntu2.2

1.0.5

2007-10-18

2009-04-18

8.04 LTS Hardy Heron

1.0.10-1ubuntu5.1

1.0.10

2008-04-24

2013-04-27

8.10 Intrepix Ibex

1.1.4-0ubuntu1.2

1.1.4

2008-10-30

2010-04-30

9.04 Jaunty Jackalope

1.1.11-0ubuntu4

1.1.11

2009-04-23

2010-10-22

9.10 Karmic Koala

1.1.11-0ubuntu11

1.1.11

2009-10-27

2011-04-29

10.04 LTS Lucid Lynx

1.2.9-1ubuntu6.4

1.2.9

2010-04-29

2015-04-29

10.10 Maverick Meerkat

1.2.12-1ubuntu8

1.2.12

2010-10-10

2012-04-10

11.04 Natty Narwhal

1.2.15-3ubuntu2.1

1.2.15

2011-04-28

2012-10-28

11.10 Oneiric Ocelot

2.0.13-1ubuntu3.2

2.0.13

2011-10-13

2013-04-13

12.04 LTS Precise Pangolin

2.0.19-0ubuntu1

2.0.19

2012-04-26

2017-04

12.10 Quantal Quetzal

2.1.7-7ubuntu1

2.1.7

2012-10-18

2014-04

13.04 Karmic Koala

2.1.7-7ubuntu1

2.1.7

2013-04-25

2014-01

13.10 Saucy Salamander

2.1.7-7ubuntu3

2.1.7

2013-10-17

2014-07

14.04.03 Trusty Tahr

2.2.9-1ubuntu2.1

2.2.9

2015-08-06

2016-08

15.10 Wily Werewolf

2.2.18-2ubuntu2

2.2.18

2015-10-22

2016-07

16.04 Xenial Xerus

2.2.22-1ubuntu2.4

2.2.22

2016-04-21

2021-04

These packages including the Dovecot Sieve Plugin and all other nice features.

For Ubuntu builds of the automatically built Debian packages (explained above), you can use repositories from the OpenSUSE build service: v2.2. These repositories are updated on a daily basis. Keep in mind: do NOT use these repositories for systems that need to be STABLE.

Fedora and RHEL (and CentOS/Scientific Linux/...)

Fedora includes dovecot since its first release, RHEL since RHEL4. The versions included in the still supported releases are

RHEL6

dovecot-2.0-0.10.beta6.el6

RHEL5

dovecot-1.0.7-2.el5

RHEL4

dovecot-0.99.11-8.EL4

Fedora Testing (Rawhide)

dovecot-2.0.5-1.fc15

Fedora 14 Laughlin

dovecot-2.0.1-1.fc14

Fedora 13 Goddard

dovecot-1.2.14-1.fc13

Fedora 12 Constantine

dovecot-1.2.14-1.fc12

Fedora 11 Leonidas

dovecot-1.2.11-3.fc11

Fedora 10 Cambridge

dovecot-1.1.1-1.fc10

Fedora 9 Sulphur

dovecot-1.0.15-1.fc9

Fedora 8 Werewolf

dovecot-1.0.15-1.fc8

For historical reference these were the versions found in older Fedora releases until they reached their EOL:

Fedora 7

dovecot-1.0.13-18.fc7

Fedora Core 6

dovecot-1.0.1-4.fc6 (1.0.1)

Fedora Core 5

dovecot-1.0-0.beta8.3.fc5 (1.0.beta8)

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

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 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

There are also up-to-date Dovecot 1.2 and 2.0 binary packages for various versions available in the Server:Mail repository. These are not officially supported, but maintained by the same folks.

FreeBSD

If you want to use ports:

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

If you want to use packages:

pkg install dovecot

OpenBSD

Use the OpenBSD Package system. For background information see thePackages and Ports FAQ.

Set your PKG_PATH by running the followind command, (or you can add it to your .profile to have this permanently after you re-login.

# export PKG_PATH=ftp://your.ftp.mirror/pub/OpenBSD/`uname -r`/packages/`uname -m`/

Install the package using pkg_add, as root, with the -i option to allow you to choose which version of the package you want. Here's a case where I chose the later of the two postgresql ports that were available on my repository, and this caused the packages system to prompt me for a choice on the postgresql client dependency.

# pkg_add -i dovecot

To have dovecot run automatically upon restart, add it to the pkg_scripts variable in /etc/rc.conf.local. See rc.d(8) for more details.

pkg_scripts="[...] dovecot [...]"

Follow the advice about adding the lines to /etc/rc.local. Sieve mail filtering can be added by installing dovecot-pigeonhole, also available in the OpenBSD packages and ports.

NetBSD and DragonFly

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

Mac OS X

These are technically not prebuilt binaries but if you use one of the following tools it will build you a binary and install it on your behalf.

Homebrew

Install Homebrew from http://brew.sh then simply:

brew install dovecot

MacPorts

Install MacPorts from http://www.macports.org/ then simply:

sudo port install dovecot

Mandriva 2007.0 and 2007.1

Install with rpm or urpmi.

urpmi dovecot

The Mandriva default locations where executables, doc etc. are installed, are sometimes different from other platforms. The default rpm (created from the source rpm as described in the 'Compiling Dovecot from sources' chapter) uses the following locations:

/usr/lib/dovecot/ to store executable files (imap-login, imap, etc.)
/usr/sbin/ for dovecot and dovecotpw
/usr/share/dovecot/ for .la and .lo files
/usr/share/dovecot/imap/,
/usr/share/dovecot/lda/,
/usr/share/dovecot/pop3/ hold symlinks to the files one level up
/usr/share/doc/dovecot-1.0.rc14/ to store template .conf, .cnf, .pl, README, etc. files
/etc to store the live dovecot.conf
/etc/ssl/dovecot/[certs,private]/ to store the OpenSSL certificate and key

Arch Linux

pacman -Sy extra/dovecot

Also see http://www.archlinux.org/packages/search/?q=dovecot

Solaris

For Solaris 8 - 10: Install pkg-get from http://www.opencsw.org/pkg-get, adjust /opt/csw/etc/pkg-get.conf with a mirror nearby, and run

pkg-get -U
pkg-get -i dovecot

The CMU Sieve plugin is also available

pkg-get -i dovecot_sieve

None: PrebuiltBinaries (last edited 2019-04-12 11:09:27 by JinnKo)