Mengkonfigurasi Cyrus

Contoh konfigurasi imapd.conf:

postmaster: postmaster
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: cyrus
allowanonymouslogin: no
allowplaintext: yes
sasl_mech_list: PLAIN LOGIN
servername: ns.comlabs.itb.ac.id
autocreatequota: 10000
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
sasl_pwcheck_method: saslauthd
sievedir: /var/imap/sieve
sendmail: /usr/local/sbin/sendmail
sieve_maxscriptsize: 32
sieve_maxscripts: 5
tls_ca_file: /usr/local/etc/cyrus.pem
tls_cert_file: /usr/local/etc/cyrus.pem
tls_key_file: /usr/local/etc/cyrus.pem

Direktory yg didefinisikan diatas harus dibuat terlebih dahulu.

mkdir /var/imap
chown cyrus:cyrus /var/imap
chmod 750 /var/imap

mkdir /var/imap/sieve
chown cyrus:cyrus /var/imap/sieve
chmod 750 /var/imap/sieve

mkdir /var/spool/imap
chown cyrus:cyrus /var/spool/imap
chmod 750 /var/spool/imap

Direktory lain yang diperlukan, bisa dibuat dengan menjalankan perintah mkimap

su - cyrus
mkimap