Domino8.5.1和Exchange2010共用一个邮件域实现邮件收发

本文涉及的产品
全局流量管理 GTM,标准版 1个月
云解析 DNS,旗舰版 1个月
公共DNS(含HTTPDNS解析),每月1000万次HTTP解析
简介:

说道邮件系统,我们大家肯定首先想到的是Microsoft Exchange,然后就是IBM的Domino产品,同时我们也知道Exchagne是集成于AD的,可Domino不集成AD;那如何把两种不同厂商的邮件服务器同时部署在一个邮件域内呢,具体方法见下。

一、环境准备

1 环境服务器和客户端

1 AD/DNS 服务器 192.168.220.254 windows2008 R2

2 dsgrd-mail01 服务器 192.168.220.253 windows2008R2 + exchange2010Mailbox+Hub Transport

3 dsgrd-maill 服务器 192.168.220.250 windows2008R2 + exchange2010Mailbox+Hub Transport

4 dsgrd-mail02 服务器 192.168.220.248 windows2008R2+domino8.5.1

5 dsgrd-mail03 服务器 192.168.220.247 windows2008R2+domino8.5.1

6 windowsxp 客户端 192.168.2.190 windowXP+Outlook2010 exchange Profile + outlook 2010

POP3 Profile For Domino server

2 拓扑图

clip_image002

clip_image002[4]

二、Exchangedsgrd-mail192.168.220.250

服务器配置:

创建 dsgrd.com 邮件域,类型为内部中继

clip_image002[10]

clip_image002[8]

创建 internal.dsgrd.com 邮件域,用来接收和处理从

domino 转发过来的邮件,域类型为权威域;

clip_image002[12]

3 创建到达 domino 服务器(DSGRD-MAIL02)的发送连接

clip_image002[14]

clip_image002[16]

clip_image002[18]

clip_image002[20]

clip_image002[22]

4 收件人配置-邮箱配置-个人邮箱账号(yuanrengui),添

加 internal.dsgrd.com

域 的 邮 件 地 址 , 

yuanrengui@internal.dsgrd.com

yuanrengui@dsgrd.com 默认邮件地址;

注意:如果是大量邮件账号,可以通过邮件策略设置,自动添加 Internal.dsgrd.com 域后缀

的邮件地址

clip_image002[24]

三、Dominodsgrd-mail02:192.168.220.248

服务器配置:

1 创建并启动 dsgrd-mail02 的 smtp 侦听:

clip_image002[26]

clip_image002[28]

