[courier-users] courier mta delivery instruction process and ldap entries needed
Brought to you by:
mrsam
|
From: <di...@uc...> - 2001-05-23 23:50:14
|
hi i was just recently reading the courier-mta man pages and I have a question about how the mta routes delivery to local mailboxes... My configuration setup is: rh 7.0 i'm using a userdb database which holds information on user accounts: i.e. passwords, location of Maildir directory, etc. my Maildir files are stored in the following convention /home/mailadmin/domain/mydomain/user1 /home/mailadmin/domain/mydomain/dino /home/mailadmin/domain/mydomain/dinob etc... my authmodulelist has: authuserdb i assume by default courier mta will look up the userdb in /etc/courier/userdb.dat what variable holds where courier looks up the userdb.dat file? is that in authuserdb? next question: if courier mta is authenticating from my authuserdb then for the delivery policy i assume it checks against the userdb database to see if the user exists. If the user does not exist then it will not be able to delivery the message and sends the message back? follow up question: according to the man pages there is a .courier file which can control how messages are delivered to a specified account. does the userdb override this control file? Currently I have no .courier file in /home/mailadmin, if I added the .courier file then will it override the userdb file? Or perhaps I'm not understanding this as clearly and the .courier file and the userdb entries are not related? next question: in my /etc/courier/courierd file i have DEFAULTDELIVERY=./Maildir however this entry has no meaning since all of my mail is delivered according to the parameters specified in my userdb db... is this the DEFAULTDELIVERY location if no entries match in the userdb file? if I specified DEFAULTDELIVERY="| /usr/lib/courier/bin/maildrop" will courier-mta not use the entry of my maildir in my userdb. and I will have to instead configure maildrop where to deliver my mail after it filters through them? basically i'd like to know how the DEFAULTDELIVERY= variable modifies the delivery process if I'm using a userdb for my authentication. next.. now If I want to use LDAP 1.2.11 to authenticate against what structure do I need in LDAP for the authentication schems to work? will I need to create DN: cn=dino,cn=com DN: ou=people,cn=dino,cn=com and then all the entries will go underneath here i.e. username: home: systempw maildir: what if the ldap server is located on another computer where can i change authldap to authenticate against that ldap server? do i need to do it in sasl? will authldap use ssl when authenticating against ldap? Thanks again in advance. I hope an answer to some of these questions will give me a better insight on how courier works. |