Install the DNS + sendmail service in linux

Source: Internet
Author: User
Tags email account
Detailed DNS configuration process 1. set the host name vietcsysconfignetwork2. configure the DNS master configuration file vivarnamedchrootetcnamed. conf: change row 161722 to the following 3. configure the forward resolution configuration file vivarnamedchrootetcnamed. rfc1912.zones4. configure forward resolution cdvarname

Detailed DNS configuration process

1. Set the host name vi/etc/sysconfig/network2. configure the DNS master configuration file vi/var/nam Ed/Chroot/etc/named. conf: change lines 16 17 and 22 to the following 3. configure forward resolution configuration file vi/var/named/chroot/etc/named. rfc1912.zones 4. configure forward resolution Cd/Var/named/chroot/var/named/copy the named. localhost in this file to named.xiaolei.cn to modify the permissions of named.xiaolei.cn. ChgrpNamed named.wolf.cn: Change named.wolf.cn to named. Otherwise, named.xiaolei.cn may be inaccessible. configure DNS reverse resolution vi/var/named/chroot/var/named/named.192.168.1chgrp named named.192.168.1 and change the group of named.192.168.0 to named. Otherwise, the Service named.192.168.0 may fail to be accessed. restart the DNS Service. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ Configure sendmail service 1. configure sendmail. McChange 127.0.0.0. To 0.0.0.0vi/etc/mail/sendmail. mc 2. Import sendmail. mc to sendmail. cf to mc sendmail. mc> sendmail. cf. 3. modify DNS4. modify the data vi/etc/mail/local-host-names in local-host-names and add two data mail.xiaolei.cnxiaolei.cn 5. to restart the sendmail Service and POP3 Service sendmail restartService dovecot restart test, you must first create two accounts in Linux to create an email account in the same way as that in Linux.
Related Article

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.