当前位置: 首页 > 图文教程 > 服务器 > Web服务器 > 分布式的Qmail邮件系统(1)

Web服务器
我自打造Web服务器
完美实现个人建站梦想 全面了解IIS组建方法
建站之始 始于装IIS
IIS服务器组建一览
Apache 服务器的安装教程
没有DNS亦玩转虚拟主机
Apache服务器配置技巧
浅析Apache中SSI和CGI的设定方法
在Win2K环境下安装Apache+PHP
安全配置和维护Apache WEB Server
加固Windows Server 2003 IIS 服务器
关于Win2003系统中证书服务
IIS使用10则
IIS5中的两种服务器端网页重定向方法
提高页面显示速度的秘技
站点FTP参数设置
用tar包配置高可用性vsftp(上)
用tar包配置高可用性vsftp (中)
用tar包配置高可用性vsftp (下)
菜鸟也能架设FTP服务器(一)

Web服务器 中的 分布式的Qmail邮件系统(1)


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-02   浏览: 45 ::
收藏到网摘: n/a

 一. 设计目的

  适应多用户、大容量的邮件系统,易扩展,提供mail服务冗余特性。

  二. 配置环境

  我的测试环境采用了三台PC Server,均采用RedHat 6.2,openldap2.0.7和qmail-1.03 以及qmail-ldap,分别运行smtp/pop3服务,具体配置如下。

  192.168.0.19 omni1.i100.com.cn 主smtp/pop3 server,dns MX记录,邮件存储主机,qmqp server
  192.168.0.5 cocoon.i100.com.cn LDAP server,邮件存储主机
  192.168.0.2 gw2.i100.com.cn 邮件存储主机,qmqp server,同时是次smtp/pop3 server
  在192.168.0.19的/data/vuser/目录下,存储johnny的邮件。
  在192.168.0.5的/data/vuser/目录下,存储jacky的邮件。
  在192.168.0.2的/var/qmail/vuser/目录下,存储denny的邮件。

  以上配置在实践中,可以配置成邮件存储和ldap以及smtp server分别位于不同机器。

  三. 软件

  openldap-2.0.7.tgz
  qmail-1.03.tar.gz
  qmail-ldap-1.03-20010301.patch
  ucspi-tcp-0.84.tar.gz

  编译qmail的时候,记得把对cluster的支持编译进去。Edit the Makefile to reflect your setup. You can change the following values: QLDAP-CLUSTER

  Compiles the clustering code in. Note: this doesn't mean clustering is on, it just means you _can_ turn on clustering. 缺省qmail是支持cluster结构的。