QMAIL+VPOPMAIL+DAEMONTOOLS+UCSPI mail system installation and SMTP authentication configuration

Source: Internet
Author: User
Tags mail mkdir openssl qmail

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.