Configuring Cyrus-IMAP

= Config Files =

imapd.conf
Edit /etc/imapd.conf

(Note that some of these changes may be enabling the default, and so pointless, but this is the config file that I merged in from the Postfix-Cyrus-Web-cyradm-HOWTO.

Change:

altnamespace: no to altnamespace: yes to admins: cyrus to sendmail = /usr/sbin/sendmail to dracinterval: 0 drachost: localhost to sasl_mech_list: PLAIN sasl_pwcheck_method: auxprop to sasl_pwcheck_method: saslauthd sasl_auto_transition: no to
 * 1) admins: cyrus
 * 1) sendmail = /usr/sbin/sendmail
 * 1) dracinterval: 0
 * 2) drachost: localhost
 * 1) sasl_mech_list: PLAIN
 * 1) sasl_auto_transition: no

(imapd.conf) Multiple Virtual Domains
Change:

unixheirarchysep: no to unixheirarchysep: yes

Add at end:

servername: localhost quotawarn: 90 timeout: 30 poptimeout: 10 saslauthd_path: /var/run/saslauthd/mux virtdomains: yes defaultdomain: localdomain tls_cert_file: /etc/ssl/certs/cyrus-imapd.pem tls_key_file: /etc/ssl/certs/cyrus-imapd.pem tls_ca_file: /etc/ssl/certs/ca-certificates.crt

(imapd.conf) Single Domain
Ensure that

unixheirarchysep: no

is present.

Add at end:

servername: localhost quotawarn: 90 timeout: 30 poptimeout: 10 saslauthd_path: /var/run/saslauthd/mux tls_cert_file: /etc/ssl/certs/cyrus-imapd.pem tls_key_file: /etc/ssl/certs/cyrus-imapd.pem tls_ca_file: /etc/ssl/certs/ca-certificates.crt

cyrus.conf
Edit /etc/cyrus.conf

Change: sieve          cmd="timsieved" listen="localhost:sieve" prefork=0 maxchild=100 to sieve          cmd="timsieved" listen="sieve" prefork=0 maxchild=100

If you want SSL support, rather than just TLS, change: to imaps          cmd="imapd -s -U 30" listen="imaps" prefork=0 maxchild=100
 * 1) imaps           cmd="imapd -s -U 30" listen="imaps" prefork=0 maxchild=100