Daniel Fischer schrieb: > 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 > >
LDAP_HOMEDIR mailbox LDAP_MAILROOT /home/vmail ##NAME: LDAP_MAILDIR:0 # # The MAILDIR attribute is OPTIONAL, and specifies the location of the # mail directory. If not specified, ./Maildir will be used LDAP_MAILDIR mailbox Authenticated: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/home/vmail/#####.###/danfis/, [EMAIL PROTECTED], fullname=Fischer Daniel, maildir=#####.###/danfis/, quota=<null>, options=<null> Authenticated: clearpasswd=passw, passwd=<null> imapd: chdir #####.##/danfis/: No such file or directory if LDAP_MAILDIR commment (#LDAP_MAILDIR mailbox) the result is like this: Jun 4 15:30:11 mail authdaemond: Authenticated: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/home/vmail/#####.###/danfis/, [EMAIL PROTECTED], fullname=Fischer Daniel, maildir=<null>, quota=<null>, options=<null> Jun 4 15:30:11 mail authdaemond: Authenticated: clearpasswd=passwd, passwd=<null> Jun 4 15:30:11 mail imapd: chdir Maildir: No such file or directory i implicate that the attribute LDAP_MAILDIR is using by courier-imapd to get the user maildir to deliver that. is that right? it is right, starts my problem again. how can i manipulate the LDAP_MAILDIR attribute to append there at LDAP_MAILROOT? i had intended that i can use the MAILDIRPATH parameter in the /etc/courier/imap file, but it brings no succcess. thanks for comment 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
