LDAP MAILSTORE
From Qmail-LDAP Wiki
Path to the maildir/mbox on the mail system is extracted from those fields.
- If LDAP_HOMEDIR is found this field is used as $HOME, using aliasempty or mailMessagestore if defined as default delivery method.
- If only LDAP_MAILSTORE is defined this will be used as $HOME and aliasempty as default delivery method.
- If neither LDAP_MAILSTORE nor LDAP_HOMEDIR is defined, ~alias (qmails alias user homedir) will be used as $HOME and ALIASDEVNULL (defined in qmail-ldap.h) as default delivery method. Also the delivery mode is set to ldap only and forward only (LDAP_DOTMODE and LDAP_MODE).
Default LDAP attribute name:
mailMessageStore
Example:
mailMessageStore: /home/jdoe/ mailMessageStore: jdoe/
Notes:
- LDAP_MAILSTORE can be written relative in a virtual users environment ldapmailstore will be prefixed to make the path absolute.
- For more info have a look at the QLDAPNEWS file.
- If you use "homeDirectory" in an incompatible way then redefine it in qldap-ldap.h to something not used, like "noHomeDirectory".
