April 28, 2005

[Installations] Cyrus on Solaris

I’ve got Cyrus IMAP running on Solaris now.

First, get the right Jumpstart configuration up so that you can get the build environment (and then don’t forget to add Sun’s C compiler). And also don’t forget to add Berkeley DB to the Jumpstart config for later…

Then, the following:

  • Install OpenLDAP 2.2.x: SASL and IMAP really want this, even though Solaris has it’s own LDAP libs. For some reason they won’t work right, at least at first blush.
  • Install Cyrus SASL. The configure arguments are “—enable-login —with-ldap=/usr/local —with-openssl=/usr/local/ssl —with-ipctype=doors”. Don’t forget to use crle to add /usr/ucblib to the shared lib search path.
  • Install Cyrus IMAP. The configure arguments are “—with-bdb=/usr/local/BerkeleyDB.3.3 —with-ldap=/usr/local —with-cyrus-user=cyrus —with-cyrus-group=cyrus —with-openssl=/usr/local/ssl —with-sasl=/usr/local”.
  • Create the config directory (/var/imap) and partition directory (/home/spool/imap), owned by the cyrus user and group, and with 0750 permissions.
  • In the IMAP build directory, run tools/mkimap as the cyrus user to populate the config and partition directories.
  • Start saslauthd and the IMAP constellation, and things ought to work.

Next up, making Sendmail 8.13.3 compile and run on Solaris instead of the native Sendmail.

Posted by Rowan Littell at April 28, 2005 03:37 PM