Hello all

I have searched the web for a few days, but in spite of the fact that a lot
of people seem to have had this problem, I still haven't found the solution

I am setting up a mail system with postfix as smtp server and courier as pop
server
I also want to store all the users' data in an ldap directory
For the smtp side it's ok, and for the pop side (so, courier-pop3d), I can
authenticate from my pop client,
so the ldap entry is well retrieved, and the LDAP authentication works well,
but then I got the error : "Maildir: No such file or directory"

On my filesystem, all the mails are stored in the directory /data/mail
in this directory there are a directory for each user
and in its directory a user has a "Maildir" directory :
/data/mail
|
|--francois/Maildir/
|
|--estelle/Maildir/
|
...

My ldap tree looks like :

dc=beretti,dc=org
|
|--ou=users
    |
    |--cn=francois
          [EMAIL PROTECTED]
          mailMessageStore=francois/
          ...

finally, my authldaprc file is :

LDAP_SERVER             ldap.beretti.org
LDAP_PORT               389
LDAP_BASEDN             dc=beretti,dc=org
LDAP_BINDDN             cn=postman,ou=admins,dc=beretti,dc=org
LDAP_BINDPW             secret
LDAP_TIMEOUT            15
LDAP_AUTHBIND           1
LDAP_MAIL               mail
LDAP_FILTER             (objectClass=inetOrgPerson)
LDAP_DOMAIN             beretti.org
LDAP_GLOB_UID           5000
LDAP_GLOB_GID           postfix
LDAP_HOMEDIR            mailMessageStore
LDAP_MAILROOT           /data/mail/
# If not specified, ./Maildir will be used
#LDAP_MAILDIR           mailMessageStore
# DEFAULTDELIVERY from ${sysconfdir}/courierd
LDAP_DEFAULTDELIVERY    defaultDelivery
# LDAP_MAILDIRQUOTA     quota
LDAP_FULLNAME           cn
#LDAP_CLEARPW           clearPassword
LDAP_CRYPTPW            userPassword
# LDAP_UID              uidNumber
# LDAP_GID              gidNumber
LDAP_DEREF              never
LDAP_TLS                0

according to the authldaprc, courier should look at
LDAP_MAILROOT/LDAP_HOMEDIR/Maildir
and this should be /data/mail/francois/Maildir when I log on as francois

But there surely is an error somewhere...

thanks a lot

Francois



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to