Installation of Cyrus IMAP 3.8.0 + patches on CentOS

Note

Packages for Cyrs IMAP version 3.8.0 + patches can be obtained from the Open Build System Packages.

  1. Clone the GIT repository:

    $ git clone https://git.cyrus.foundation/diffusion/I/cyrus-imapd.git
  2. Checkout the branch for the current stable series of Cyrus IMAP:

    $ git checkout cyrus-imapd-3.8
  3. Install the build dependencies:

    # yum -y install \
        autoconf \
        automake \
        bison \
        CUnit-devel \
        cyrus-sasl-devel \
        cyrus-sasl-md5 \
        cyrus-sasl-plain \
        flex \
        gcc \
        groff \
        jansson-devel \
        krb5-devel \
        libical-devel \
        libxml2-devel \
        libtool \
        libuuid-devel \
        mysql-devel \
        net-snmp-devel \
        openldap-devel \
        openssl-devel \
        "perl(ExtUtils::MakeMaker)" \
        perl-devel \
        pkgconfig \
        postgresql-devel \
        sqlite-devel \
        tcp_wrappers \
        transfig
  4. Execute the following commands:

    $ autoreconf -vi
    $ ./configure [options]

    For a full list of options, see ./configure --help.

    Note

    We recommend at least specifying --prefix=/usr, --with-cyrus-prefix=/usr/lib/cyrus-imapd and --with-service-path=/usr/lib/cyrus-imapd.

  5. Build Cyrus IMAP:

    $ make
  6. Install Cyrus IMAP (with sufficient privileges):

    # make install