Installation of Cyrus IMAP 2.5.10 + patches on Red Hat Enterprise LinuxΒΆ

Note

Packages for Cyrs IMAP version 2.5.10 + 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-2.5
    
  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