Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
qmail-ldap [2016/04/16 19:40] ian |
qmail-ldap [2020/02/13 22:55] (current) |
</code> | </code> |
From <tt>/var/qmail/control</tt>, run: <tt>make</tt> | From <tt>/var/qmail/control</tt>, run: <tt>make</tt> |
| |
| |
Install phpQLAdmin. Make the necessary configuration changes to the config.inc file, including the following:</li></ul></list> | |
<code> | |
define('PQL_HOSTMASTER','[email protected]'); | |
| |
define('PQL_LDAP_BASEDN','ou=qmail, dc=mrzesty, dc=net'); | |
define('PQL_LDAP_ROOTDN', 'cn=manager, dc=mrzesty, dc=net'); | |
define('PQL_LDAP_ROOTPW', 'your-manager-password'); | |
| |
define('PQL_LDAP_CONTROL_USE', false); | |
</code> | |
Your PHP must have compiled in ldap support ( <tt>--with-ldap</tt> )! I would also suggest using --with-mhash in your PHP configure, and setting MD5 in define('PQL_PW_HASH','MD5'); so that passwords longer than 8 characters are recognized (and not just truncated to 8 characters). | |
| |
<list><ul><li>If you're using ReiserFS partitions, you may want to optimze the performance of the partition containing your /var/qmail/queue directory.</li></ul></list> | <list><ul><li>If you're using ReiserFS partitions, you may want to optimze the performance of the partition containing your /var/qmail/queue directory.</li></ul></list> |