Difference between revisions of "Cyrus"

From Wikifications
Jump to: navigation, search
(initial rev from backup)
 
m (formating)
 
Line 15: Line 15:
  
 
Add to /etc/rc.conf:
 
Add to /etc/rc.conf:
  cyrus_imapd_enable3D"YES"
+
  cyrus_imapd_enable="YES"
  
 
Change in /etc/services:
 
Change in /etc/services:

Latest revision as of 18:16, 16 April 2005

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