This documentation is for Dovecot v1.x, see wiki2 for v2.x documentation.

qmail-ldap and deliver

#define RESTRICT_PROG 0

Then in the qmail source directory:

make clean
make setup check

The ldapdefaultdotmode control file needs to be edited to use the ldapwithprog mode:

echo 'ldapwithprog'>/var/qmail/control/ldapdefaultdotmode

The following LDAP attributes need to be added or replaced as:

deliverymode: nolocal
deliveryprogrampath: /usr/lib/dovecot/deliver -a $RECIPIENT -f $SENDER -d $USER

None: HowTo/qmailldap (last edited 2010-12-06 13:10:44 by MohitChawla)