Dear Jamrock,
This is what I'm looking for. Thanks alot.
I'll follow these steps and I wish I'll end up to a successful completion. Before implementing the above steps, i want to ask few more questions ...
1) Whether I need to create this file? what will be the content of this file ?
virtual_mailbox_maps = ldap:/etc/postfix/ldap_mailboxes.cf
virtual_maps = ldap:/etc/postfix/ldap_users.cf, ldap:/etc/postfix/ldap_groups.cf
2) whether I need to enable PAM authentication for this or the above procedure will be work without PAM auth (using
system-config-authentication) ?
3) Will the above procedure will work for MBOX format also as my server has MBOX format (stores mails in /var/spool/mail) ?
4) Is there any change need to be made in dovecot.conf?
5) Below are some users' ldif entries which i always refer to upload new users in LDAP DIT (it was created by previous IT admin in our organization). I've basic knowledge of LDAP, so i can't understand that whether there anything missing or needed to add/modify below entries to work with MBOX format.
dn: o=XYZ Ind,c=IN
o: XYZ Ind
objectClass: top
objectClass: organization
objectClass: domainRelatedObject
associatedDomain: xyz.ac.in
structuralObjectClass: organization
entryUUID: 57e16ffc-f033-102c-8761-a528f648fead
creatorsName: cn=root,o=XYZ Ind,c=IN
createTimestamp: 20080727142335Z
entryCSN: 20080727142335Z#000001#00#000000
modifiersName: cn=root,o=XYZ Ind,c=IN
modifyTimestamp: 20080727142335Z
subschemaSubentry: cn=Subschema
hasSubordinates: TRUE
dn: ou=people,o=XYZ Ind,c=IN
associatedDomain: xyz.ac.in
ou: 20
ou: people
objectClass: top
objectClass: organizationalUnit
objectClass: domainRelatedObject
structuralObjectClass: organizationalUnit
entryUUID: 2fef74a6-f035-102c-9aab-f5f999862fa6
creatorsName: cn=root,o=XYZ Ind,c=IN
createTimestamp: 20080727143647Z
entryCSN: 20080727143647Z#000001#00#000000
modifiersName: cn=root,o=XYZ Ind,c=IN
modifyTimestamp: 20080727143647Z
subschemaSubentry: cn=Subschema
hasSubordinates: TRUE
dn: cn=balthakre,ou=people,o=XYZ Ind,c=IN
objectClass: top
objectClass: posixGroup
cn: balthakre
gidNumber: 501
structuralObjectClass: posixGroup
entryUUID: 152181bc-06cb-102d-8814-e72fb706f553
creatorsName: cn=root,o=XYZ Ind,c=IN
createTimestamp: 20080825082512Z
entryCSN: 20090404051641Z#000001#00#000000
modifiersName: cn=root,o=XYZ Ind,c=IN
modifyTimestamp: 20090404051641Z
subschemaSubentry: cn=Subschema
hasSubordinates: FALSE
dn: uid=sachin.econ,ou=people,o=XYZ Ind,c=IN
givenName: Sachin
objectClass: mailRecipient
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
objectClass: davvUser
email-access: yes
registration: yes
shadowLastChange: 11718
userPassword: {crypt}$1$jIrLef2v$5hQxM4KUzV9UAziTUz1N3/
net-access: yes
uid: sachin.econ
mail:
sachin.econ@xyz.ac.in
uidNumber: 530
cn: Sachin Choudhary
loginShell: /bin/bash
gidNumber: 2002
shadowMax: 99999
gecos: Sachin Choudhary
homeDirectory: /home/sachin.econ
sn: Choudhary
mailForwardingAddress:
sachin.econ@mail.xyz.ac.in
structuralObjectClass: inetOrgPerson
entryUUID: 3a82b9c8-f035-102c-9aec-f5f999862fa6
creatorsName: cn=root,o=XYZ Ind,c=IN
createTimestamp: 20080727143705Z
entryCSN: 20080727143705Z#000003#00#000000
modifiersName: cn=root,o=XYZ Ind,c=IN
modifyTimestamp: 20080727143705Z
subschemaSubentry: cn=Subschema
hasSubordinates: FALSE
Regards
Arunabh