for Slackware 11
cyrus-sasl needs to be recompiled:
./configure --prefix=/usr \ --localstatedir=/var \ --sysconfdir=/etc \ --enable-static \ --enable-shared \ --enable-gssapi \ --disable-krb4 \ --enable-login \ --with-dbpath=/etc/sasldb2 \ --with-dblib=berkeley \ --with-bdb-libdir=/lib \ --with-bdb-incdir=/usr/include/db4
./configure --prefix=/usr \ --localstatedir=/var \ --sysconfdir=/etc \ --enable-static \ --enable-shared \ --enable-gssapi \ --disable-krb4 \ --enable-login \ --with-bdb-incdir=/usr/include/db4
./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --enable-netscapehack --enable-listext \ --with-idle=idled --disable-murder --enable-nntp --without-snmp --with-auth=unix \ --with-bdb-incdir=/usr/include/db44 --with-syslogfacility=MAIL \ --with-libd=/usr/lib
./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --enable-netscapehack --enable-listext \ --with-idle=idled --disable-murder --enable-nntp --without-snmp \ --with-cyrus-prefix=/usr/lib/cyrus-imapd \ --with-service-path=/usr/lib/cyrus-imapd --with-auth=unix \ --with-bdb-incdir=/usr/include/db44 --with-syslogfacility=MAIL \ --with-libd=/usr/lib
I had to edit a few files in cyrus-src/sieve: (might not be needed - wasn't on bender.cuit)
for i in Makefile Makefile.in test.c do sed -i 's/imap\/message.o/sieve\/message.o/g' $i done
and line 38 of sieve/sieve_err.c needs to be commented out
/* initialize_siev_error_table_r(&_et_list); */
make
checkinstall
install the tgz file
http://cyrusimap.web.cmu.edu/imapd/install-configure.html
we need to add the user cyrus and group sieve
adduser cyrus vi /etc/group and add sieve
we need to configure:
configdirectory: /var/imap partition-default: /var/spool/imap admins: curtj abell sasl_pwcheck_method: saslauthd
cd /var mkdir imap chown cyrus imap chgrp mail imap chmod 750 imap
cd /var/spool mkdir imap chown cyrus imap chgrp mail imap chmod 750 imap
cd /usr mkdir sieve chown cyrus sieve chgrp mail sieve chmod 750 sieve
su cyrus tools/mkimap exit
openssl req -new -x509 -nodes -out /var/imap/server.pem -keyout /var/imap/server.pem -days 365
and make sure it is readable by the cyrus user
pop3 110/tcp nntp 119/tcp imap 143/tcp imsp 406/tcp nntps 563/tcp acap 674/tcp imaps 993/tcp pop3s 995/tcp kpop 1109/tcp sieve 2000/tcp lmtp 2003/tcp fud 4201/udp
cpan install IMAP::Admin cd /your/Cyrus/source/path cd perl make make install
install Bundle::CPAN reload cpan