OSSO build of Dovecot packages for Debian (2.3.2.1)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
patches
po
source
tests
upstream
.dockerignore
.gitignore
Docker.build
Dockerfile
README.rst
autogen.sh
changelog
compat
control
copyright
dh.pem
dovecot-core.NEWS
dovecot-core.README.Debian
dovecot-core.bug-control
dovecot-core.bug-script
dovecot-core.dirs
dovecot-core.docs
dovecot-core.dovecot.default
dovecot-core.dovecot.init
dovecot-core.dovecot.pam
dovecot-core.examples
dovecot-core.install
dovecot-core.maintscript
dovecot-core.manpages
dovecot-core.postinst
dovecot-core.postrm
dovecot-core.preinst
dovecot-core.prerm
dovecot-core.triggers
dovecot-dbg.links
dovecot-dev.README.Debian
dovecot-dev.dirs
dovecot-gssapi.dirs
dovecot-gssapi.links
dovecot-imapd.dirs
dovecot-imapd.links
dovecot-imapd.postinst
dovecot-imapd.postrm
dovecot-imapd.prerm
dovecot-imapd.triggers
dovecot-imapd.ufw.profile
dovecot-ldap.dirs
dovecot-ldap.links
dovecot-ldap.postinst
dovecot-ldap.postrm
dovecot-ldap.triggers
dovecot-lmtpd.dirs
dovecot-lmtpd.links
dovecot-lmtpd.postinst
dovecot-lmtpd.postrm
dovecot-lmtpd.prerm
dovecot-lmtpd.triggers
dovecot-lua.dirs
dovecot-lua.links
dovecot-lucene.dirs
dovecot-lucene.links
dovecot-lucene.triggers
dovecot-managesieved.README.Debian
dovecot-managesieved.dirs
dovecot-managesieved.install
dovecot-managesieved.links
dovecot-managesieved.postinst
dovecot-managesieved.postrm
dovecot-managesieved.prerm
dovecot-managesieved.triggers
dovecot-mysql.dirs
dovecot-mysql.links
dovecot-mysql.triggers
dovecot-pgsql.dirs
dovecot-pgsql.links
dovecot-pgsql.triggers
dovecot-pop3d.dirs
dovecot-pop3d.links
dovecot-pop3d.postinst
dovecot-pop3d.postrm
dovecot-pop3d.prerm
dovecot-pop3d.triggers
dovecot-pop3d.ufw.profile
dovecot-sieve.dirs
dovecot-sieve.install
dovecot-sieve.links
dovecot-sieve.postinst
dovecot-sieve.postrm
dovecot-sieve.triggers
dovecot-solr.README.Debian
dovecot-solr.dirs
dovecot-solr.install
dovecot-solr.links
dovecot-solr.triggers
dovecot-sqlite.dirs
dovecot-sqlite.links
dovecot-sqlite.triggers
dovecot-submissiond.dirs
dovecot-submissiond.links
dovecot-submissiond.postinst
dovecot-submissiond.postrm
dovecot-submissiond.prerm
dovecot-submissiond.triggers
dovecot-submissiond.ufw.profile
gbp.conf
maildirmake.dovecot
maildirmake.dovecot.1
openssl.cnf
rules
source_dovecot.py
watch

README.rst

OSSO build of dovecot 2.3.2.1

Using Docker:

./Docker.build

If the build succeeds, the built Debian packages are placed inside (a subdirectory of) Docker.out/.

Manual build

You could do things manually without Docker. In that case it would look somewhat like this.

Note that you may have to peek inside the Dockerfile for some extra steps to perform.

Get source:

wget https://www.dovecot.org/releases/2.3/dovecot-2.3.1.tar.gz \
  -O dovecot_2.3.1.orig.tar.gz

tar zxf dovecot_2.3.1.orig.tar.gz

Setup debian/ dir:

cd dovecot-2.3.1
git clone https://github.com/ossobv/dovecot-deb.git debian

Optionally alter debian/changelog and then build:

dpkg-buildpackage -us -uc -sa
# skip -us and -uc if you have GPG set up properly
# for *exactly* the identifier in the changelog

Changes from Ubuntu 2.2.22 build

  • Assembled by:

    • taking the dovecot-ce-2.3.0 debian dir;
    • mixing it with the dovecot-2.2.22 Ubuntu/Xenial debian dir;
    • updating the pigeonhole.patch with the 0.5.0.1 source;
    • updating everything with the Debian 2.3.1-2 patches.
  • Relevant changes in our case:

    • ssl_protocols had to be removed from the config (or replaced by ssl_min_protocol);
    • lmtp is now found in a separate dovecot-lmtpd package, which also had to be installed.

    See also: https://wiki2.dovecot.org/Upgrading/2.3

  • Changing from 2.2.22 to 2.3.0 fixed the imap crashes in libdovecot near i_stream_seek as discussed here: https://wjd.nu/notes/2018#dovecot-roundcube-mail-read-error