分布式的Qmail邮件系统(2)

四. LDAP和qmail的安装

  关于LDAP和qmail的安装,在这里,我给出我的LDAP的ldif文件:


  dn: dc=i100, dc=com, dc=cn
  objectclass: top
  objectclass: orgnization


  dn: cn=Manager, dc=i100, dc=com, dc=cn
  uid: Manager
  objectclass: qmailUser
  mail: johnnys@cn.solution100.com


  dn: cn=johnny, dc=i100, dc=com, dc=cn
  cn: johnny
  sn: johnny
  objectclass: top
  objectclass: person
  objectclass: inetOrgPerson
  objectclass: qmailUser
  mail: johnny@i100.com.cn
  mailhost: omni1.i100.com.cn
  mailalternateaddress: johnnys@i100.com.cn
  mailmessagestore: /data/vuser/johnny/
  mailquota: 51200
  uid: johnny
  userpassword: hSAMdaZcsdAOI


  dn: cn=jacky, dc=i100, dc=com, dc=cn
  cn: jacky
  sn: jacky
  objectclass: top
  objectclass: person
  objectclass: inetOrgPerson
  objectclass: qmailUser
  mail: jacky@i100.com.cn
  mailhost: cocoon.i100.com.cn
  mailalternateaddress: jacky@i100.com.cn
  mailmessagestore: /data/vuser/jacky/
  mailquota: 51200
  uid: jacky
  userpassword: hSAMdaZcsdAOI


  dn: cn=denny, dc=i100, dc=com, dc=cn
  cn: denny
  sn: denny
  objectclass: top
  objectclass: person
  objectclass: inetOrgPerson
  objectclass: qmailUser
  mail: denny@i100.com.cn
  mailhost: gw2.i100.com.cn
  mailalternateaddress: denny@i100.com.cn
  mailmessagestore: /var/qmail/vuser/denny/
  mailquota: 51200
  uid: denny
  userpassword: hSAMdaZcsdAOI