Brian Candler schrieb:
> On Wed, Jun 06, 2007 at 06:59:59PM +0200, Daniel Fischer wrote:
>   
>> i have a problem with my authldap configuration.
>>
>> at my ldap mailbox attributes is stored a string like domain/user/. to 
>> use the courier-imapd i must use the maildir parameter in the 
>> authldaprc, because the homedir param is ignored.
>>     
>
> What makes you think it's "ignored"? If you think there is a problem, then
> demonstrate it.
>
>   
>> the LDAP_MAILROOT can use to set a absolute path for the  LDAP_HOMEDIR.  
>> that i understand, but why ignore LDAP_MAILDIR the LDAP_MAILROOT param?
>>
>> 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
>>     
>
> That's correct. On the account you've set
>
> homedir=/home/vmail/#####.###/danfis/
> maildir=#####.###/danfis/
>
> To locate a maildir, courier does a chdir(homedir) followed by
> chdir(maildir). In this case the maildir is a relative path. So you've told
> it to try /home/vmail/#####.###/danfis/#####.###/danfis/
>
> The solution is to choose one or the other. That is, you can set maildir to
> ".", or you can set homedir to "/home/vmail". Or, you can point both homedir
> and maildir to the same LDAP attribute, which contains the full absolute
> path.
>
> I think you should also be able to leave maildir completely unset, and then
> set MAILDIRPATH="." in pop3d, imapd and sqwebmaild config files.
>
> I've never used LDAP_MAILROOT, but I believe it's a prefix for the homedir
> only. That is, courier does chdir(LDAP_MAILROOT/homedir) followed by
> chdir(maildir)
>
> Brian.
>   
hello brian,

thank you for your friendly and usefull help.
your information was very helpfull, the imapdaemon runs like i intended.
i forgot to set the "." in the imapd.

have a nice weekend
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