Mail Service series of postfix+sasl+dovecot+ virtual domain + virtual user +webmail combat

Source: Internet
Author: User
Tags bind dovecot

First, before the installation of the preparatory work:

Pre-installation instructions: The Mail service relies on the DNS service, please be assured beforehand that your DNS service has been completed for mail application configuration.

1, install the required RPM package first uninstall the system with the bind and its components, installation bind97

RPM-E Bind-libs Bind-utils

2. Configure Yum Library

Vim/etc/yum.repos.d/server.repo

[Base]

Name=server

Baseurl=file:///mnt/cdrom/server

Enabled=1

Gpgcheck=0

3. Install BIND97 Package

Yum Install bind97 bind97-utils-y

4, install good bind97, start to edit its configuration file, here we directly use its configuration file to do a change,

The things you need to keep in the vim/etc/named.conf #options are the ones below, the rest of the same

Options {

Directory "/var/named";

Dump-file "/var/named/data/cache_dump.db";

Statistics-file "/var/named/data/named_stats.txt";

Memstatistics-file "/var/named/data/named_mem_stats.txt";

recursion Yes;

/* Path to ISC DLV Key * *

Bindkeys-file "/etc/named.iscdlv.key";

};

Vim/etc/named.rfc1912.zones add content to the end of the file as follows

Zone "Jll.come" in {

Type master;

File "Jll.com.zone";

};

Zone "50.16.17.in-addr.arpa" in {

Type master;

File "172.16.50.zone";

};

named-checkconf/etc/named.conf Check Syntax

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.