快速业务通道

LINUX 邮件服务器qmail 架设

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-05-16
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/network Like this HOSTNAME= qmail.abc.com /etc/hosts Like 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 postfix Unless 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 [url]http://cr.yp.to/daemontools/daemontools-0.76.tar.gz[/url]
wget [url]http://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz[/url]
wget [url]http://shupp.org/software/netqmail-1.05.tar.gz[/url]
wget [url]http://shupp.org/software/libdomainkeys-0.68.tar.gz[/url]
wget [url]http://shupp.org/patches/libdomainkeys.diff[/url]
wget [url]http://shupp.org/patches/qmail-toaster-0.9.1.patch.bz2[/url]
wget [url]http://shupp.org/patches/doublebounce-trim.patch[/url]
wget [url]http://shupp.org/software/vpopmail-5.4.18.tar.gz[/url]
wget [url]http://shupp.org/patches/vpopmail-5.4.18-cumulative.patch[/url]
wget [url]http://shupp.org/software/autorespond-2.0.4.tar.gz[/url]
wget [url]http://shupp.org/patches/autorespond-2.0.4-2.0.5.patch[/url]
wget [url]http://shupp.org/software/qmailadmin-1.2.11.tar.gz[/url]
wget [url]http://shupp.org/software/qmailadmin-help-1.0.8.tar.gz[/url]
wget [url]http://cr.yp.to/software/ezmlm-0.53.tar.gz[/url]
wget [url]http://shupp.org/software/ezmlm-idx-0.443.tar.gz[/url]
wget [url]http://shupp.org/software/courier-imap-4.1.2.tar.bz2[/url]
wget [url]http://shupp.org/software/courier-authlib-0.59.1.tar.bz2[/url]
wget [url]http://shupp.org/patches/vpopmail_courier_cram-1.diff[/url]
wget [url]http://shupp.org/software/squirrelmail-1.4.9a.tar.bz2[/url]
wget [url]http://shupp.org/software/quota_usage-1.3.1-1.2.7.tar.gz[/url]
wget [url]http://shupp.or

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多
上一篇: raid技术0 1 1 0 5 0下一篇: linux cluster

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号