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

Web服务器
让Web服务器远离脚本攻击
IIS常见问题及解答以及故障分析
在 IIS 中配置 SQL XML 支持
分页实现方法的性能比较
虚拟主机如何解决电信网通间互联互通
服务器平台磁盘整理软件(Windows)
保障Web数据库安全运行
看上去很美:国产服务器变革初显锋芒
用Web UI远程管理Win2003
防护Web站点恶意链接的方法
Web 服务器日志工具点评
Apache连接数设置
Web服务器安全指南
Apache虚拟主机的配置
Insert和Rs.Addnew的比较
IIS 错误代码大汇总
根据Web服务器记录来追击黑客入侵
一个IP建多个Web站点:TCP端口法
Apache vs Lighttpd谁更好?
虚拟主机IIS防范入侵常见问答

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-02   浏览: 29 ::
收藏到网摘: 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结构的。