免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 954 | 回复: 0
打印 上一主题 下一主题

LINUX 邮件服务器qmail 架设 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-03-23 11:07 |只看该作者 |倒序浏览
               
                BILL’S QMAIL 经过苦苦两个月……qmail终于配置完成,兴奋无比,感谢bill ,一路走来,将日志发布出来与大家共享!Getting Started
  • DNS
Before we begin, make sure DNS (mx record) is properly setup. If you were using "merchbox.com" as your virtual domain, here's how your host lookups would look after setting up dns:[shupp@ns1 toaster]$ host -t mx merchbox.com
merchbox.com. mail is handled by 0 mail.merchbox.com.
[shupp@ns1 toaster]$ host -t a mail.merchbox.com
mail.merchbox.com. has address 216.234.249.114
主机名也应正确:/etc/sysconfig/networkLike this HOSTNAME= qmail.abc.com/etc/hostsLike this 192.168.1.1 qmail.abc.com qmail
  • Remove existing smtp/pop/imap servers
Now we must remove any existing installations of sendmail/postfix and disable pop/imap servers. To remove sendmail and postfix from an rpm based distribution, try this:rpm -e --nodeps sendmail postfixUnless you have other services that absolutely have to run on this machine, I recommend shutting down inetd or xinetd altogether and removing it from your startup scripts. The only thing you'll need (outside of what we're about to isntall) is ssh, which is probably installed already. This will likely shut off any pop3 or imap servers, as well as other unneccessary ports. Otherwise, disable them manually.To be sure that these services are disabled, try telnetting to ports 25, 110, and 143 and make sure your connections are refused.
  • Download Packages
I keep my software source in /var/src. If you want to put it in another location, set the location below, and all paths will be updated.umask 0022
mkdir -p /var/src/tar
cd /var/src/tar
wget
http://cr.yp.to/daemontools/daemontools-0.76.tar.gz

wget
http://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz

wget
http://shupp.org/software/netqmail-1.05.tar.gz

wget
http://shupp.org/software/libdomainkeys-0.68.tar.gz

wget
http://shupp.org/patches/libdomainkeys.diff

wget
http://shupp.org/patches/qmail-toaster-0.9.1.patch.bz2

wget
http://shupp.org/patches/doublebounce-trim.patch

wget
http://shupp.org/software/vpopmail-5.4.18.tar.gz

wget
http://shupp.org/patches/vpopmail-5.4.18-cumulative.patch

wget
http://shupp.org/software/autorespond-2.0.4.tar.gz

wget
http://shupp.org/patches/autorespond-2.0.4-2.0.5.patch

wget
http://shupp.org/software/qmailadmin-1.2.11.tar.gz

wget
http://shupp.org/software/qmailadmin-help-1.0.8.tar.gz

wget
http://cr.yp.to/software/ezmlm-0.53.tar.gz

wget
http://shupp.org/software/ezmlm-idx-0.443.tar.gz

wget
http://shupp.org/software/courier-imap-4.1.2.tar.bz2

wget
http://shupp.org/software/courier-authlib-0.59.1.tar.bz2

wget
http://shupp.org/patches/vpopmail_courier_cram-1.diff

wget
http://shupp.org/software/squirrelmail-1.4.9a.tar.bz2

wget
http://shupp.org/software/quota_usage-1.3.1-1.2.7.tar.gz

wget
http://shupp.org/software/toaster-scripts-0.9.0.tar.gz

cd ../
tar -xzf tar/netqmail-1.05.tar.gz
cd netqmail-1.05
./collate.sh
正常情况应该出来7项Install SoftwareNow that you have downloaded all the software packages to /var/src, please go through each of these installation steps as the appear, and in this order, unless you really know what you're doing. (Because if you did, you wouldn't be reading this, right?)The below steps assume that your "rc" directories are in /etc/ and your "init.d" path is "/etc/init.d" . If yours are different, please substitue paths accordingly.
  • daemontools
daemontools is a collection of tools for managing UNIX services. It will monitor qmail-send, and qmail-smtpd, and qmail-pop3d services.Info:
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/93926/showart_1872792.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP