Cyrus

From Wikifications
Revision as of 18:16, 16 April 2005 by Dre (Talk | contribs) (formating)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Cyrus references:

http://www.cse.ucsc.edu/~venkat/tutorial1.html

http://tomster.org/geek/freebsdcookbook/ar01s03.html

http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/postfix-config.html

http://www.aasimon.org/mailserver/

Install from ports:

cd /usr/ports/mail/cyrus-imapd2
make
make install

Add to /etc/rc.conf:

cyrus_imapd_enable="YES"

Change in /etc/services:

sieve           2000/tcp

Configure /etc/imapd.conf:

tls_ca_file: /var/imap/server.pem
tls_cert_file: /var/imap/server.pem
tls_key_file: /var/imap/server.pem

Create directories:

/var/imap
/var/spool/imap
/var/imap/sieve

Run mkimap as user cyrus:

su cyrus
/usr/local/cyrus/bin/mkimap
exit

Add to /etc/syslog.conf

local6.debug                                    /var/log/imapd.log

Start cyrus:

/usr/local/etc/rc.d/imapd.sh start

Set the cyrus password:

passwd cyrus

Test the imap server. Enter the cyrus password when prompted:

su cyrus
imtest -m login -p imap localhost

Using cyradm to delete a user's boxes requires first granting cyrus all privs for that user's boxes

sam user.fcuell cyrus all

back to meta