Hi,

I use Postfix + Courier. With postfix and LDAP I put the message into
/var/spool/mail/moimeme/ in a maildir format. Postfix put the new message in
the directory /var/spool/mail/moimeme/new. About Courier, I authenticate
with LDAP without problem but Courier can't access to  the directory where
mail are but I don't know which directory.

Gael


----------------/var/log/maillog-----------------
imapd: Connection, ip=[::ffff:212.147.0.100]
imapd: chdir: No such file or directory


---------------authldaprc (Courier)--------------
LDAP_SERVER             ldap.vtx.ch
LDAP_PORT               289
LDAP_BASEDN             o=VTX Services, c=CH
LDAP_BINDDN             uid=admin, o=VTX Services, c=CH
LDAP_BINDPW             xxxxxxx
LDAP_TIMEOUT            5
LDAP_AUTHBIND           1
LDAP_MAIL               uid
LDAP_GLOB_UID           courier
LDAP_GLOB_GID           courier
LDAP_HOMEDIR                    mailmessagestore
LDAP_FULLNAME           cn
LDAP_CLEARPW            userPassword
LDAP_DEREF              never
LDAP_TLS                0


-----------------main.cf (Postfix)----------------
myorigin = $mydomain
mydestination = hash:/etc/postfix/mydomain
inet_interfaces = $myhostname
mynetwork_style = host

virtual_mailbox_maps = ldap:nscpmail

nscpmail_server_host = ldap.vtx.ch
nscpmail_server_port = 289
nscpmail_search_base = o=VTX Services,c=CH
nscpmail_query_filter =
(&(|(mail=%s)(mailalternateaddress=%s))(|(objectclass=mailRecipient)(objectc
lass=mailgroup)))
nscpmail_result_attribute = mailmessagestore
nscpmail_bind = no
nscpmail_ldap_cache = no
nscpmail_scope = one

virtual_mailbox_base = /
local_transport = virtual
virtual_uid_maps = static:503
virtual_gid_maps = static:12

home_mailbox = Maildir/

default_privs = nobody


---------------------ldap sheme-------------------
dn: uid=moimeme,o=VTX Services,c=CH
givenname: Olivier
sn: Moimeme
cn: Olivier Moimeme
uid: moimeme
creatorsname: uid=olivier,o=VTX Services,c=CH
nslicensedfor: mail
maildeliveryoption: mailbox
mail: [EMAIL PROTECTED]
mailhost: pop-test.vtx.ch
mailmessagestore: /var/spool/mail/moimeme/



|-----Message d'origine-----
|De : Clay Dowling [mailto:[EMAIL PROTECTED]]
|Envoy� : mercredi, 12. juin 2002 12:14
|� : [EMAIL PROTECTED]
|Cc : [EMAIL PROTECTED]
|Objet : RE: [courier-users] Re: directory problems
|
|
|Ga�l,
|
|Modify /etc/procmailrc to create a log file in the user's home directory,
|and turn verbose logging on.  Courier and procmail do get along well
|together, but I did find configuring procmail for maildir format to be a
|little troublesome.  Give me some details about your MTA and user
|authentication setup.  Chances are very good that's where your problem is.
|Clay Dowling


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to