Linux AS4 sendmail 与 windows2003 Exchange 2003 通讯

Linux AS4 sendmail windows2003 Exchange 2003 通讯
 
一、    配置 linux DNS 服务
1、 配置 /etc/named.conf ,增加 benet.com 区域 , 建立正向解析。
2、 /var/named 下建立解析库文件 named.benet
3、 配置 DNS 转发,转发地址为 windows DNS  ip address:( 192.168.0.163 windows DNS ip)
4、 启动 named 服务,在 linux 可以解析 benet.com windows 下的 google.com
5、 DNS 配置完成。
 
二、    配置 windows DNS 服务
1、 配置 DNS
2、 建立 google.com 正向解析区域
3、 配置 DNS 转发,在 DNS 目录树中主机名‘属性’ ---- ‘转发器’ ----- 建立转发区域 ---- benet.com” , 配置转发 ip 192.168.0.242 linux DNS ip
4、 重新启动 DNS 服务
5、 检验,可以解析本地域名及 benet.com ( 注意要关闭 linux 防火墙 )
 
三、    配置 linux sendmail
1、 安装 sendmail
2、 /etc/mail 下配置 sendmail
3、 配置 sendmail.mc 生成 sendmail.cf
4、 配置 /local-host-names , 添加 mail.benet.com ; benet.com
5、 配置 access 192.168.0.  RELAY google.com  RELAY ,生成 access.db
6、 启动 sendmail 服务
7、 安装 dovecot ,配置启用 pop3 协议
8、 启动 dovecot 服务
9、 telnet 192.168.0.242 25 验证
 
四、    配置 Exchange 2003
1、 安装 Exchange , 并建立 [email protected] 用户
2、 配置 exchange
3、 在桌面 Exchange 系统管理器中( D:\ex2k3\bin\Exchange System Manager.msc
4、 选择:‘管理组’ ----- ‘路由组’ ------ ‘第一个路由组’ --- ‘连接器’ --------- 新建 ------ ‘新建 SMTP 连接器’ -------- 名称如 benet (任意) ------ 添加 ------- SMTP 虚拟服务器(本机)’ ------ ‘地址空间’ ------ 添加 ---- SMTP 协议’ ---- ‘默认域’
5、 Exchange 配置完成
6、 xp 下启动 outlook , 服务器为 192.168.0.163 用用户[email protected] 收发邮件
 
五、    验证
1、 linux 下用 telnet 192.168.0.242 25 [email protected] 发送邮件
2、 xp 下用 outlook [email protected] 发送邮件
 
六、    注意事项:
1、 因为没有在 Exchange 下建立连接器导致 linux 可以给 Exchange 用户发邮件,而 exchange 无法将邮件发出。
2、 没有关闭 linux 防火墙, linux 可以解析 google.com windows DNS 无法解析 benet.com

你可能感兴趣的:(linux,职场,Exchange,sendmail,休闲)