- 论坛徽章:
- 0
|
BILL’S QMAIL 经过苦苦两个月……qmail终于配置完成,兴奋无比,感谢bill ,一路走来,将日志发布出来与大家共享!Getting StartedBefore 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.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 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 |
|