Previous Contents Next

5. Cyrus Imapd

5.1 Installation

Installation of Cyrus Imapd is as easy as installing Postfix. Get the cyrus-imap rpm from one of the location mentioned in section 4.1 and install it by typing

rpm -ihv <cyrus-imap-rpm>

into your shell.

5.2 Modify imap.conf

This file is located in the "/etc/" directory.

Administrator

Tells the imap server which user has the right to add, modify or delete other user accounts. This is the equivalent to the "root" account in Unix. It isn't necessary that this account is associated with a shell, home directory or a uid/gid number. It is sufficient, if a password belongs to this uid. If you installed your LDAP probably like described in section 3, then you have already the account you need.

admins: admin

Password check method

You have to use the PAM modules for authentication. This gives you the flexibility to change the backend - where you store your passwords - to a system not directly supported by the imap server, in this case to LDAP. Section 3.5 describes how to change the authentication backend to LDAP.

sasl_pwcheck_method: pam

TLS Encryption

It is strongly recommended to use TLS encrypted connections to your clients, because the authentication requires userid and password. This should not be sent in cleartext over the wire. You can use the key and the certificate generated in section 2.2, if the http and imap server are running on the same machine. After restarting the imap daemon, it will accept encrypted connections on port 993. The clients must also be changed to this port.

tls_key_file: /usr/share/ssl/certs/lmc.key
tls_cert_file: /usr/share/ssl/certs/lmc.crt


 

Previous Contents Next