There's no particular documentation for these settings that I can find 
*anywhere* except in the config file itself, in which case I have: 

# The HOMEDIR attribute MUST exist, and we MUST be able to chdir to it

# If homeDirectory is not an absolute path, define the root of the
# relative paths in LDAP_MAILROOT

# The MAILDIR attribute is OPTIONAL, and specifies the location of the
# mail directory.  If not specified, ./Maildir will be used

I've been assuming that this is where the problem is, and I've played with / 
tweaked these values extensively.  

Can you point me to some documentation that might explain this in more 
detail? I need to know, given the file path below, what would I be putting in 
these values, and where do I map the file path elements to the LDAP fields 
ldap::mailMessageStore and ldap::cn ? 

-Ben 

<-- SNIP -->

> You misunderstood the purpose of the configuration settings in authldaprc.
> Reread the description of each setting, specifically LDAP_HOMEDIR and
> LDAP_MAILDIR, again.

> > The actual email is stored in directory:
> > /var/qmail/maildirs/{ldap::mailMessageStore}/{ldap::cn}/Maildir/...

> Settings in authldaprc: 
> LDAP_SERVER             127.0.0.1
> LDAP_PORT               389
> LDAP_BASEDN             ou=accounts,dc=mycompany,dc=com
> LDAP_BINDDN             cn=root,dc=mycompany,dc=com
> LDAP_BINDPW             mysecret
> LDAP_TIMEOUT  20
> LDAP_MAIL               mail
> LDAP_FILTER     (ou=accounts)
> LDAP_GLOB_UID           vmail
> LDAP_GLOB_GID           vmail
> LDAP_HOMEDIR            /var/qmail/maildirs/.
> LDAP_MAILDIR            ./Maildir
> LDAP_CLEARPW            userPassword
> LDAP_DEREF              never
> LDAP_TLS                0
> LDAP_EMAILMAP_ATTRIBUTE cn 

Reply via email to