postfix ldap dovecot

postfix ldap dovecot

ID:40948507

大小:44.93 KB

页数:3页

时间:2019-08-11

postfix ldap dovecot_第1页
postfix ldap dovecot_第2页
postfix ldap dovecot_第3页
资源描述:

《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

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。