Jay H. Lee schrieb:
> 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
thanks for you´re help. my first suggest was, to use the LDAP_MAILROOT 
parameter. it does not work, there are the solution to write my first mail.
now i have found the error. the line from the LDAP_MAILROOT paramater, 
was leaded by a space. that is, why the parameter are ignored. i think, 
the corrier parser must be refactored. ;-)

thanks for help.

daniel

-------------------------------------------------------------------------
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

Reply via email to