今天是八月十五中秋节,今天我成功地实现了Postfix + LDAP实验,心情很不错。
一直以来,我想写这篇文档,历为几次安装失败,使我有种恐惧感,不想碰它,今日实验的成功, 心情清松极了,我有信心完成这篇文档。
阅读本章,请选确认是成功地完成了OpenLDAP中的Debian一节的配置.否则你是无法进行本章的学习.
一般来讲,配置邮件服务器包括Qmail在内,失败的原因20%安装的软件包不匹配即依赖关系,20%安装参数有误, 40%是配置有错误,剩下20%用户配置好了,能发不能收,要么是能收不能发.我也是过来人啊,哈哈!
本文档的特点是全部使用apt-get安装,不涉及编译,安装简单、方便、快捷。
我们首先来热热身,给自己点信心,以便能完成下面更复杂的配置。
环境 Linux debian 2.4.26-1-386
Last login: Fri Sep 17 03:56:24 2004 from 192.168.0.254 debian:~# uname -a Linux debian 2.4.26-1-386 #1 Thu Jul 22 12:46:23 JST 2004 i686 GNU/Linux debian:~# |
apt-get install 安装所需模块
必须安装的软件包:
debian:~# apt-get install postfix debian:~# apt-get install postfix-ldap postfix-tls debian:~# apt-get install sasl2-bin debian:~# apt-get install libsasl2-modules debian:~# apt-get install libsasl2-modules-gssapi-heimdal debian:~# apt-get install libpam-ldap debian:~# apt-cache search courier debian:~# apt-get install courier-pop debian:~# apt-get install courier-imap debian:~# apt-get install courier-imap-ssl debian:~# apt-get install courier-pop-ssl debian:~# apt-get install courier-maildrop debian:~# apt-get install courier-ldap debian:~# apt-get install amavisd-new debian:~# apt-get install spamassassin debian:~# apt-get install clamav clamav-base clamav-daemon clamav-freshclam clamav-getfiles libclamav1 debian:~# apt-get install webmin debian:~# apt-get install webmin-postfix debian:~# apt-get install webmin-spamassassin debian:~# apt-get install squirrelmail debian:~# /usr/sbin/squirrelmail-configure debian:~# apt-get install swaks debian:/etc/postfix# apt-get install nmap debian:~# apt-get install libberkeleydb-perl |