Installation of Cyrus IMAP 3.6.1 on Red Hat Enterprise Linux

Note

Packages for Cyrs IMAP version 3.6.1 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 tag for version 3.6.1 of Cyrus IMAP:

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

    # yum -y install \
        autoconf \
        automake \
        bison \
        cyrus-sasl-devel \
        flex \
        groff \
        krb5-devel \
        mysql-devel \
        openssl-devel \
        "perl(ExtUtils::MakeMaker)" \
        pkgconfig \
        postgresql-devel \
        net-snmp-devel \
        transfig \
        perl-devel \
        db4-devel \
        openldap-devel \
        tcp_wrappers
  4. Execute the following commands:

    $ automake -a -f -c
    $ aclocal -I cmulocal/
    $ autoheader
    $ autoconf -f
    $ ./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