Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发

650) this.width=650;" border="0" alt="02" height="370" src="http://img1.51cto.com/attachment/201211/13/515663_13527917806qP2.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_13527917806qP2.jpg" width="650" style="padding: 0px; margin: 0px; vertical-align: top; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

前面我们创建了excontoso.tk的接受域,并完成了从contoso.net邮件域向excontoso.tk邮件域的转换,但这些配置还不足矣使我们的邮件系统能够与外部邮件系统实现互相收发,那么现再还需要做哪些配置,才能够让邮件‘发出去’和‘收进来’呢?

我们首先来看看怎么将邮件‘发出去’,要将邮件投递到公网上的邮件系统,那么第一步是必须就要保证HUB服务器(集线器传输服务器)能够访问公网,解析公网域名。本环境中,HUB服务器有2台,分别为cqexcashub01和cqexcashub02,我们来为这2台HUB服务器配置上网关和公网的DNS服务器

为cqexcashub01配置网关与公网DNS服务器

650) this.width=650;" border="0" alt="133" width="403" height="416" src="http://img1.51cto.com/attachment/201211/13/515663_1352791783Ytuf.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_1352791783Ytuf.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

为cqexcashub02配置网关与公网DNS服务器

650) this.width=650;" border="0" alt="134" width="403" height="418" src="http://img1.51cto.com/attachment/201211/13/515663_1352791786lwGb.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_1352791786lwGb.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

配置完成后来测试一下,随便Ping一个公网域名,这里我们来Ping腾讯QQ的邮件服务器mail.qq.com,Ping通了,这说明2台HUB服务器都能够成功解析公网域名

650) this.width=650;" border="0" alt="135" width="514" height="250" src="http://img1.51cto.com/attachment/201211/13/515663_1352791790hr2S.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_1352791790hr2S.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

第二步是要创建一个发送连接器,在Exchange管理控制台左侧展开【组织配置】-【集线器传输】,在右侧面板中选择【发送连接器】选项卡,然后在空白处单击右键,选择【新建发送连接器】

650) this.width=650;" border="0" alt="136" width="628" height="401" src="http://img1.51cto.com/attachment/201211/13/515663_13527917934BiM.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_13527917934BiM.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

为发送连接器指定名称

650) this.width=650;" border="0" alt="137" width="630" height="527" src="http://img1.51cto.com/attachment/201211/13/515663_1352791797eogr.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_1352791797eogr.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

指定邮件可以发送到哪些域,单击【添加】

650) this.width=650;" border="0" alt="138" width="634" height="527" src="http://img1.51cto.com/attachment/201211/13/515663_1352791800eFme.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_1352791800eFme.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

在地址空间栏中,输入一个【*】号,表示邮件可以发送到所有的域

650) this.width=650;" border="0" alt="139" width="428" height="238" src="http://img1.51cto.com/attachment/201211/13/515663_1352791801hJ7g.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_1352791801hJ7g.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

单击【下一步】

650) this.width=650;" border="0" alt="140" width="631" height="526" src="http://img1.51cto.com/attachment/201211/13/515663_1352791804mDZp.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_1352791804mDZp.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

这步保持默认,除非邮件不是直接由exchange服务器直接发送到公网,而是由公司的其他SMTP服务器来转发(如邮件网关等),这时才需要选择【通过以下智能主机传送邮件】

650) this.width=650;" border="0" alt="141" width="629" height="526" src="http://img1.51cto.com/attachment/201211/13/515663_1352791808MziU.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_1352791808MziU.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

这步是将发送连接器与HUB服务器进行关联,单击【添加】,将组织中的2台HUB服务器都加入到源服务器中

650) this.width=650;" border="0" alt="142" width="631" height="526" src="http://img1.51cto.com/attachment/201211/13/515663_1352791812hGCi.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_1352791812hGCi.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

单击【新建】完成对发送连接器的创建

650) this.width=650;" border="0" alt="143" width="632" height="526" src="http://img1.51cto.com/attachment/201211/13/515663_1352791816JjfS.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_1352791816JjfS.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

单击【完成】

650) this.width=650;" border="0" alt="144" width="632" height="527" src="http://img1.51cto.com/attachment/201211/13/515663_13527918193p5V.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_13527918193p5V.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

那么现再‘发出去’就算是配置完了,接下来继续配置‘收进来’

Internet上的用户在向我们发送邮件的时候,他的邮件系统会向DNS去查询excontoso.tk这个域名的MX记录(邮件交换纪录),如果MX记录存在,才能成功投递邮件,所以MX纪录是必不可少的,没有MX纪录我们就无法收取到邮件,MX纪录需要指向我们的邮件服务器,但是邮件服务器通常都放在路由器之后,那么此时就需要将MX纪录指向我们的路由器WAN口,WAN口的IP地址可以通过路由器管理页面查看到,在本例中是【219.153.106.244】

