Daniel Fischer wrote: > LDAP_HOMEDIR deliver a directory, there are not an absolute path. > >
LDAP_HOMEDIR will use the ldap attribute you set it to and append that to LDAP_MAILROOT > LDAP_MAILROOT, can use for a second query, to get the absolute > substring. but my absolute substring is not variable, and not in the > ldap server stored. > it is just a static string like '/home/vmail'. how can i set the options > to get the string result '/home/vmail/'$LDAP_HOMEDIR Wrong, LDAP_MAILROOT doesn't do any query, it simply is added to the front of whatever your LDAP_HOMEDIR attribute returns. In this way multiple servers that NFS mount your Maildirs at different locations can work with Courier. For example, say server1 has the Maildirs stored locally in /var/maildir/ and server2 NFS mounts them from server1 so that server2 has them in /mnt/server1/maildir/ server1 could have: LDAP_HOMEDIR homeDirectory LDAP_MAILROOT /var/maildir and server2 could have: LDAP_HOMEDIR homeDirectory LDAP_MAILROOT /mnt/server1/maildir and it would work beautifully. The user's homeDirectory attribute would of course need to contain the remainder of their personal maildir path, something like: example.com/joeschmo Jay ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Courier-imap mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
