企业邮件服务器中OpenLDAP与Postfix的配置指南
1. OpenLDAP的安装与配置
如果你系统中没有OpenLDAP,可以从软件包中获取版本号高于2.1.27或2.2.6(该版本使用不同的BerkeleyDB)的版本,或者从 http://www.openldap.org/software/download 下载源代码。若从源代码构建,需阅读以下从源代码安装OpenLDAP的步骤。
1.1 从源代码安装OpenLDAP
作为普通用户,解压归档文件并进入新创建的目录。使用至少以下选项运行configure:
$ ./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin \ --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share \ --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec \ --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man \ --infodir=/usr/share/info --with-slapd --with-slurpd --without-ldapd \ --with-threads=posix --enable-s