650) this.width=650;" border="0" alt="145" width="650" height="421" src="http://img1.51cto.com/attachment/201211/13/515663_1352791826XRr6.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_1352791826XRr6.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

进入域名提供商的设置页,首先新建一条A纪录【mail.excontoso.tk】,IP地址设置为路由器WAN口的IP地址【219.153.106.244】,然后再新建一条MX纪录【excontoso.tk】,在IP地址处输入【mail.excontoso.tk】,最后保存更改

650) this.width=650;" border="0" alt="146" width="650" height="486" src="http://img1.51cto.com/attachment/201211/13/515663_1352791830OqPn.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_1352791830OqPn.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

等待几分钟后设置才会生效,我们来验证一下A纪录和MX纪录的状态是否正常,从下图中看出,Ping mail.excontoso.tk可以成功解析到路由器WAN口IP地址【219.153.106.244】,然后通过nslookup查询MX纪录,同样正确指向了路由器WAN口IP地址

650) this.width=650;" border="0" alt="147" width="608" height="487" src="http://img1.51cto.com/attachment/201211/13/515663_1352791835xOus.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_1352791835xOus.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

由于Internet上的邮件系统在向我们的Exchange服务器投递邮件时,需要连接HUB服务器的TCP25端口,我们在前面的博文中创建了CAS/HUB服务器群集,群集IP地址是192.168.1.230,那么此时需要在路由器上将TCP25端口转发到我们的CAS/HUB群集服务器上,IP地址要填写群集IP地址192.168.1.230

650) this.width=650;" border="0" alt="148" width="650" height="421" src="http://img1.51cto.com/attachment/201211/13/515663_13527918430eR6.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_13527918430eR6.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

回到Exchange管理控制台中,展开左侧【服务器配置】-【集线器传输】,选择cqexcashub01,打开默认接受连接器的属性

650) this.width=650;" border="0" alt="149" width="579" height="529" src="http://img1.51cto.com/attachment/201211/13/515663_1352791848KIpq.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_1352791848KIpq.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

在属性框中,切换到【权限组】选项卡,勾选【匿名用户】,表示可以接收所有的邮件

(注意:此设置完成后,需要选择cqexcashub02做相同设置)

650) this.width=650;" border="0" alt="150" width="443" height="464" src="http://img1.51cto.com/attachment/201211/13/515663_13527918505GkP.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_13527918505GkP.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

到这里,‘发出去’和‘收进来’都配置好了,接下来就是来验证我们的配置,在内网中,通过用户jqq【蒋庆秋】登录OWA,访问到邮箱

650) this.width=650;" border="0" alt="124" height="465" src="http://img1.51cto.com/attachment/201211/13/515663_1352791853EkgW.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_1352791853EkgW.jpg" style="padding: 0px; margin: 0px; vertical-align: top; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

向 650) this.width=650;" border="0" alt="151" width="608" height="352" src="http://img1.51cto.com/attachment/201211/13/515663_1352791855KadD.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_1352791855KadD.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

登录comet82的QQ邮箱后,可以看到成功收到了来自于 650) this.width=650;" border="0" alt="152" width="605" height="341" src="http://img1.51cto.com/attachment/201211/13/515663_1352791858TV9V.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_1352791858TV9V.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

然后来回发一封,收件人是 650) this.width=650;" border="0" alt="153" width="611" height="343" src="http://img1.51cto.com/attachment/201211/13/515663_1352791862dFvT.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_1352791862dFvT.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

切回到jqq【蒋庆秋】的邮箱,看到已经成功收到 650) this.width=650;" border="0" alt="154" width="616" height="349" src="http://img1.51cto.com/attachment/201211/13/515663_1352791865qvQv.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_1352791865qvQv.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

 

650) this.width=650;" border="0" alt="155" width="608" height="352" src="http://img1.51cto.com/attachment/201211/13/515663_1352791867qLFV.jpg" real_src ="http://img1.51cto.com/attachment/201211/13/515663_1352791867qLFV.jpg" style="padding: 0px; margin: 0px; vertical-align: top; border-style: none; background-image: none;" title="Exchange Server 2010 SP2 高可用性(八)---配置内外网邮件收发" />

本文出自 “小秋的学习笔记” 博客

--------------------------------------------------------------------------------------------------

欢迎关注我的微博 http://weibo.com/pco18   

                                                                       您的顶帖是我发帖的动力↘

你可能感兴趣的:(高可用,配置,it,教程,Exchange,2010)