Mail Flow
Mail Flow
com/en-
US/library/ms.exch.eac.ConnectorSelection%28EXCHG.150%29.aspx?v=15.1.396.20&l=1&s=BPOS_S_E15_0&f=255&MSPPError
=-2147217396
Configure connectors to control the flow of email messages to and from your Office 365 organization. Your email
service in Office 365 is provided by either Exchange Online or Exchange Online Protection (EOP). Within each of
these services, you can configure connectors, which are a collection of instructions that customize the way your email
flows.
This topic provides an overview of connectors. To start setting up connectors right away, check these topics:
Set up connectors to route mail between Office 365 and your own email servers
How do connectors in EOP or Exchange Online work with my own email servers (also called on-premises servers)?
Note:
If all your mailboxes are in Exchange Online, and want to send email from an application or a device, a connector can enable
this scenario. For details about using a connector in this scenario, and for other ways to enable your device or application to
send email, see How to set up a multifunction device or application to send email using Office 365.
What do connectors do?
Enable mail flow between Office 365 and your organization’s email servers (also known as an on-premises
servers).
Apply security restrictions to mail exchanges with a business partner or service provider.
Enable email notifications from a printer or other non-mailbox entity.
Most organizations that use Office 365 don’t need connectors. This topic helps you decide whether your organization
needs a connector, and which one. You can also find out what connectors are and how they work.
If you previously set up inbound and outbound connectors, they will still function in exactly the same way. The
process for setting up connectors has changed; instead of using the terms "inbound" and "outbound", we ask you to
specify the start and end points you want to use for a mail flow connector. The way connectors work in the
background is the same as before.
Exchange Online is ready to send and receive email from the Internet right away. You don’t need to set up connectors
unless you have EOP or other specific circumstances, which are described in the table below. Use this table to decide
whether you need to set up connectors.
When creating
Connector the connectors,
Scenario What does this mean?
required? select these
options
Connector for
incoming email:
From: Your
You have your own email servers (also called
organization's
on-premises servers), and you subscribe to EOP
email server
only for email protection services.
You have a standalone Exchange To: Office 365
Online Protection Yes
For details, check Exchange Online Protection
(EOP) subscription. Connector for
overview and How do connectors in EOP or
outgoing email:
Exchange Online work with my own email
From: Office 365
servers (also called "on-premises servers")? .
To: Your
organization mail
server
Connector for
incoming email:
Some of your mailboxes are in Exchange
From: Your
Online, and some are on your email servers
organization's
(also called on-premises servers). Before you
email server
You have an Exchange Online set up connectors, check whether you only need
To: Office 365
subscription, and some of your connectors or if an Exchange hybrid
Yes
mailboxes are on your email deployment better meets your business needs.
Connector for
servers.
outgoing email:
For details, check What if I have EOP or
From: Office 365
Exchange Online and my own email servers?
To: Your
and Exchange Server Hybrid Deployments.
organization's
email server
You don't have email servers (also called on-
Only one
premises servers), but you want to let people
connector
You have an Exchange Online send email messages from sources such as
needed:
subscription, and your organization printers, fax machines, or apps.
Optional From: Your
needs to send email messages from
organization's
non-mailboxes, such as printers. For details, check How to set up a
email server
multifunction device or application to send
To: Office 365
email using Office 365.
Connector for
When your users exchange email messages incoming email:
with people in partner organizations, you want From: Partner
to make sure that any shared sensitive organization
You often exchange email with information is protected. You can do this by To: Office 365
business partners, and you want to using Transport Layer Security (TLS) or by Optional
apply certain security restrictions. limiting the mail’s source destination. Connector for
outgoing email:
For details, check Set up connectors for secure From: Office 365
mail flow with a partner organization. To: Partner
organization
Tip:
If you do not have Exchange Online or EOP and are looking for Exchange connectors that apply to Exchange Server 2013 (on-
premises server), see Connectors for information.
If you have EOP or Exchange Online and your own email servers (also called on-premises servers), you definitely
need connectors. This is more complicated and has more options, here’s a breakdown:
Yes.
Exchange
Online Not available
Set them up by following the instructions in Set up connectors
Protection
to route mail between Office 365 and your own email servers.
Consider whether an Exchange hybrid deployment will better
meet your organization’s needs by reviewing the topic that
matches your current situation, either Exchange Server Hybrid
Deployments or Hybrid Deployments with Exchange 2010 SP2.
Exchange Server If a hybrid deployment is the right option for your organization,
No
2013 or use the Exchange Hybrid Configuration wizard to integrate
Exchange Server Exchange Online with your on-premises Exchange Server. If
2010 Office 365 you only want connectors that enable mail routing, follow the
with Exchange instructions in Set up connectors to route mail between Office
Online 365 and your own email servers.
No.
If you have EOP and your own email servers, or if some of your mailboxes are in Exchange Online and some are on
your email servers, connectors enable mail flow in both directions. You can enable mail flow between Office 365 and
any SMTP-based email server such as Exchange, or a third-party email server. Create connectors to enable mail flow
in both directions.
The diagram below shows how connectors in Office 365 (including Exchange Online or EOP) work with your own
email servers.
In this example, John and Bob are both employees at your company. John has a mailbox on an email server that you
manage, and Bob has a mailbox in Office 365. John and Bob both exchange mail with Sun, a customer with an
Internet mail account:
When email is sent between John and Bob, connectors are needed
When email is sent between John and Sun, connectors are needed. (All Internet email is delivered via Office
365.)
When email is sent between Bob and Sun, no connector is needed.
If you have already run the Hybrid Configuration wizard, the connectors that you need are already set up for you. You
can view your hybrid connectors on the Connectors page in the EAC. You can view, troubleshoot, and update these
connectors using the procedures described in Set up connectors to route mail between Office 365 and your own email
servers, or you can re-run the Hybrid Configuration wizard to make changes.
You can create connectors to add additional security restrictions for email sent between Office 365 and a partner
organization. A partner can be an organization you do business with, such as a bank. It can also be a cloud email
service provider that provides services such as archiving, anti-spam, and so on. You can create a partner connector
that defines boundaries and restrictions for email sent to or received from your partners, including scoping the
connector to receive email from specific IP addresses, or requiring Transport Layer Security (TLS) encryption.
The diagram below shows an example where ContosoBank.com is a business partner that you share financial details
with via email. Because you are sharing financial information, you want to protect the integrity of the mail flow
between your businesses. Connectors with TLS encryption enable a secure and trusted channel for communicating
with ContosoBank.com. In this example, two connectors are created in Office 365. TLS is required for mail flow in
both directions, so ContosoBank.com must have a valid encryption certificate. A certificate signed by a certification
authority (CA) is recommended.
When you create a connector, you can also specify the domain or IP address ranges that your partner sends mail from.
If email messages don’t meet the security conditions that you set, the connector will reject them. For more
information about creating connectors to exchange secure email with a partner organization, see Set up connectors for
secure mail flow with a partner organization.
Before you set up a connector, you must set up the accepted domains that you want to define for Office 365. See
Manage accepted domains in Exchange Online for more details.
Set up connectors to route mail between Office 365 and your own email servers
Set up connectors for secure mail flow with a partner organization
Exchange Server 2007 Server Roles
Mailbox Server This is a back-end server that can host mailboxes and public folders. For more information
about the Exchange 2007 Mailbox Server role, see Mailbox.
Client Access Server This is the middle-tier server that hosts the client protocols, such as Post Office
Protocol 3 (POP3), Internet Message Access Protocol 4 (IMAP4), Secure Hypertext Transfer Protocol
(HTTPS), Outlook Anywhere, Availability service, and Autodiscover service. The Client Access Server also
hosts Web services. For more information about the Exchange 2007 Client Access Server role, see Client
Access.
Unified Messaging Server This is the middle-tier server that connects a Private Branch eXchange (PBX)
system to Exchange 2007. For more information about the Exchange 2007 Unified Messaging Server role, see
Unified Messaging.
Hub Transport Server This is the mail routing server that routes mail within the Exchange organization. For
more information about the Exchange 2007 Hub Transport Server role, see Hub Transport.
Edge Transport Server This is the mail routing server that typically sits at the perimeter of the topology and
routes mail in to and out of the Exchange organization. For more information about the Exchange 2007 Edge
Transport Server role, see Edge Transport.
Mail Flow
--------------------------------------------------------------------------------
The Edge Transport server role accepts mail coming into the Exchange 2007 organization from the Internet and routes
all outbound messages to the Internet. The Edge Transport server role acts as a smart host and SMTP relay for the
Exchange organization. You configure Send connectors and Receive connectors on the Edge Transport server to
control message processing.
RPC over HTTP/S is a cool method for connecting your Outlook 2003 client to the corporate Exchange Server 2003
from the Internet or WAN, without the need to establish a VPN session to the corporate LAN and/or needing to open
many ports on your corporate firewall. The only ports you’ll need to open on your firewall are TCP 80 and, if using
SSL, TCP 443.
http://searchexchange.techtarget.com/definition/MAPI [3]
https://msdn.microsoft.com/en-us/library/aa142548(v=exchg.65).aspx [2]
MAPI uses Remote Procedure Calls (RPC) to communicate with the Exchange server. Typically RPC is intentionally
blocked from passing through Internet firewalls.
Client applications that use MAPI access user mailbox and public folder information stored in Exchange, and user
directory information stored in Active Directory. Client applications that use MAPI are typically e-mail clients and
applications that require complex e-mail processing.
https://en.wikipedia.org/wiki/MAPI [1]
x
Among the many new features delivered in Exchange 2013 SP1 is a new method of connectivity to Outlook
we refer to as MAPI over HTTP (or MAPI/HTTP for short). We’ve seen a lot of interest about this new
connection method and today we’ll give you a full explanation of what it is, what it provides, where it will
take us in the future, and finally some tips of how and where to get started enabling this for your users.
https://blogs.technet.microsoft.com/exchange/2014/05/09/outlook-connectivity-with-mapi-over-http/