This article is to implement a virtual account of the e-mail system, the reader's daily life in the e-mail account is a virtual account, not the login system account, these virtual accounts stored in the database centralized management, today small series to achieve the following workflow of the mail system
Functions of each part:
MUA: You can use the client software or browser to send and receive mail but all to combine authentication, to achieve browser access, the server must set up a corresponding site, where the use of Extmail,extman as a management tool (domain and user management)
MTA: Send a letter, here Small series uses the source code postfix Realization (Old edition does not support MySQL extension), certainly here also must combine the Simple Authentication security layer (SASL, uses CYRUS-SASL realization) and courier-authlib can finally relate with the MySQL
MRA: Receive letters, small weave here using Dovecot to achieve
Software Requirements
Required Source Packs: Courier-authlib-0.63.0.tar, Extmail-1.2.tar, Extman-1.1.tar, Postfix-2.10.tar, Unix-syslog-1.1.tar (source package are from the Internet, if necessary to download themselves)
You also need the system's own RPM package, which can be installed using Yum
Yum install-y MySQL openssl-devel perl-dbd-mysql tcl tcl-devel libart_lgpl libart_lgpl-devel Libtool-ltdl libtool-ltdl-d Evel expect
Step 1. Network card and host name parameter settings
# Vim/etc/sysconfig/network-scripts/ifcfg-eth0
Device=eth0
Bootproto=none
Onboot=yes
netmask=255.255.255.0
ipaddr=192.168.111.10
# vim/etc/sysconfig/network
Networking=yes
Networking_ipv6=no
Hostname=mail.zzu.com