Next Previous Contents

6. Cyrus IMAP Installation

6.1 Uncompress

The following commands will tar and gunzip cyrus IMAP under /temp.

  1. cd /temp
  2. tar -zxvf tar/cyrus-imapd-1.6.24.tar.gz
  3. cd cyrus-imapd-1.6.24

6.2 A note on com_err.h

When I tried to install cyrus IMAP, I got errors regarding the file com_err.h. My com_err.h was located in /usr/include/et. It needs to reside in /usr/include. Run the following command to make sure it is in the correct location:

locate com_err.h

This will show you where the file is. If it is under /usr/include, you can skip to the next section. If it is in another directory, just copy it to /usr/include. If it doesn't exist, download it here: http://www.ludd.luth.se/~jnilsson/cvsweb/cvsweb.cgi/src/contrib/com_err.

6.3 Configure

./configure --with-auth=unix

6.4 Adding the default user

Cyrus requires a user to own its files. The default user is cyrus. The following command adds a user cyrus with the group of "mail"

useradd -g mail cyrus

You'll want to set the password for user cyrus.

passwd cyrus

Type in the password you desire cyrus to have each time you are prompted

6.5 Building the files

  1. make depend
  2. make all CFLAGS=-O
  3. make install

That's it! You're ready to configure Cyrus IMAP.


Next Previous Contents

Hosting by: Hurra Communications Ltd.
Generated: 2007-01-26 17:57:51