Perdition IMAP PROXY Integration Howto
From Kolab Wiki
This howto is very incomplete.
This howto will explain how to build and install perdition imap proxy in a kolab environment following the concept of full separation from the operating environment.
Must be take into account that, because Cyrus IMAP bind to the same ports (143,993) of perdition, some minor modification must be done.
Cyrus IMAP will listen only on 127.0.0.1 and this will allow the kolab environment (along with all kolabd backend activities of creating/deleting/changing permissions on mailboxes) to work with Perdition that will listen only on the externals interfaces.
Perdition depends on the following components: - vanessa logger - vanessa adt - vanessa socket
Load kolab environment:
eval `/kolab/bin/openpkg rc --eval all env`
Compiling and installing vanessa logger require a little fix in vanessa_logger.c:
cd /kolab/RPM/SRC wget http://www.vergenet.net/linux/perdition/download/1.17/vanessa_logger-0.0.6.tar.gz tar zxvf vanessa_logger-0.0.6.tar.gz cd vanessa_logger-0.0.6 ./configure --prefix=/kolab vim libvanessa_logger/vanessa_logger.c
change the line
"loop: "
to
"loop: {}"
make make install cd ..
wget http://www.vergenet.net/linux/perdition/download/1.17/vanessa_adt-0.0.7.tar.gz tar zxvf vanessa_adt-0.0.7.tar.gz cd vanessa_adt-0.0.7/ ./configure --prefix=/kolab --includedir=/kolab/include make make install cd ..
wget http://www.vergenet.net/linux/perdition/download/1.17/vanessa_socket-0.0.7.tar.gz tar zxvf vanessa_socket-0.0.7.tar.gz cd vanessa_socket-0.0.7 ./configure --prefix=/kolab --includedir=/kolab/include make
make install
wget http://www.vergenet.net/linux/perdition/download/1.17/perdition-1.17.tar.gz tar zxvf perdition-1.17.tar.gz cd perdition-1.17/
Fix a bugs regarding ldap with ssl: https://www.drive.ne.jp/iMA/showmail.pl?FreeBSD-users-jp=73784 Modify the configure LDAPURLDesc test to return 0. The library is working fine, only the configure is broken.
vim configure Export those LIBS, otherwise the autodetection will fail.
export LIBS=/kolab/lib/libldap.a /kolab/lib/liblber.a /kolab/lib/libssl.a /kolab/lib/libcrypto.a
