搭建Linux邮件网关与邮件系统

文章作者 100test 发表时间 2007:08:06 11:27:52
来源 100Test.Com百考试题网


环境:vmware下RedHat EL3 x 3

  ServerA ip:192.168.0.231 邮件网关server DNS server

  ServerB ip:192.168.0.232 邮件系统server

  ServerC ip:192.168.0.233 邮件系统server

  实验域:
  ServerB: wllhc.org ServerC: thiz.net

  实验目的:
  ServerB和ServerC下的邮件用户用自己的邮件服务器互相收发邮件并通过网关发送,通过ServerA解析对方IP

  一、在ServerA上安装邮件网关,配置邮件服务器的DNS
  1.安装网关
  #wget http://192.168.0.11/pkg/mail_gw/1026/gw_3.6_050430.tar.gz /opt
  #tar -zxvf gw_3.6_050430.tar.gz
  #cd gw_3.6
  #./install.sh

  搭建邮件网关与邮件系统
  环境:vmware下RedHat EL3 x 3
  ServerA ip:192.168.0.231 邮件网关server DNS server
  ServerB ip:192.168.0.232 邮件系统server
  ServerC ip:192.168.0.233 邮件系统server

  实验域:
  ServerB: wllhc.org ServerC: thiz.net

  实验目的:
  ServerB和ServerC下的邮件用户用自己的邮件服务器互相收发邮件并通过网关发送,通过ServerA解析对方IP

  1.安装网关
  #wget http://192.168.0.11/pkg/mail_gw/1026/gw_3.6_050430.tar.gz /opt
  #tar -zxvf gw_3.6_050430.tar.gz
  #cd gw_3.6
  #./install.sh
  2.配置DNS
  #vi /etc/named.conf
  options {
  directory "/var/named".
  }.
  zone "." IN {
  type hint.
  file "named.root".
  }.
  zone "localhost" IN {
  type master.
  file "localhost.zone".
  allow-0update { none. }.
  }.
  zone "0.0.127.in-addr.arpa" IN {
  type master.
  file "named.local".
  allow-0update { none. }.
  }.
  zone "wllhc.org" IN {
  type master.
  file "wllhc.zone".
  allow-0update { none. }.
  }.
  zone "0.168.192.in-addr.arpa" IN {
  type master.
  file "0.168.192".
  allow-0update { none. }.
  }.
  zone "thiz.net" IN {
  type master.
  file "thiz.zone".
  allow-0update { none. }.
  }.
  controls {
  inet 127.0.0.1 port 953
  allow { 127.0.0.1. } keys { "rndc-key". }.
  }.
  3,#vi /var/named/wllhc.zone
  $TTL 86400
  @ IN SOA wllhc.org. root.wllhc.org.(
  42 .serial(d. adams)
  3H .refresh
  15M .retry
  1W .expiry
  1D) .minimum
  IN NS wllhc.org.
  IN MX 1 mail.wllhc.org.
  www IN A 192.168.0.232
  mail IN A 192.168.0.232
  @ IN A 192.168.0.232
  4,#vi /var/named/thiz.zone
  $TTL 86400
  @ IN SOA thiz.net. root.thiz.net.(
  42 .serial(d. adams)
  3H .refresh
  15M .retry
  1W .expiry
  1D) .minimum
  IN NS thiz.net.
  IN MX 1 mail.thiz.net.
  www IN A 192.168.0.233
  mail IN A 192.168.0.233
  @ IN A 192.168.0.233
src="/linux/js/wxgg_linux.js">

相关文章


搭建Linux邮件网关与邮件系统
Redhat系统下三种主要的软件包安装方法
未来值得关注的十个最具有潜力的开源项目
安全攻略SSH服务连接时常见问题解答
使用Linux系统Iptables防火墙
澳大利亚华人论坛
考好网
日本华人论坛
华人移民留学论坛
英国华人论坛