5 Message Flow and Queue
5 Message Flow and Queue
We have mailboxes server HUB\CAS server and MTA of Cisco iron fort 160
and 170
2. We created send connector on our HUB\CAS server route mails through
smart host.
3. We have created receive connector receive mail these local IP
4. We have created A and MX recorders on our public DNS with our MAT host
name and route all mails by NAT.
My outgoing mails flow is
Outgoing message flow:-
1. When a user send message. It receive by mailbox server
2. Mailbox server notifies to HUB server by mail submission service that I have
a message.
3. HUB server pick that message from mailbox server (outbox) by store drivers
and put in submission queue
4. HUB server run categorization in submission queue and identifies
destination address.
i. Recipient resolution identifies the recipient location.
ii. Routing identifies a delivery path to the recipient. Based on the
routing path, a next hop destination is identified. The next hop
location could be one of the following:
1. If the recipient cannot be identified, the message is placed in the
Unreachable queue.
2. If the next hop is a Mailbox server located in the same Active
Directory site, the message is placed in the Mailbox Delivery
queue.
3. If the next hop is a Hub Transport or Edge Transport server in
the same Active Directory site, the message is placed in that
server's Submission queue.performs categorization, and
queues the message for further delivery.
If the next hop is a remote Active Directory site, remote SMTP domain
name, or smart host, the message is placed in the Remote Delivery queue
that corresponds to the destination.
5. After indentify destination address of message. It take following action:-
i. If destination address is local it contact to DC
ii. DC resolve destination address
iii. After that hub send mail to users mailbox database
iv. If destination is outside. It send message to MTA.
v. MTA send our public DNS over NAT IP
vi. Public DNS resolve destination address and send to destination
address
vii. If destination address is another site it contact to DC or catalog
server and send message to another site Hub server
Note: - HUB server before send to next hop. It check transport rule. If transport
agent enable
Incoming message flow:-
1. public DNS receive mails from outside domains and send our MTA over
NAT IP.
2. MTA send mail to HUB\CAS server .( its match up recipient domain to
accepted domain. If domain is match )
3. HUB server put mails in submission queue and run categorization
4. After contact DC.
5. DC resolve destination address
6. After that hub send mail to users mailbox database
Ans. it is a collection of services, connections, components and queues that work together to route
messages.
Mail flow of exchange server 2013
1. Which runs on all Client Access servers, acts as a stateless proxy for all inbound and outbound
external SMTP traffic.
2. This service does not inspect message content but it can perform basic e-mail filtering based on
connections, domains, senders and recipients.
3. It only communicates with the Transport service on a Mailbox server and does not queue any
messages locally.
Transport service:-
1. It runs on all Mailbox servers and is almost identical to the Hub Transport server role in previous
versions of Exchange. It handles all SMTP mail flow for the organization, performs message
categorization and content inspection.
2. Unlike previous versions of Exchange, the Transport service never communicates directly with a
mailbox database, which is now handled by the Mailbox Transport service.
3. The Transport service routes messages between the Mailbox Transport service and the Front
End Transport service.
Mailbox Transport service: - it run on all Mailbox servers and is made of two separate services:
1. Mailbox Transport Delivery service: -it receives SMTP messages from the Transport service and
connects to the mailbox database using an Exchange Remote Procedure Call [RPC] to deliver the
message.
2. Mailbox Transport Submission service: -it connects to the mailbox database using RPC to
retrieve messages and submits them to Transport service. The Mailbox Transport service also
does not queue any messages locally.
SMTP Receive: When e-mails are received by the Transport service, content inspection is performed,
transport rules are applied and anti-spam/anti-malware inspection is performed (if enabled). If the e-
mail is not rejected after passing through SMTP Receive, it is put in the Submission queue;
Submission is the process of putting e-mails into the actual Submission queue and can happen in three
different ways:
SMTP Send: depending on the location of the message recipient, the message is routed to:
Incoming:
Front end transport service receive connector Submission Queue Categorization (Name
Resolution routing content conversion) deliver Queue ( Mailbox Queue) Mailbox Transport
Delivery Service Store Driver Deliver RPC Mailbox Database
Figure 1.2