How to create a mail system based on a virtual account

Source: Internet
Author: User
Tags bind mysql mysql database nameserver

Create a mail system based on a virtual account, as shown in the following figure:

As shown in the image above: the client login mail system needs to be authenticated by the CYRUS-SASL function library account, but CYRUS-SASL cannot call MySQL, so courier-authlib must be installed to invoke MySQL.

Use Dovecot to receive when sending a message. Extmail provides a way for users to receive or send messages in a Web interface. Extman is a web interface that provides management for administrators.

Postfix default can not support the MySQL database, so you must use the source code to install Postfix

Modify Host Name:

[Root@lyt ~]# Vim/etc/sysconfig/network

[Root@lyt ~]# vim/etc/hosts

[Root@lyt named]# Init 6 #重启 to take effect on the newly established host name

[Root@lyt ~]# Vim/etc/yum.repos.d/rhel-debuginfo.repo #编辑本地yum

To build a DNS server:

[Root@lyt ~]# Mkdir/mnt/cdrom

[Root@lyt ~]# mount/dev/cdrom/mnt/cdrom/

[Root@lyt ~]# cd/mnt/cdrom/server/

[Root@lyt server]# Yum Install bind-y

[Root@lyt server]# Yum Install bind-chroot-y

[Root@lyt server]# Yum Install caching-y

[Root@lyt server]# Yum Install caching-nameserver-y

[Root@lyt server]# cd/var/named/chroot/etc/

[Root@lyt etc]# cp-p named.caching-nameserver.conf named.conf

[Root@lyt etc]# Vim named.conf

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.