This article will introduce the use of Web to implement the management of Postfix mail receive delivery, and need to be authenticated
One: Modify host Name:
[Root@lyt ~]# Vim/etc/sysconfig/network
[Root@lyt ~]# vim/etc/hosts
[Root@lyt ~]# service SendMail stop
[Root@lyt ~]# chkconfig sendmail off #关闭sendmail
[Root@lyt ~]# Init 6 #重启计算机
Second: To build a DNS server:
[Root@mail ~]# Mkdir/mnt/cdrom #新建挂载点
[Root@mail ~]# mount/dev/cdrom/mnt/cdrom/#挂载光盘
[Root@mail ~]# cd/mnt/cdrom/server/
[Root@mail server]# RPM-IVH bind-9.3.6-4.p1.el5.i386.rpm #安装dns主程序
[Root@mail server]# RPM-IVH bind-chroot-9.3.6-4.p1.el5.i386.rpm #安装与dns安全相关的软件包
[Root@mail server]# RPM-IVH caching-nameserver-9.3.6-4.p1.el5.i386.rpm #安装与缓存相关的软件包
[Root@mail server]# cd/var/named/chroot/etc/
[Root@mail etc]# cp-p named.caching-nameserver.conf named.conf
[Root@mail etc]# vim named.conf #编辑dns的主配置文件
[Root@mail etc]# vim Named.rfc1912.zones #编辑dns区域声明文件