Table of Contents

Cyrus IMAP

for Slackware 11

cyrus-sasl

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

compiling

./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: FIXME (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

Installing

install the tgz file

configuration

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:

cyradm

cpan install IMAP::Admin
cd /your/Cyrus/source/path
cd perl
make
make install
    install Bundle::CPAN
    reload cpan