We provide Debian, Ubuntu and CentOS packages of Dovecot Core and Pigeonhole for community use. These packages come with no warranty or assured support. If you have problems with these packages please contact our mailing list or IRC channel.
You can find pre-built imaptest binary from https://github.com/dovecot/imaptest.
All packages are cryptographically signed with a PGP key at https://repo.dovecot.org/DOVECOT-REPO-GPG-2.4. You are also encouraged to use https instead of http in repository URLs where supported.
To get specific release, replace ce-2.4-latest with ce-<version>, for example ce-2.4.0.
All packages are cryptographically signed with a PGP key at https://repo.dovecot.org/DOVECOT-REPO-GPG-2.3. You are also encouraged to use https instead of http in repository URLs where supported.
To get specific release, replace ce-2.3-latest with ce-<version>, for example ce-2.3.0.
We also provide Docker images on Docker Hub.
For release candidates, follow instructions for the given distribution, but replace the repository location to point into https://repo.dovecot.org/rc/. Please check the location for available release candidates.
Create /usr/share/keyrings/dovecot.gpg
curl https://repo.dovecot.org/DOVECOT-REPO-GPG-2.4 | gpg --dearmor -o /usr/share/keyrings/dovecot.gpgCreate /etc/apt/sources.list.d/dovecot.sources. If you want to use https, make sure you have installed apt-transport-https.
Types: deb
URIs: https://repo.dovecot.org/ce-2.4-latest/debian/trixie
Suites: trixie
Components: main
Signed-By: /usr/share/keyrings/dovecot.gpgCreate /usr/share/keyrings/dovecot.gpg
curl https://repo.dovecot.org/DOVECOT-REPO-GPG-2.4 | gpg --dearmor -o /usr/share/keyrings/dovecot.gpgCreate /etc/apt/sources.list.d/dovecot.sources. If you want to use https, make sure you have installed apt-transport-https.
Types: deb
URIs: https://repo.dovecot.org/ce-2.4-latest/debian/bookworm
Suites: bookworm
Components: main
Signed-By: /usr/share/keyrings/dovecot.gpgLast released version is 2.4.1
Create /usr/share/keyrings/dovecot.gpg
curl https://repo.dovecot.org/DOVECOT-REPO-GPG-2.4 | gpg --dearmor -o /usr/share/keyrings/dovecot.gpgCreate /etc/apt/sources.list.d/dovecot.list. If you want to use https, make sure you have installed apt-transport-https.
deb [signed-by=/usr/share/keyrings/dovecot.gpg] https://repo.dovecot.org/ce-2.4.1/debian/bullseye bullseye mainIf you are upgrading from existing installation, run
apt update
apt upgradeIf you are installing new installation, you can use following package names
Last released version is 2.3.21.1
Create /usr/share/keyrings/dovecot.gpg
curl https://repo.dovecot.org/DOVECOT-REPO-GPG-2.3 | gpg --dearmor -o /usr/share/keyrings/dovecot.gpgCreate /etc/apt/sources.list.d/dovecot.list. If you want to use https, make sure you have installed apt-transport-https.
deb [signed-by=/usr/share/keyrings/dovecot.gpg] https://repo.dovecot.org/ce-2.3.21.1/debian/bullseye bullseye mainLast released version is 2.3.21.1
Create /etc/apt/trusted.gpg.d/dovecot.gpg
curl https://repo.dovecot.org/DOVECOT-REPO-GPG-2.3 | gpg --dearmor -o /etc/apt/trusted.gpg.d/dovecot.gpgCreate /etc/apt/sources.list.d/dovecot.list. If you want to use https, make sure you have installed apt-transport-https.
deb [signed-by=/usr/share/keyrings/dovecot.gpg] https://repo.dovecot.org/ce-2.3.21.1/debian/buster buster mainLast released version is 2.3.17.1
Create /etc/apt/trusted.gpg.d/dovecot.gpg
curl https://repo.dovecot.org/DOVECOT-REPO-GPG-2.3 | gpg --dearmor -o /etc/apt/trusted.gpg.d/dovecot.gpgCreate /etc/apt/sources.list.d/dovecot.list. If you want to use https, make sure you have installed apt-transport-https.
deb [signed-by=/usr/share/keyrings/dovecot.gpg] https://repo.dovecot.org/ce-2.3.17.1/debian/stretch stretch mainLast released version is 2.3.8
Create /etc/apt/trusted.gpg.d/dovecot.gpg
curl https://repo.dovecot.org/DOVECOT-REPO-GPG-2.3 | gpg --dearmor -o /etc/apt/trusted.gpg.d/dovecot.gpgCreate /etc/apt/sources.list.d/dovecot.list. If you want to use https, make sure you have installed apt-transport-https.
deb [signed-by=/usr/share/keyrings/dovecot.gpg] https://repo.dovecot.org/ce-2.3.8/debian/jessie jessie mainIf you are upgrading from existing installation, run
apt update
apt upgradeIf you are installing new installation, you can use following package names
Red Hat Enterprise Linux packages
Create /etc/yum.repos.d/dovecot.repo
[dovecot-2.4-latest]
name=Dovecot 2.4 RHEL $releasever - $basearch
baseurl=http://repo.dovecot.org/ce-2.4-latest/rhel/$releasever/RPMS/$basearch
gpgkey=https://repo.dovecot.org/DOVECOT-REPO-GPG-2.4
gpgcheck=1
enabled=1Create /etc/yum.repos.d/dovecot.repo
[dovecot-2.4-latest]
name=Dovecot 2.4 RHEL $releasever - $basearch
baseurl=http://repo.dovecot.org/ce-2.4-latest/rhel/$releasever/RPMS/$basearch
gpgkey=https://repo.dovecot.org/DOVECOT-REPO-GPG-2.4
gpgcheck=1
enabled=1Last released version is 2.4.1
Create /etc/yum.repos.d/dovecot.repo
[dovecot-2.4.1]
name=Dovecot 2.4.1 RHEL $releasever - $basearch
baseurl=http://repo.dovecot.org/ce-2.4.1/rhel/$releasever/RPMS/$basearch
gpgkey=https://repo.dovecot.org/DOVECOT-REPO-GPG-2.3
gpgcheck=1
enabled=1If you are upgrading an existing installation
yum makecache
yum updateIf you are installing new installation, you can use following package names
Last released version is 2.3.21.1
Create /etc/yum.repos.d/dovecot.repo
[dovecot-2.3.21.1]
name=Dovecot 2.3.21.1 RHEL $releasever - $basearch
baseurl=http://repo.dovecot.org/ce-2.3.21.1/rhel/$releasever/RPMS/$basearch
gpgkey=https://repo.dovecot.org/DOVECOT-REPO-GPG-2.3
gpgcheck=1
enabled=1If you are upgrading an existing installation
yum makecache
yum updateIf you are installing new installation, you can use following package names
Last released version is 2.3.21.1
Create /etc/yum.repos.d/dovecot.repo
[dovecot-2.3.21.1]
name=Dovecot 2.3.21.1 CENTOS $releasever - $basearch
baseurl=http://repo.dovecot.org/ce-2.3.21.1/centos/$releasever/RPMS/$basearch
gpgkey=https://repo.dovecot.org/DOVECOT-REPO-GPG-2.3
gpgcheck=1
enabled=1Last released version is 2.3.17
Create /etc/yum.repos.d/dovecot.repo
[dovecot-2.3.17]
name=Dovecot 2.3.17 CENTOS $releasever - $basearch
baseurl=http://repo.dovecot.org/ce-2.3.17/centos/$releasever/RPMS/$basearch
gpgkey=https://repo.dovecot.org/DOVECOT-REPO-GPG-2.3
gpgcheck=1
enabled=1Last released version is 2.3.11.3
Create /etc/yum.repos.d/dovecot.repo
[dovecot-2.3.11.3]
name=Dovecot 2.3.11.3 CENTOS $releasever - $basearch
baseurl=http://repo.dovecot.org/ce-2.3.11.3/centos/$releasever/RPMS/$basearch
gpgkey=https://repo.dovecot.org/DOVECOT-REPO-GPG-2.3
gpgcheck=1
enabled=1If you are upgrading an existing installation
yum makecache
yum updateIf you are installing new installation, you can use following package names
Create /usr/share/keyrings/dovecot.gpg
curl https://repo.dovecot.org/DOVECOT-REPO-GPG-2.4 | gpg --dearmor -o /usr/share/keyrings/dovecot.gpgCreate /etc/apt/sources.list.d/dovecot.sources. If you want to use https, make sure you have installed apt-transport-https.
Types: deb
URIs: https://repo.dovecot.org/ce-2.4-latest/ubuntu/noble
Suites: noble
Components: main
Signed-By: /usr/share/keyrings/dovecot.gpgCreate /usr/share/keyrings/dovecot.gpg
curl https://repo.dovecot.org/DOVECOT-REPO-GPG-2.4 | gpg --dearmor -o /usr/share/keyrings/dovecot.gpgCreate /etc/apt/sources.list.d/dovecot.list. If you want to use https, make sure you have installed apt-transport-https.
deb [signed-by=/usr/share/keyrings/dovecot.gpg] https://repo.dovecot.org/ce-2.4-latest/ubuntu/jammy jammy mainIf you are upgrading from existing installation, run
apt update
apt upgradeIf you are installing new installation, you can use following package names
Last released version is 2.3.21.1
Create /etc/apt/trusted.gpg.d/dovecot.gpg
curl https://repo.dovecot.org/DOVECOT-REPO-GPG-2.3 | gpg --dearmor -o /etc/apt/trusted.gpg.d/dovecot.gpgCreate /etc/apt/sources.list.d/dovecot.list. If you want to use https, make sure you have installed apt-transport-https.
deb [signed-by=/usr/share/keyrings/dovecot.gpg] https://repo.dovecot.org/ce-2.3.21.1/ubuntu/focal focal mainLast released version is 2.3.21.1
Create /etc/apt/trusted.gpg.d/dovecot.gpg
curl https://repo.dovecot.org/DOVECOT-REPO-GPG-2.3 | gpg --dearmor -o /etc/apt/trusted.gpg.d/dovecot.gpgCreate /etc/apt/sources.list.d/dovecot.list. If you want to use https, make sure you have installed apt-transport-https.
deb [signed-by=/usr/share/keyrings/dovecot.gpg] https://repo.dovecot.org/ce-2.3.21.1/ubuntu/bionic bionic mainLast released version is 2.3.11.3
Create /etc/apt/trusted.gpg.d/dovecot.gpg
curl https://repo.dovecot.org/DOVECOT-REPO-GPG-2.3 | gpg --dearmor -o /etc/apt/trusted.gpg.d/dovecot.gpgCreate /etc/apt/sources.list.d/dovecot.list. If you want to use https, make sure you have installed apt-transport-https.
deb [signed-by=/usr/share/keyrings/dovecot.gpg] https://repo.dovecot.org/ce-2.3.11.3/ubuntu/focal focal mainLast released version is 2.3.8
Create /etc/apt/trusted.gpg.d/dovecot.gpg
curl https://repo.dovecot.org/DOVECOT-REPO-GPG-2.3 | gpg --dearmor -o /etc/apt/trusted.gpg.d/dovecot.gpgCreate /etc/apt/sources.list.d/dovecot.list. If you want to use https, make sure you have installed apt-transport-https.
deb [signed-by=/usr/share/keyrings/dovecot.gpg] https://repo.dovecot.org/ce-2.3.8/ubuntu/trusty trusty mainIf you are upgrading from existing installation, run
apt update
apt upgradeIf you are installing new installation, you can use following package names
You can find source tarballs under https://www.dovecot.org/releases/.
