[EMAIL PROTECTED] wrote:
> Just wondering if theres a cyrus-redhat howto anywhere?
>
Not to my knowledge (for recent Cyrus). Here's what I do to install IMAPd on
RH 7.1:
Berkeley DB
-----------
# RH7.1 comes with db3/db3-devel RPMs that work fine.
# Install manually if you like after removing
# db3 RPMS
cd build_unix
../dist/configure
make
make install
cp /usr/local/BerkeleyDB.3.2/include/* /usr/include
cp /usr/local/BerkeleyDB.3.2/lib/* /usr/lib
SASL
----
make clean
rm -f config.cache
./configure --disable-krb4 --disable-gssapi --disable-cram
--disable-digest --with-dblib=berkeley
make
make install
rm -f /etc/sasldb
utils/saslpasswd admin
# Select admin password when prompted
# Do this even if not using sasldb
IMAP
----
# Remove any IMAP RPMs currently installed
# Check with:
# rpm -qa | grep imap
# Kill any IMAP processes running,
# and remove from inetd/xinetd
useradd cyrus -d /usr/cyrus -G mail -s /no/shell
make clean
rm -f config.cache
./configure --with-auth=unix --without-krb \
--with-perl=/usr/bin/perl
# Add if Berkeley is in non-standard place
# --with-db-dir=/usr/local/Berkeley-xx
make depend
make all CFLAGS=-O2
make install
cp master/conf/normal.conf /etc/cyrus.conf
pushd /var
mkdir imap
chown cyrus imap
chgrp mail imap
chmod 750 imap
mkdir pwcheck
chown cyrus pwcheck
chgrp nobody pwcheck
cd /var/spool
mkdir imap
chown cyrus imap
chgrp mail imap
chmod 750 imap
cd /usr
mkdir sieve
chown cyrus sieve
chown mail sieve
chmod 750 sieve
popd
chown cyrus:mail /etc/imapd.conf
su cyrus
tools/mkimap
exit
cd /var/imap
chattr +S . user quota user/* quota/*
chattr +S /var/spool/imap
chattr +S /var/spool/mqueue
/usr/cyrus/bin/master &
cyradm localhost -u admin
# Add your mailboxes here...