Installation of Cyrus IMAP 3.8.4 + patches on CentOS¶
Note
Packages for Cyrs IMAP version 3.8.4 + patches can be obtained from the Open Build System Packages.
Clone the GIT repository:
$ git clone https://git.cyrus.foundation/diffusion/I/cyrus-imapd.git
Checkout the branch for the stable version series of Cyrus IMAP:
$ git checkout cyrus-imapd-3.8
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
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
.Build Cyrus IMAP:
$ make
Install Cyrus IMAP (with sufficient privileges):
# make install