欢迎来到天天文库
浏览记录
ID:40948507
大小:44.93 KB
页数:3页
时间:2019-08-11
《postfix ldap dovecot》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、File:/root/Desktop/postfix+ldap+dovecotPage1of3首先搭建ldapyuminstallopenldap-serversopenldap-clients-ycd/etc/openldap/rm-rfslapd.d首先删除要不以后配置的时候可能会有报错cp-pslapd.conf.bakslapd.confvislapd.conf```````````````````````````````````````````````````````include/etc/openldap/schema/extmail.schemadatab
2、asebdbsuffix"dc=westos.org"checkpoint102415rootdn"cn=Manager,dc=westos.org"rootpwwestos密码accessto*bydn.exact="cn=Manager,dc=westos.org"readby*none```````````````````````````````````````````````````````yuminstallmigrationtools-ycd/usr/share/migrationtools/vimigrate_common.ph`````````````
3、`````````````````$DEFAULT_MAIL_DOMAIN="westos.org";$DEFAULT_BASE="dc=westos.org";````````````````````````````````````yuminstallhttpd-ymkdir/var/www/extsuitetarzxfextmail-1.1.0.tar.gz-C/var/www/extsuite/tarzxfextman-1.1.tar.gz-C/var/www/extsuite/cd/var/www/extsuitemvextmail-1.1.0/extmail
4、mvextman-1.1/extmancd/var/www/extsuite/extman/docs/cpextmail.schema/etc/openldap/schema/viinit.ldif将里面的extmail.org替换为westos.org使用%s/extmail.org/westos.org/g(这一步在编辑模式下)`````````````````````````````````````````````````````````````````````````````````````````````````cd/usr/share/doc/openld
5、ap-servers-2.4.19/cpDB_CONFIG.example/var/lib/ldap/DB_CONFIGchownldap.ldap/var/lib/ldap/DB_CONFIG`````````````````````````````````````````````````````````````````````````````````````````````````/etc/init.d/slapdstart启动的时候会报错这时候修改/etc/openldap/schema/extmail.schema即可这是因为extman的版本太低将数据加入l
6、dapadd-W-x-D"cn=manager,dc=westos.org"-finit.ldif剩下的就是postfix的配置了cd/var/www/extsuite/extman/docs/cpldap_virtual_alias_maps.cfldap_virtual_domains_maps.cfldap_virtual_mailbox_maps.cf/etc/postfix/useradd-u600-s/sbin/nologindomainspostconf-evirtual_alias_maps=ldap:/etc/postfix/ldap_virtual
7、_alias_maps.cfpostconf-evirtual_gid_maps=static:600postconf-evirtual_uid_maps=static:600File:/root/Desktop/postfix+ldap+dovecotPage2of3postconf-evirtual_mailbox_base=/home/domains/postconf-evirtual_mailbox_domains=ldap:/etc/postfix/ldap_virtual_domains_maps.cfpostconf-evirtual_m
此文档下载收益归作者所有