|
|
38f2261 |
---------------
|
|
|
38f2261 |
Cyrus IMAPd RPM
|
|
|
38f2261 |
---------------
|
|
|
38f2261 |
|
|
|
38f2261 |
This is a _very_ 'quick and dirty' install howto.
|
|
|
38f2261 |
|
|
|
38f2261 |
The following steps should lead you to a running Cyrus IMAP server:
|
|
|
38f2261 |
|
|
|
38f2261 |
1) Install on a distribution which is supported by this RPM. Don't install
|
|
|
9e566a4 |
on a dirty system, where you have previously installed from source.
|
|
|
38f2261 |
2) Don't install if you have a previous Cyrus IMAPd installation <=2.1.x on
|
|
|
38f2261 |
your box. Upgrading any Invoca rpm based installation should be fine.
|
|
|
38f2261 |
3) Make sure you understand that this RPM installs in FHS compliant
|
|
|
38f2261 |
directories, like /var/lib/imap and /var/spool/imap
|
|
|
38f2261 |
4) Make sure cyrus-sasl 2.x is installed.
|
|
|
38f2261 |
5) Make sure saslauthd is running. If not, edit /etc/sysconfig/saslauthd as
|
|
|
38f2261 |
needed and do 'chkconfig saslauthd on ; service saslauthd start'
|
|
|
38f2261 |
6) Install the cyrus-imapd RPMs.
|
|
|
38f2261 |
7) If it's your first install of Cyrus IMAPd, then set a password for the
|
|
|
9e566a4 |
cyrus user in whatever database you are using to authenticate. When
|
|
|
9e566a4 |
using a local account, this should be 'passwd cyrus'.
|
|
|
38f2261 |
8) Make sure your MTA delivers to Cyrus IMAPd, I recommend LMTP for this.
|
|
|
38f2261 |
9) Start Cyrus IMAPd with 'service cyrus-imapd start'
|
|
|
38f2261 |
10) Run cyradm and create a user. Usually it's something like this:
|
|
|
38f2261 |
'cyradm --user=cyrus --auth=login localhost'
|
|
|
38f2261 |
11) If you're using sendmail, be aware that cyrusv2.m4 included in standard
|
|
|
38f2261 |
sendmail distribution uses socket /var/imap/socket/lmtp while this rpm
|
|
|
38f2261 |
uses /var/lib/imap/socket/lmtp.
|
|
|
38f2261 |
12) Check your syslog configuration. This RPM uses the mail facility to log
|
|
|
38f2261 |
messages. On busy sites you may want to limit the mail facility to the
|
|
|
38f2261 |
info priority with something like 'mail.info /var/log/maillog' in
|
|
|
38f2261 |
/etc/syslog.conf.
|
|
|
38f2261 |
|
|
|
38f2261 |
Enjoy!
|