Postfix+squirrelmail均为linux自带软件
废话不说~直接开始~(有需求请Q:395061796,竭诚为您服务~)
[root@zhangc ~]# vim /etc/resolv.conf
[root@zhangc ~]# vim /etc/hosts
[root@zhangc ~]# vim /etc/sysconfig/network
[root@zhangc ~]# hostname mail.zhangc.com
[root@zhangc ~]# logout
Xshell:> ssh 192.168.100.123
[root@mail ~]# mount
[root@mail ~]# vim /etc/yum.repos.d/rhel-debuginfo.repo
[root@mail Server]# yum install bind-9.3.6-4.P1.el5.i386.rpm
[root@mail ~]# yum install bind-chroot caching-nameserver –y
[root@mail ~]# cd /var/named/chroot/etc/
[root@mail etc]# cp -p named.caching-nameserver.conf named.conf
[root@mail etc]# vim named.conf
15 listen-on port 53 { any; };
27 allow-query { any; };
28 allow-query-cache { any; };
37 match-clients { any; };
38 match-destinations { any; };
[root@mail etc]# vim named.rfc1912.zones
【增加作用域zhangc.com】
27 zone "zhangc.com" IN {
28 type master;
29 file "zhangc.com.zone";
30 allow-update { none; };
31 };