=====Notes on installing cyrus 22 on Solaris 10======
Now I have my server, I'm migrating most of my services (mail, web, dns
for a dozen domains). I build cyrus22 and its dependencies via the pkgsrc system (using GCC compiler ((I know
SunStudio 11 is free, the only time I try to use it for pkgsrc, I have lot of difficulties
to build some //GNU portable (!) applications//)) - which comes from NetBSD. Since I had
some difficulties, I note my hack here :
====cyrus-authd====
* The Solaris's md5.h doesn't include a structure definition used by cyrus sasl. Though,
the upstream comes with its own header. Edit the file md5.c to have the following includes :
#ifdef __APPLE__
#include
#else
#include "saslauthd_md5.h"
#endif
#include "hmac-md5.h"
* To be zone aware, I replace (in pkgsrc's Makefile) the sysconfdir((Though, the
saslauthd.conf file configuration is only used for the ldap backend)) :
CONFIGURE_ARGS+= --sysconfdir=/etc/cyrus
* Create the /var/run/saslauthd directory
====Links====
* [[http://asg.web.cmu.edu/cyrus/download/imapd/install.html|Official howto]]