Postfix Cyrus Web cyradm HOWTO
cd saslauthd
make testsaslauthd
cp testsaslauthd /usr/local/bin
echo /usr/local/lib/sasl2 >> /etc/ld.so.conf
ldconfig
The SASL library is installed in
/usr/local/lib/sasl2
but some programs are
expecting SASL in
/usr/lib/sasl2
. So it is a good idea to create a symbolic
link:
ln s /usr/local/lib/sasl2 /usr/lib/sasl2
.
3.4.4. Building Cyrus IMAP
tar xvzf cyrus imapd 2.2.3.tar.gz
cd cyrus imapd 2.2.3
export CPPFLAGS=" I/usr/include/et"
./configure \
with sasl=/usr/local/lib \
with perl \
with auth=unix \
with dbdir=/usr/local/bdb \
with bdb libdir=/usr/local/bdb/lib \
with bdb incdir=/usr/local/bdb/include \
with openssl=/usr/local/ssl \
without ucdsnmp \
make depend
make
make install
3.4.5. Automatic startup script
If you wish to start the Cyrus IMAP daemon automatically after booting, you need a
startup script. Place the following script in
/etc/init.d/
. For Redhat, it is
/etc/rc.d/init.d
instead of
/etc/init.d/
.
#!/bin/bash
#
# Cyrus startup script
case "$1" in
start)
# Starting SASL saslauthdaemon
14
MySQL Web Hosting Postfix-Cyrus-Web-cyradm MySQL Hosting
|
|
|
|
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved. |