2配置允许SMTP中继主机(192.168.220.250/192.168.2.0(用户 stmp agent 网络段)

clip_image002[30]

clip_image002[32]

clip_image002[34]

配置 DNS 服务器(DCA.DSGRD.COM192.168.220.254

配置 internal.dsgrd.com 的 mx 记录,用于 domino 通过 SMTP 交付邮件;

clip_image002[36]

配置外部 SMTP 域(需要在 mail01 和 mail03 上完成配置)

clip_image002[42]

clip_image002[40]

clip_image002[44]

配置 SMTP 连接文档(dsgrd-mail02

clip_image002[46]

clip_image002[48]

6 注册用户 yuanrg,并在 domin 邮件服务器上创建邮件文件

clip_image002[50]

注 册 用 户 yuanrengui , 并 在 第 三 方 邮 件 服 务 器(dsgrd-mail)上创建邮件文件,在个人文档中创建转发地址,

转发地址的域为 internal.dsgrd.com;

clip_image002[52]

四、实验验证

1 实验环境准备准备一套 windowsXP 加入域 dsgrd.com;使用 outlook,创建一个 exchange 用户和一个 domino用户 profile;

clip_image002[54]

clip_image002[56]

1.1 为用户 yuanrengui 准备 exchange profile

clip_image002[60]

1.2 为用户 yuanrg 准备 Pop3 profile,邮件接收和发送服务器指向 domino 服务器(dsgrd-mail02

clip_image002[62]

2 实验方法设计

2.1 yuanrengui@beyondsoft.com  yuanrengui@dsgrd.com

和 yuanrg@dsgrd.com 邮箱发送邮件,验证是否能成功;

期望结果:

通过 exchange 用户 profile 能接收到目的地址为 yuanrengui@dsgrd.com 的测试邮件;

l 通过 pop3 用户 profile 能接收到目的地址为 yuanrg@dsgrd.com 的测试邮件;

clip_image001clip_image002

2.2yuanrengui@dsgrd.com  yuanrengui@beyondsoft.com 和

yuanrg@dsgrd.com 邮箱发送邮件,验证是否成功;

期望结果:

l 通过 pop3 用户 profile 能接收到目的地址为 yuanrg@dsgrd.com 的测试邮件;

l 通过检查 beyondsoft.com 用户 profile 能检查到接收到的邮件;

2.3  yuanrg@dsgrd.com  yuanrengui@beyondsoft.com 和

yuanrengui@dsgrd.com 邮箱发送邮件,验证是否成功;

期望结果:

通过 exchange 用户 profile 能接收到目的地址为 yuanrengui@dsgrd.com 的测试邮件;

l 通过检查 beyondsoft.com 用户 profile 能检查到接收到的邮件;

五、参考文档

1&2 来自 domino administrator 8.5.1 Help

http://technet.microsoft.com/en-us/library/bb676395.aspx

1 样例:同一因特网域中的第三方服务器与 Domino 之间的邮件路由

clip_image002[64]

本样例中,Acme 在为一些用户处理邮件的本地因特网域中有三台 IBM(R) Lotus(R) Domino 服务器和一台

第三方 SMTP 主机。所有用户在 Domino 目录中都有项目。当用户向 acme.com 域中的另一个用户发送邮

件时,Domino 服务器会在 Domino 目录中查找收件人。如果收件人在三台 Domino 邮件服务器之一(Mail1、

Mail2 或 Mail3)上有邮件文件,则服务器通过 IBM(R) Lotus(R) Notes(R) 路由将邮件路由到目标服务

器。Notes 路由可以处理 MIME 和 Notes 格式的邮件。如果收件人在第三方服务器

(non-Notesserver.acme.com) 上有邮件文件,则他们的“个人”文档中会有域“non-Notesserver.acme.com”

的转发地址。为了通过 SMTP 路由文件,Mail1 和 Mail3 会在“外部 SMTP 域”文档中查找

“*.non-Notesserver.acme.com”,它对应于将 Mail2 列为传输邮件目标服务器的“SMTP 连接”文档。

服务器通过 Notes 路由将邮件发送到 Mail2,Mail2 应用的“配置设置”文档的“路由器/SMTP”“基本”

选项卡上已启用“在将消息发送到外部本地因特网域”。如果邮件是 Notes 格式的,Mail2 会将其转换为

MIME。Mail2 通过 TCP/IP 连接到 non-Notesserver.acme.com 并通过 SMTP 传输邮件。

如果 non-Notesserver.acme.com 上的用户将邮件发送给 Mail1、Mail2 或 Mail3 上的用户,服务器将通

过 SMTP 把邮件传输到 Mail2(其“服务器”文档中的“基本”选项卡中启用了“SMTP 侦听任务”),然

后 Mail2 通过 Notes 路由将邮件路由到目标服务器。

配置这些服务器需要执行下列步骤:

· 为 Mail2 启用 SMTP 侦听任务

· 正确设置 DNS

相关主题

邮件路由配置样例

使服务器能够接收通过 SMTP 路由发送的邮件

DNS(域名系统)和 SMTP 邮件路由

通过 Notes 路由将外出因特网邮件传输到 SMTP 服务器

创建“SMTP 连接”文档

2 Example of mail routing between a third-party serverand Domino in the same Internet domain

clip_image002[68]

In this example, Acme has three IBM? Lotus? Domino? servers and a third-party SMTP host in the

local Internet domain that handles mail for some users. All users have entries in the Domino

Directory. When a user sends mail to another user in the acme.com domain, the Domino server looks

up the recipient in the Domino Directory. If the recipient has a mail file on one of the Domino

mail servers -- Mail1, Mail2, or Mail3 -- the server routes the message to its destination over

IBM? Lotus? Notes? routing. Notes routing handles both MIME and Notes format messages. If the

recipient has a mail file on the third-party server, non-Notesserver.acme.com, their Person

document has a forwarding address with the domain "non-Notesserver.acme.com." To route mail over

SMTP, Mail1 and Mail3 find a Foreign SMTP Domain document for "*.non-Notesserver.acme.com" that

corresponds to an SMTP Connection document listing Mail2 as the server to which to transfer

messages. The server sends the message via Notes routing to Mail2, which has the field "SMTP used

when sending messages outside of the local Internet domain" enabled on the Router/SMTP-Basics

tab of the Configuration Settings document that applies to it. If the message is in Notes format,

Mail2 converts it to MIME. Mail2 connects to non-Notesserver.acme.com over TCP/IP and transfers

the message over SMTP.

If a user on non-Notesserver.acme.com sends a message to a user on Mail1, Mail2, or Mail3, the

server transfers the message over SMTP to Mail2, which has the SMTP listener task enabled on the

Basics tab of its Server document, and Mail2 routes the message to its destination over Notes

routing.

Configuring these servers requires:

· Enabling the SMTP listener task for Mail2

· Setting up DNS correctly

· Creating a Foreign SMTP Domain document for "*.non-Notesserver.acme.com" and an SMTP

Connection document that links to Mail2

Related topics

Sample mail routing configurations

Enabling a server to receive mail sent over SMTP routing

The Domain Name System (DNS) and SMTP mail routing

Transferring outbound Internet mail to an SMTP server over Notes routing

Creating an SMTP Connection document

3 Configure Exchange 2010 to Route Messages for a

Shared Address Space

2 out of 3 rated this helpful -Rate this topic

Applies to: Exchange Server 2010 SP2

Topic Last Modified: 2011-03-19

An organization may have to share the same SMTP address space between two

or more different e-mail systems. For example, you may have to share the

SMTP address space between Exchange and a third-party e-mail system, or

between Exchange environments that are configured in different Active

Directory forests. In these scenarios, users in each e-mail system have

the same domain suffix as part of their e-mail addresses.

You can use the EMC or the Shell to configure a Microsoft Exchange Server

2010 Hub Transport server to route messages for a shared address space.

Looking for other management tasks related to managing message routing?

Check out Managing Message Routing.

Step 1: Create an internal relay domain

You need to be assigned permissions before you can perform this procedure.

To see what permissions you need, see the "Accepted domains" entry in the

Transport Permissionstopic.

To support routing messages for a shared address space, you must create

an accepted domain that's configured as an internal relay domain. When

you configure an accepted domain as an internal relay domain, Exchange

first tries to deliver to a recipient in the Exchange organization. If

the recipient isn't found, the message is routed to the Send connector

that has the closest address space match.

Use the EMC to create an internal relay domain

1. In the console tree, expand Organization Configuration, select Hub Transport, and then

in the work pane, click the Accepted Domains tab.

2. In the action pane, click New Accepted Domain. The New Accepted Domain wizard

appears.

3. On the New Accepted Domain page, complete the following fields:

Name Use this field to identify the accepted domain in the user interface. You

can type any name that you want. We recommend that you select a meaningful

name that helps you easily identify the purpose of this accepted domain. For

example, you may want to use a name that identifies this as a subsidiary domain

or as a hosted domain. You must use a unique name for each accepted domain.

Accepted Domain Use this field to identify the SMTP namespace for which the

Exchange organization will accept e-mail messages. You can use a wildcard

character to accept messages for a domain and all its subdomains. For example,

you can type *.contoso.com to set Contoso.com and all its subdomains as

accepted domains.

4. After you complete these fields on the New Accepted Domain page, select the following

option: Internal Relay Domain.

5. Click New.

6. On the Completion page, click Finish.

Use the Shell to create an internal relay domain

This example creates the internal relay domain Contoso for the SMTP domain contoso.com.

Copy

New-AcceptedDomain -Name "Contoso" -DomainName contoso.com -DomainType

InternalRelay

For detailed syntax and parameter information, see New-AcceptedDomain.

Step 2: Create a Send connector to route e-mail to the shared domain

You need to be assigned permissions before you can perform this procedure.

To see what permissions you need, see the "Send connectors" entry in the

Transport Permissionstopic.

You must also add a Send connector that's sourced on a Hub Transport server

and configured to send e-mail to the shared address space.

Caution:

To achieve the correct routing behavior, you must specify a Hub Transport server as the source

server for the Send connector. If the Edge Transport server is specified as the source server for

the Send connector, a routing loop will occur.

Use the EMC to create a Send connector to route e-mail to the shared domain

1. In the console tree, expand Organization Configuration, select Hub Transport, and then

in the work pane, click the Send Connectors tab.

2. In the action pane, click New Send Connector. The New Send Connector wizard starts.

3. On the Introduction page, follow these steps:

o In the Name field, type a meaningful name for this connector. This name is used

to identify the connector.

o In the Select the intended use for this connector field, select one of the

following usage types for the connector. The usage type determines the default

permission sets that are assigned on the connector and grants those

permissions to trusted security principals:

Internal Select this usage type if the e-mail system with which Exchange 2010

shares an address space is another Exchange 2010 organization.

Internet Select this usage type if the e-mail system with which Exchange 2010

shares an address space is a third-party e-mail system.

4. Click Next.

5. On the Address space page, click Add. In the SMTP Address Space dialog box, enter the

domain name to which this connector will send mail, for example, contoso.com or

*.contoso.com. You may select the Include all subdomains check box to use this

connector to send e-mail to all subdomains of the address space. If necessary, you can

also provide a specific cost for this connector. When you're finished, click OK. Leave the

Scoped send connector check box cleared, and then click Next.

6. On the Network settings page, select Route mail through the following smart hosts.

Click Add.

7. In the Add Smart Host dialog box, select IP Address or Fully qualified domain name

(FQDN) to specify how to locate the smart host. If you select IP Address, enter the IP

address of the smart host. If you select Fully qualified domain name (FQDN), enter the

FQDN of the smart host. The sending server must be able to resolve the FQDN. When

you're finished, click OK. To add more smart hosts, click Add, and repeat this step. If you

want to use a specific list of external DNS servers instead of the DNS servers specified in

the adapter settings, select the Use the External DNS Lookup settings on the transport

server check box. When you're finished, click Next.

8. On the Configure smart host authentication settings page, select the method that's

used to authenticate to the smart host. The following smart host authentication

methods are available:

None

Basic Authentication

Basic Authentication over TLS

Exchange Server Authentication

Externally Secured (for example, with IPsec)

9. Click Next.

10. On the Source Server page, click Add to add a source server. By default, the Hub

Transport server that you're currently working on is listed as a source server. In the

Select Hub Transport or Subscribed Edge Transport dialog box, select the Hub Transport

servers that will be used as the source server for sending messages to the shared

address space. When you finish adding source servers, click OK. Click Next.

11. On the New Connector page, review the configuration summary for the connector. If you

want to modify the settings, click Back. To create the Send connector by using the

settings in the configuration summary, click New.

12. On the Completion page, click Finish.

Use the Shell to create a Send connector to route e-mail to the shared domain

This example creates a Send connector with the following settings:

· Configures the connector as an Internet usage type

· Assigns the address space contoso.com

· Routes messages to the smart host smarthost.contoso.com

· Uses the Externally Secured authentication mechanism

· Sets the maximum message size to 20 megabytes (MB)

Copy

New-SendConnector -Name "Contoso.com Send Connector" -Internet

-AddressSpace contoso.com -DNSRoutingEnabled $false –SmartHosts

smarthost.contoso.com -SmartHostAuthMechanism ExternalAuthoritative

-MaxMessageSize 20MB




本文转自 高文龙 51CTO博客,原文链接:http://blog.51cto.com/gaowenlong/1130798,如需转载请自行联系原作者

相关文章
|
7月前
|
API
Outlook邮箱怎么建立邮件组?
在Outlook中创建邮件组,登录邮箱后点击“联系人”,选择“新建联系人组”,命名并添加成员,保存即成。发邮件时直接写邮件组名,Outlook会自动填充成员。可编辑或删除组,高效管理邮件收发。