One of the most recent qmail mail systems on the line has a hardware failure, a new qmail messaging system, and a lot of information about qmail installations on the web, and the QMail installation and SMTP Authentication configuration documents I've sorted out below.
Prepare the condition:
System: CentOS 5.5 64-bit
Install the related packages that QMail mail system relies on
Yum install g++ gcc-g++ gdbm gdbm-devel OpenSSL openssl-devel stunnel krb5-devel bzip2 bzip2-devel
Then delete the system's own mail system to prevent installation from being affected
Rpm-e--nodeps sendmail Postfix
Mkdir-p/var/src/qmail
Package:
QMail http://www.qmail.org/netqmail-1.05.tar.gz
Ucspi-tcp http://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tat.gz
Daemontools http://cr.yp.to/daemontools/daemontools-0.76.tar.gz
Vpopmail http://shupp.org/software/vpopmail-5.4.10.tar.gz
Install Netqmail
Cd.. /
TAR-ZXVF qmail/netqmail-1.05.tar.gz
CD netqmail-1.05
./collate.sh
Install Daemontools
Mkdir-p/package
chmod 1755/package
Cd/package
Tar-zxvf/var/src/qmail/daemontools-0.76.tar.gz
CD admin/daemontools-0.76
Patch-p1 </var/src/netqmail-1.05/other-patches/daemontools-0.76.errno.patch
Package/install
Install Ucspi-tcp
cd/var/src/
TAR-ZXVF qmail/ucspi-tcp-0.88.tar.gz
CD ucspi-tcp-0.88
Patch-p1 </var/src/netqmail-1.05/other-patches/ucspi-tcp-0.88.errno.patch
Make
Make Setupcheck
Set up qmail file directory Users and their user groups
Mkdir/var/qmail
Groupadd Nofiles
Useradd-g nofiles-d/var/qmail/alias Alias
Useradd-g nofiles-d/var/qmail Qmaild
Useradd-g nofiles-d/var/qmail Qmaill
Useradd-g nofiles-d/var/qmail Qmailp
Groupadd QMail
Useradd-g qmail-d/var/qmail QMAILQ
Useradd-g qmail-d/var/qmail QMAILR
Useradd-g qmail-d/var/qmail Qmails
Cd/var/src
TAR-ZXVF qmail/toaster-scripts-0.8.tar.gz
CD netqmail-1.05/netqmail-1.05/
Ln-s/usr/include//usr/kerberos/include/
Rm/usr/sbin/sendmail
Make
Make setup Check