SlideShare a Scribd company logo
Page 1 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
SMTP Relay in Office 365 environment |
Troubleshooting scenarios |Part 4#4
The current article is dedicated the subject on – troubleshooting possible problems
when using an SMTP mail relay server for sending mail to the Office 365 mail
infrastructure.
Send mail to Exchange Online – Article Series
 Send mail to Exchange Online | Part 1#4
 Send mail to Exchange Online using standard SMTP session | Part 2#4
 SMTP Relay in Office 365 environment | Part 3#4
 SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4
Page 2 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
In the former article, we review the concept of how configure IIS SMTP server as a
mail relay in an Office 365 based environment.
When using the option of SMTP mail relay in an Office 365 environment, the mail
flow can be considered as complex because, there are a couple of elements that
are involved in this process and each of these elements has specific characteristics
or specific configuration settings.
In a scenario in which we have problem meaning, mail that is sent by the source
mail client (Hardware device, mail application and so on) doesn’t reach to his
destination (the Office 365 recipient or other external recipient), the ability to point
out the exact cause of the problem is not so simple.
For example, a scenario in which FAX device needs to send E-mail message to Office
365 recipient involved the following steps:
1. FAX device connects the IIS SMTP mail relay server (IIS server in our scenario).
2. The SMTP mail relay server is willing to accept the request from the mail client
(the fax device in our scenario).
2. The SMTP mail relay server connects the “destination mail server” (the EOP mail
server in our scenario).
3. The “destination mail server” is willing to accept the request from the SMTP mail
relay server.
4. The “destination mail server” (EOP) sends the E-mail message to the destination
recipient.
Page 3 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
In reality, the mail flow includes additional steps that we didn’t mention such as
performing DNS resolution process and so on.
Because of this complexity, we need to be familiar with the different components
that are involved in the mail flow and what are the troubleshooting steps,
troubleshooting tools and the methods that we can use in a scenario that the mail
flow is not successfully completed.
Simulating mail flow | mail sent by internal mail client
via IIS SMTP mail relay server
After we have completed all of the required configuration, the best practice is to
implement some kind of “POC” (proof of concept) test, that will enable us to verify
that the mail flow is implemented correctly meaning the E-mail message
successfully reaches the destination recipient mailbox.
To be able to test and verify the mail flow when using an SMTP mail relay, we will
simulate a mail flow in which organization mail client tries to send E-mail message
to Office 365 mail recipient.
The “parameters” that we want to check and verify are:
 The ability of the mail client to contact the IIS SMTP mail relay server and the
ability of the IIS SMTP mail relay server to contact the Office 365 mail server.
 The ability of the IIS SMTP mail relay server to send E-mail on behalf of a different
mail client. As mentioned in the article –SMTP Relay in Office 365 environment |
Part 3#4, in a scenario in which the IIS SMTP mail relay server accepts requires
Page 4 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
from different mail client and need to “forward” the E-mail message to the Office
365 mail server, the users account that is used by the IIS SMTP mail relay server
will need to have Send As permission for each of the “mail client” that addresses
him.
To verify these parameters, we will use two different tests.
Test 1 – a simple test in which we simulate mail client that uses the same E-mail
address as the user credentials that are used by the IIS SMTP mail relay server.
Test 2 – simulate mail client, which use the different E-mail address from the user
credentials that are used by the IIS SMTP mail relay server. In the case, we want to
verify if the required Send As permission was defined for the IIS SMTP mail relay
server user account.
How to simulate the mail flow.
In our scenario, the “real” mail client could be hardware devices such as FAX
machines, Scanner or Printer or a mail-enabled application.
The main problem is that most of the time, this “mail client” doesn’t have the option
for providing clear infrastructure in a scenario of failure, meaning a scenario in
which mail is not sent to the destination recipient.
To be able to get a clear view of the mail flow process, I recommended a very nice
SMTP mail client utility named: Basic SMTP Telnet Client.
The Basic SMTP Telnet Client utility enables us to simulate the mail flow and “see”
the content of the communication channel between the mail client and the mail
server (the IIS SMTP mail relay in our scenario). In addition, we can use the option
of “debug” (enable step by step sending) option to get information about the
specific cause for the problem.
Test 1 – using SMTP mail relay | Destination recipient = SMTP
mail relay credentials
In the first test, we want to verify that the mail flow can be completed successful,
meaning each of the different “elements” that are involved in the mail flow can
communicate each other.
Page 5 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
In our scenario, the mail client will identify himself by using an E-mail address that
is identical to the user credentials that are used by the IIS SMTP mail relay.
Regarding the subject of the “destination recipient” to E-mail address of the
destination recipient doesn’t matter as long as we have the ability to access the
destination recipient mailbox and verify if he got our test mail.
The character of the current scenario is:
 Source recipient – John@o365info.com
 IIS SMTP mail relay credentials – John@o365info.com
 Destination recipient – John@o365info.com
In the following section, we will use the Basic SMTP Telnet Client utility for the
simulating mail flow of the internal mail client.
In use the Telnet properties tab, for configuring the communication setting with the
internal interface of the IIS SMTP mail relay server.
 Receive connector IP: add the IP Address of the IIS SMTP Server (in our specific
scenario, the IP address is – 10.13.137.2).
 TCP Port: This is the port number of the IIS SMTP mail relay “LAN interface”. The
default port which is used for “listing” to mail client is – 25
 Mail From: inside the text box, we will need to add E-mail address the “represent”
the internal mail client that wants to send an E-mail message via the IIS SMTP
mail relay. In our specific scenario, the source recipient is – John@o365info.com
Page 6 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
Recipient To: in this text box, we will need to add the email address of the
“destination recipient” that is supposed to get the mail from the internal mail
client. In our specific scenario the destination Office 365 recipient is
– John@o365info.com
 Subject: this is an optional parameter that will create the “Subject header”. In our
specific scenario, the subject is Test 001
To send the E-mail message we need to choose the Telnet tab and click on
the SEND option
In the following screenshot, we can see that the “first part” in our mail flow, the part
in which the internal mail client addresses the internal interface of the IIS SMTP
mail relay was successfully completed.
Page 7 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
The IIS SMTP mail relay “agree” to accept the E-mail message and he “inform” the
mail client that –
the E-mail message is Queued mail for delivery
The fact that the first part in the mail flow was successfully completed, doesn’t
mean that we can assume that the E-mail message was reached to the destination
Office 365 recipient mailbox.
To be able to verify that the E-mail message was sent by the IIS SMTP mail relay to
the Office 365 mail servers (the EOP that is represented by the host
name smtp.office365.com) we will need to access the destination recipient mailbox
(John in our example) in verifying if he got the E-mail message.
In the following screenshot, we can see that the E-mail message reaches John
mailbox.
Page 8 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
Test 2 – Verify the ability of the SMTP mail relay to send email
on behalf of different mail clients.
In case that the first test was completed successfully and, we know that the mail
flow is configured correctly, the next step is to verify the ability of the IIS SMTP mail
relay to deliver an email message on behalf of different mail clients.
For example, the basic assumption is that each of the mail clients that will address
the IIS SMTP mail relay server will identify himself by using a unique E-mail address.
The IIS SMTP mail relay server identifies himself to the Office 365 mail servers by
using a specific user account (John@o365info.com in our scenario) and to be able to
deliver mail on behalf of another mail recipient; the IIS SMTP mail relay server user
account, will need to be configured with Send As permissions for each of the mail
clients that he will “forward” their requests to the Office 365 mail server.
The characters of the current scenario are:
 Source recipient – Fax@o365info.com
 IIS SMTP mail relay credentials – John@o365info.com
 Destination recipient – John@o365info.com
Pay attention that in this type of scenario, the IIS SMTP mail relay needs to have the
“Send As” permission that will enable him to send the E-mail message on behalf of
Page 9 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
the source mail recipient (in our scenario Fax@o365info.com).
In the following section, we will use the Basic SMTP Telnet Client utility for the
simulating mail flow of the internal mail client.
In use the Telnet properties tab, for configuring the communication setting with the
internal interface of the IIS SMTP mail relay server.
 Receive connector IP: add the IP Address of the IIS SMTP Server (in our specific
scenario, the IP address is – 10.13.137.2).
 TCP Port: This is the port number of the IIS SMTP mail relay “LAN interface”. The
default port which is used for “listing” to mail client is – 25
 Mail From: inside the text box, we will need to add E-mail address the “represent”
the internal mail client that wants to send E-mail message via the IIS SMTP mail
relay. In our specific scenario, the source recipient is – Fax@o365info.com
Recipient To: in this text box, we will need to add the email address of the
“destination recipient” that is supposed to get the mail from the internal mail
client. In our specific scenario the destination Office 365 recipient is
– John@o365info.com
 Subject: this is an optional parameter that will create the “Subject header”. In our
specific scenario, the subject is Test 002.
Page 10 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
To send the E-mail message we need to choose the Telnet tab and click on
the SEND option
In the following screenshot, we can see that the “first part” in our mail flow, the part
in which the internal mail client addresses the internal interface of the IIS SMTP
mail relay was successfully completed.
The IIS SMTP mail relay “agree” to accept the E-mail message and he “inform” the
mail client that –
the E-mail message is Queued mail for delivery.
Page 11 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
The fact that the first part in the mail flow was successfully completed, doesn’t
mean that we can assume that the E-mail message was reached to the destination
Office 365 recipient mailbox.
In our scenario, we will see that the E-mail message was not successfully sent to the
Office 365 recipients.
The IIS SMTP mail relay “agree” to accept the E-mail message, but in the next
section, we will see that the destination mail server (the Office 365 EOP server)
didn’t agree to accept the
E-mail message.
When we access the destination recipient mailbox (John in our example) we
discover that the mail message did not reach John’s mailbox!
The questions that appear are:
Q1: What is the reason for the failure of the mail flow?
Page 12 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
Q2: How can we find information about the cause of the failure of the mail flow?
Q3: How can we fix this mail flow problem?
Reading the IIS SMTP server Log file for getting more
information
A1: The cause of the mail flow failure is a permission problem, or if we want to be
more accurate – “Send As” permission problem. The user account that the IIS SMTP
mail relay users (John@o365info.com) doesn’t have the required permissions to
send E-mail on behalf of the mail recipient – Fax@o365info.com
A2: To be able to get more detailed information about the mail flow and the cause
of the failure, we will use the IIS SMTP mail server mail delivery report that is stored
in a folder named: Badmail.
The full path of the badmail folder is: C:inetpubmailrootBadmail
Page 13 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
In the following screenshot, we can see the information that is saved in the badmail
folder. The IIS SMTP server generates three different files for each “mail delivery
failure”.
Two of the files that appear in the badmail folder or just a simple text file.
To get more information about the reason of the failure, we will try to read the
information in the file with the file extension – *.BDR
In the file, we can see the following error message:
The specific error code was 0xC00402C7.
The problem is that there is not much that we can understand from this error
message.
Page 14 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
The more useful information about the reason of the failure, is located in the file
with the extension – *.BAD
When looking the content of the “BAD File” we can see
Delivery to the following recipients failed. – john@o365info.com
And in addition-
Final-Recipient: rfc822;john@o365info.com
Action: failed
Page 15 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
Status: 5.7.60
Diagnostic-Code: smtp;550 5.7.60 SMTP; Client does not have permissions to send
as this sender
The meaning of this error message is that the IIS SMTP mail relay addresses the
Office 365 mail server (EOP server) and tries to “delver” the E-mail message to the
source mail recipient –Fax@o365info.com
Because the “cloud” identifies the IIS SMTP mail relay as – John@o365info.com and
because John doesn’t have the required “Send As” permission to send E-mail on
behalf of the “Fax recipient” the EOP server refuses to accept the E-mail message.
Page 16 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
Assign the required Send As permission to the IIS SMTP server user
account
To be able to “fix” this issue, we will assign the user account that is used by the IIS
SMTP mail relay – John@o365info.com, Send As permission to the “FAX recipient.”
Note – The basic assumption is that we have already created a distribution group
that
represents” the Mail enabled FAX device entity.
To be able to assign the Send As permission, we will login to the Exchange Online
man agent interface.
 Choose the recipients menu and then the groups menu
 Double-click on the required distribution group (FAX group in our scenario).
Page 17 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
 Choose the menu – group delegation. In the following screenshot, we can see we
can see that by default, no recipient has the Send As permission for this group.
Under the Send As section, click on the plus icon to add recipients that will have the
required Send As permission. In our specific scenario we want to assign this
permission to the recipient named: John, that mail recipient who is used by the IIS
SMTP mail relay.
Page 18 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
After we have added the required permissions, we got to try to send again the E-
mail message.
In the following screenshot, we can see that at this time, the message was
successfully reached the destination recipient mailbox.
Page 19 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
In case that you are a curious person, and you would like to view the information
about the E-mail message delivery that was implemented by the IIS SMTP mail
relay, we can look at the IIS SMTP mail relay log files.
By default, the IIS SMTP mail relay log files are located at the following path:
C:WindowsSystem32LogFilesSMTPSVC1
In the following screenshot, we can see that the SMTPSVC1 folder include many log
files.
We will need to choose the most updated log files.
Page 20 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
When looking at the Log file, we can see a very detailed description for each of the
steps that was implemented in the mail flow between the IIS SMTP mail relay and
the Office 365 mail servers.
For example: we can see that the mail is composed from few phases:
 Phase 1 – the phase in which the IIS SMTP mail relay addresses the Office 365
mail server and the session is a TLS session based.
 Phase 2 – the authentication phase in which the IIS SMTP mail relay provides
his credentials to the Office 365 mail server
 Phase 3 – the phase in which the IIS SMTP mail relay “deliver” the E-mail
message to the Office 365 mail server and provide information about the
source + destination recipient.
 Phase 4 – the Office 365 mail server accept the E-mail message from the IIS
SMTP mail relay and store the E-mail message on the queue.
Page 21 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
Verifying the ability to access office 365 mail server
using TLS protocol
In this section, we will review how to troubleshoot common “causes” for mail flow
problem when using IIS SMTP relay option.
Troubleshooting TLS based mail flow | The elimination concept
Page 22 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
In a scenario in which we don’t manage to send E-mail to the destination recipient,
the most common reaction is: “something is wrong with the cloud”.
If we want to take a more effective approach, the troubleshooting process should
be implemented by eliminating specific components that are involved in the mail
flow process until we can clearly point out the specific element that are not
configured correctly.
For example, on a case that E-mail message that was sent by a mail client such as
FAX device did not reach her destination, we will need to verify if all the
components that involved in the process are configured correctly.
In the following diagram, we can see a standard mail flow when using the option of
SMTP mail relay for sending E-mail message to Office 365 mail infrastructure.
In the following section, we will demonstrate how to bypass the following
components:
1. Mail client (the FAX device in our example)
2. The IIS SMTP mail relay
Our main purpose is to verify that
 We can communicate with the “cloud” (the Office 365 mail server represented
by the hostname –
smtp.office365.com ) using the TLS protocol
Page 23 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
 That the Office 365 mail server is willing to accept our request and deliver or
mail to the destination recipient.
The concept of “secure communication channel” in an Office 365
environment.
Just a quick reminder, the “secure communication channel” is implemented using
port 25 or 587. In our scenario, the basic assumption is that the mail flow will be
implemented as follow:
 The client will address the destination mail server (the EOP server)
 The EOP server will signal to the source client that he needs to use TLS
protocol + provide users credentials.
 The client will provide the required users credentials.
 “Secure communication channel” (TLS) will be created.
 The client will request from the EOP server to send E-mail message to a
destination recipient.
The mail client that will be used for the test purpose
In the following section, we will demonstrate how to test TLS communication with
the Office 365 mail server by using three different mail clients
1. Windows OS client
Page 24 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
2. PowerShell script
3. Graphic mail client named – JBMail
Option 1 – verify communication to EOP server using Windows Telnet
client
One of the simplest ways of verifying a communication channel with a mail server
(the EOP server in our scenario) is by using a Telnet session.
In case that we manage to “Telnet” the destination host, we can know that:
1. We successfully manage to resolve the hostname (smtp.office365.com in our
scenario) into IP addresses.
2. That the network Firewall enables us to “get out” using the required port number
(25 or 587).
3. That the destination server (Office 365 mail server) is “up” and he can respond to
our communication request.
The only “catch” is that the communication with the Office 365 mail server –
smtp.office365.com , should be implemented by using TLS session and the
standard windows OS Telnet client, doesn’t support the use of TLS protocol.
Despite this limitation, I use the option if windows OS Telnet client because it’s easy
and simple, and it allows me to verify the basic elements that were mentioned
(resolve the hostname, etc.).
Using windows telnet client for communicating with the Office 365 mail
server
For example: open a command prompt and type the following commands:
Telnet smtp.office365.com 25
Helo
mail from:john@o365info.com
In the following screenshot, we can see that the communication test fails and the
EOP server sends the Error message:
530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during
MAIL FROM
Page 25 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
The meaning of this Error message is that the “source client” (the Telnet client in
our example), doesn’t manage to successfully fulfill the mandatory requirement for
an encrypted communication channel (TLS in our scenario).
The reason for our failure is that we use the “wrong tools” for the specific task. A
“standard OS Telnet client” doesn’t know how to implement a secure
communication channel using TLS.
Additional reading
How to Use Telnet to Test SMTP Communication
Option 2 – using a PowerShell script for simulating a secure
communication channel with EOP server
To be able to simulate a secure communication channel (TLS channel) between a
specific host and the Office 365 mail server (the EOP -Exchange Online protection
server), we could use a PowerShell script.
Page 26 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
To avoid from the need of typing complicated and strange PowerShell commands, I
have preferred a PowerShell script that is simple to use.
Download the PowerShell Script named:
SendMail.ps1
The SendMail.ps1 PowerShell script is based on a PowerShell code sample that
appear in the article: Send Email via Office 365
The code that included in the SendMail.ps1 PowerShell script
In the following screenshot, we can see the content of the SendMail.ps1 PowerShell
script.
The script includes predefined variable such as the SMTP server name and port
numbersmtp.office365.com and port 25 in our scenario).
Page 27 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
To be able to successfully complete the TLS session with the EOP server, it’s
important to understand that the mandatory requirement for creating the secure
communication channel with the EOP server is by providing the required Office 365
user credentials (UPN name + password).
The first two parameters that we need to provide are the Office 365 username and
password.
The last parameter is the “destination recipient Email address”.
Using the SendMail.ps1 PowerShell script
Then send mail PowerShell script can be excited from the built-in OS PowerShell
console.
To be able to run a PowerShell, we will need to run a PowerShell policy command
that will enable us to run the PowerShell script (by default, the PowerShell policy
will not enable us to run a script).
Page 28 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
In our scenario will be trying to create a secure communication channel between a
specific host and the Exchange Online protection server by using the credentials of
Office 365 users named:John@o365info.com
To simplify the test, we will use the E-mail of John as the “destination E-mail
address”.
Running a PowerShell script first-time configuration.
 Locate the PowerShell console
 Right click on the PowerShell icon and choose the option: Run as administrator
 On the PowerShell console run the following command:
Set-ExecutionPolicy Unrestricted -force
Page 29 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
Run the SendMail.ps1 PowerShell script
To be able to excite the SendMail.ps1 PowerShell script we will need to “call” the
script from the PowerShell console.
In our example, the SendMail.ps1 PowerShell script was saved in the following path:
C:Script
To be able to excite a PowerShell script, we need to type the following charters: “.”
and then the script name.
In the following screenshot, we can see we can see an example of running
the SendMail.ps1PowerShell script:
In the following screenshot, we can see the mailbox of john. We can see the mail
was sent by John from the PowerShell script reach John’s mailbox.
Page 30 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
Option 3 – Send E-mail message to Exchange Online using TLS | GUI
mail client
In the following section, we will demonstrate how to send E-mail message to
Exchange Online (EOP) using an encrypted communication link (TLS).
The mail client application that I found for the purpose of simulating the TLS
session named: JBMail
You download the mail client from the following link JBMail
Page 31 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
The following demonstration is implemented by using two steps:
1. Configure the mail client profile – the step in which we define the user
credentials that will be used for connecting the Exchange Online server, the type
of communication protocol, etc.
2. Create (compose) a new E-mail message.
Scenario description
In our scenario will implement a very simple test: a recipient
named: John@o365info.com that will send mail to himself by connecting the EOP
server (smtp.office365.com) using TLS.
 Choose the Account TAB
 In the User name box, add the recipient credentials that will authenticate himself
to EOP server. In our example – John@o365info.com
Page 32 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
 Choose the Send settings TAB
 In the SMTP host box, type the hostname of the EOP server
– smtp.office365.com (Number 1).
 In the Username box, type the recipient name whom the mail will send by him. In
our example –John@o365info.com (Number 2).
 In the Password box, type the recipient name password that the mail will send by
him (Number 3).
 In the Protocol section, choose the option of – SSL via STARTTLS (Number 4).
 Choose the option of – use SMTP AUTH (Number 4).
 In the Your address box, type the E-mail address of the recipient whom the mail
will be sent by him – In our example – John@o365info.com (Number 5).
Page 33 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
 In the port box, type the port number. In our scenario port 25 (Number 6).
Create a new mail message by choosing the Account tab and click on the Compose
Page 34 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
 In the TO field, add the E-mail address of the destination recipient. In our
example –John@o365info.com
Page 35 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
 Click on the Send button to send the E-mail message
Page 36 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
The following message will appear:
Choose the Accept option
Page 37 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
In the following screenshot, we can see that the E-mail message was successfully
sent to the EOP server.
Page 38 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
In the following screenshot, we can see that the E-mail message was accepted by
John.
In case that we want to be sure that the E-mail message was sent using a secure
communication channel (TLS), we can look at the E-mail message header.
 Double click on the E-mail message
 Choose the more options icon (the three dots)
Page 39 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
 Choose the menu – View message details
In the following screenshot, we can see the mail header of the message that was
sent to John. We can see that the communication was implemented using TLS.
Page 40 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
Verify TLS setting of the Mail server
The implementation of “secure communication channel” between the IIS SMTP mail
relay in the Office 365 EOP server is implemented by using the TLS protocol.
The IIS SMTP mail relay includes a built-it supports in the TLS protocol and gives
that we have created all the required configuration setting that was described in
the article – xxx, the communication channel between the IIS SMTP mail relay and
the Office 365 EOP server who is represented by the host
name: smtp.office365.com is created.
Page 41 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
In some scenarios, in case that we suspect that the problem is related to the TLS
infrastructure, the mail issue is that the TLS communication channel is kind of a
“black box” and by default, we have no simple option to look at the TLS parameters.
In case that you are interested in getting more information about the content of the
TLS session, we can use a nice web site tool named – checktls that can help us to
test a TLS session between client and the mail server.
In the next example, we will look at the TLS session between Office 365 recipient
named:John@o365info.com and the Office 365 EOP server – smtp.office365.com
In the Address text we add the recipient E-mail message – John@o365info.com and
click on theTry it
In the following screenshot, we can see the results.
Number 1 – this is a summary of the whole TLS parameters that are involved in the
communication process. In our scenario, we can see that the TLS communication
channel complete successfully, and all the different parameters are correct.
Number 2 – the part that displays the E-mail address of the “destination recipient”.
Number 3 – the web test application finds the host name of the Office 365 mail
server. In our scenario – o365info-com.mail.protection.outlook.com
Page 42 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
Number 4 – we can see that the TLS session “begin” by using the SMTP command –
STARTTLS
Number 5 – In this section we can see the content of the SSL certificate that the
“destination mail server” provides.
Number 6 – in this section we section we can see that the TLS communication
channel was successfully created.
Page 43 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
Summery and Recap
I feel that we went together on a long journey in the “IIS SMTP World.”
I hope that this information will help you to implement the SMTP relay solutions in
an Office 365 environment.
See you in the next articles
Additional reading
 How to Allow a Multi-function Device or Application to Send E-mail through
Office 365 Using SMTP
 How to configure Internet Information Server (IIS) for relay with Office 365
 SMTP error 550 5.7.1 Client does not have permissions to send as this sender
 Video links
Page 44 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part
4#4
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
 Ignite Webcast – SMTP Relay in Office 365
 Everything You Need to Know about SMTP Transport for Office 365

More Related Content

Viewers also liked

Purtz Resume
Purtz ResumePurtz Resume
Purtz Resume
Nikki Purtz
 
Microsoft Office 365 Directory Synchronization and Federation Options
Microsoft Office 365 Directory Synchronization and Federation OptionsMicrosoft Office 365 Directory Synchronization and Federation Options
Microsoft Office 365 Directory Synchronization and Federation Options
Michael Frank
 
Arun Kumar Resume_Exchange SME
Arun Kumar Resume_Exchange SMEArun Kumar Resume_Exchange SME
Top 10 sharepoint administrator interview questions and answers
Top 10 sharepoint administrator interview questions and answersTop 10 sharepoint administrator interview questions and answers
Top 10 sharepoint administrator interview questions and answers
jonhsdata
 
Migrating to Microsoft Office 365
Migrating to Microsoft Office 365Migrating to Microsoft Office 365
Migrating to Microsoft Office 365
OpenText Global 360
 
Office365 Migration Solution Architecture
Office365 Migration Solution ArchitectureOffice365 Migration Solution Architecture
Office365 Migration Solution Architecture
Darshika Goswami
 
SSAS Azure RemoteApp
SSAS Azure RemoteAppSSAS Azure RemoteApp
SSAS Azure RemoteApp
Riwut Libinuko
 
Office 365 Mail migration strategies
Office 365 Mail migration strategiesOffice 365 Mail migration strategies
Office 365 Mail migration strategies
Fulvio Salanitro
 
Office 365 migration
Office 365 migrationOffice 365 migration
Office 365 migration
Motty Ben Atia
 
10 Things Many IT Professionals Don’t Know About Office 365
10 Things Many IT Professionals Don’t Know About Office 36510 Things Many IT Professionals Don’t Know About Office 365
10 Things Many IT Professionals Don’t Know About Office 365
Richard Harbridge
 
Azure Active Directory, Practical Guide
Azure Active Directory, Practical GuideAzure Active Directory, Practical Guide
Azure Active Directory, Practical Guide
Sasha Rosenbaum
 
Integrating your on-premises Active Directory with Azure and Office 365
Integrating your on-premises Active Directory with Azure and Office 365Integrating your on-premises Active Directory with Azure and Office 365
Integrating your on-premises Active Directory with Azure and Office 365
nelmedia
 
Presentación Drupal Commerce en OpenExpo Ecommerce
Presentación Drupal Commerce en OpenExpo EcommercePresentación Drupal Commerce en OpenExpo Ecommerce
Presentación Drupal Commerce en OpenExpo Ecommerce
OpenExpo
 
Fund EcoMarket 2016
Fund EcoMarket 2016Fund EcoMarket 2016
Fund EcoMarket 2016
juliadreblow
 
IND-2012-243 DAV Public School, Kansbahal -Wonders of Herbs - A journey towar...
IND-2012-243 DAV Public School, Kansbahal -Wonders of Herbs - A journey towar...IND-2012-243 DAV Public School, Kansbahal -Wonders of Herbs - A journey towar...
IND-2012-243 DAV Public School, Kansbahal -Wonders of Herbs - A journey towar...
designforchangechallenge
 
PATHSenrich: A Web Service Prototype for Automatic Cultural Heritage Item Enr...
PATHSenrich: A Web Service Prototype for Automatic Cultural Heritage Item Enr...PATHSenrich: A Web Service Prototype for Automatic Cultural Heritage Item Enr...
PATHSenrich: A Web Service Prototype for Automatic Cultural Heritage Item Enr...
pathsproject
 
Sesion 10 FLOR
Sesion 10 FLORSesion 10 FLOR
Sesion 10 FLOR
Lizzithaa Vazquez
 
Should i use a single namespace for exchange infrastructure part 1#2 part ...
Should i use a single namespace for exchange infrastructure   part 1#2  part ...Should i use a single namespace for exchange infrastructure   part 1#2  part ...
Should i use a single namespace for exchange infrastructure part 1#2 part ...
Eyal Doron
 
Autodiscover flow in active directory based environment part 15#36
Autodiscover flow in active directory based environment  part 15#36Autodiscover flow in active directory based environment  part 15#36
Autodiscover flow in active directory based environment part 15#36
Eyal Doron
 
My E-mail appears as spam - Troubleshooting path | Part 11#17
My E-mail appears as spam - Troubleshooting path | Part 11#17My E-mail appears as spam - Troubleshooting path | Part 11#17
My E-mail appears as spam - Troubleshooting path | Part 11#17
Eyal Doron
 

Viewers also liked (20)

Purtz Resume
Purtz ResumePurtz Resume
Purtz Resume
 
Microsoft Office 365 Directory Synchronization and Federation Options
Microsoft Office 365 Directory Synchronization and Federation OptionsMicrosoft Office 365 Directory Synchronization and Federation Options
Microsoft Office 365 Directory Synchronization and Federation Options
 
Arun Kumar Resume_Exchange SME
Arun Kumar Resume_Exchange SMEArun Kumar Resume_Exchange SME
Arun Kumar Resume_Exchange SME
 
Top 10 sharepoint administrator interview questions and answers
Top 10 sharepoint administrator interview questions and answersTop 10 sharepoint administrator interview questions and answers
Top 10 sharepoint administrator interview questions and answers
 
Migrating to Microsoft Office 365
Migrating to Microsoft Office 365Migrating to Microsoft Office 365
Migrating to Microsoft Office 365
 
Office365 Migration Solution Architecture
Office365 Migration Solution ArchitectureOffice365 Migration Solution Architecture
Office365 Migration Solution Architecture
 
SSAS Azure RemoteApp
SSAS Azure RemoteAppSSAS Azure RemoteApp
SSAS Azure RemoteApp
 
Office 365 Mail migration strategies
Office 365 Mail migration strategiesOffice 365 Mail migration strategies
Office 365 Mail migration strategies
 
Office 365 migration
Office 365 migrationOffice 365 migration
Office 365 migration
 
10 Things Many IT Professionals Don’t Know About Office 365
10 Things Many IT Professionals Don’t Know About Office 36510 Things Many IT Professionals Don’t Know About Office 365
10 Things Many IT Professionals Don’t Know About Office 365
 
Azure Active Directory, Practical Guide
Azure Active Directory, Practical GuideAzure Active Directory, Practical Guide
Azure Active Directory, Practical Guide
 
Integrating your on-premises Active Directory with Azure and Office 365
Integrating your on-premises Active Directory with Azure and Office 365Integrating your on-premises Active Directory with Azure and Office 365
Integrating your on-premises Active Directory with Azure and Office 365
 
Presentación Drupal Commerce en OpenExpo Ecommerce
Presentación Drupal Commerce en OpenExpo EcommercePresentación Drupal Commerce en OpenExpo Ecommerce
Presentación Drupal Commerce en OpenExpo Ecommerce
 
Fund EcoMarket 2016
Fund EcoMarket 2016Fund EcoMarket 2016
Fund EcoMarket 2016
 
IND-2012-243 DAV Public School, Kansbahal -Wonders of Herbs - A journey towar...
IND-2012-243 DAV Public School, Kansbahal -Wonders of Herbs - A journey towar...IND-2012-243 DAV Public School, Kansbahal -Wonders of Herbs - A journey towar...
IND-2012-243 DAV Public School, Kansbahal -Wonders of Herbs - A journey towar...
 
PATHSenrich: A Web Service Prototype for Automatic Cultural Heritage Item Enr...
PATHSenrich: A Web Service Prototype for Automatic Cultural Heritage Item Enr...PATHSenrich: A Web Service Prototype for Automatic Cultural Heritage Item Enr...
PATHSenrich: A Web Service Prototype for Automatic Cultural Heritage Item Enr...
 
Sesion 10 FLOR
Sesion 10 FLORSesion 10 FLOR
Sesion 10 FLOR
 
Should i use a single namespace for exchange infrastructure part 1#2 part ...
Should i use a single namespace for exchange infrastructure   part 1#2  part ...Should i use a single namespace for exchange infrastructure   part 1#2  part ...
Should i use a single namespace for exchange infrastructure part 1#2 part ...
 
Autodiscover flow in active directory based environment part 15#36
Autodiscover flow in active directory based environment  part 15#36Autodiscover flow in active directory based environment  part 15#36
Autodiscover flow in active directory based environment part 15#36
 
My E-mail appears as spam - Troubleshooting path | Part 11#17
My E-mail appears as spam - Troubleshooting path | Part 11#17My E-mail appears as spam - Troubleshooting path | Part 11#17
My E-mail appears as spam - Troubleshooting path | Part 11#17
 

Similar to Smtp relay in office 365 environment troubleshooting scenarios - part 4#4

E-Mail Header- A Forensic Key to Examine an E-Mail
E-Mail Header- A Forensic Key to Examine an E-MailE-Mail Header- A Forensic Key to Examine an E-Mail
E-Mail Header- A Forensic Key to Examine an E-Mail
IRJET Journal
 
How to simplify Email oriented workflow with - Visendo SMTP Extender
How to simplify Email oriented workflow with - Visendo SMTP Extender How to simplify Email oriented workflow with - Visendo SMTP Extender
How to simplify Email oriented workflow with - Visendo SMTP Extender
Johannes Cosmin dumitru
 
What is SPF record good for? | Part 7#17
What is SPF record good for? | Part 7#17What is SPF record good for? | Part 7#17
What is SPF record good for? | Part 7#17
Eyal Doron
 
Email/Ad/Marketing 20100130
Email/Ad/Marketing 20100130Email/Ad/Marketing 20100130
Email/Ad/Marketing 20100130
dsoprea
 
Lecture19
Lecture19Lecture19
Email Automation.pptx
Email Automation.pptxEmail Automation.pptx
Email Automation.pptx
ApurbaSamanta9
 
Spam Filter
Spam FilterSpam Filter
Mail SMTP and IMAP By Company All in One
Mail SMTP and IMAP By Company All in OneMail SMTP and IMAP By Company All in One
Mail SMTP and IMAP By Company All in One
Geminate Consultancy Services
 
Improving email reliability
Improving email reliabilityImproving email reliability
Improving email reliability
Antti Siiskonen
 
Inbound Email Troubleshooting Guide
Inbound Email Troubleshooting GuideInbound Email Troubleshooting Guide
Inbound Email Troubleshooting Guide
guestc1eed9
 
Inbound Email Troubleshooting Guide
Inbound Email Troubleshooting GuideInbound Email Troubleshooting Guide
Inbound Email Troubleshooting Guide
VestalsGap
 
Lecture19
Lecture19Lecture19
Email Aliases With Multiple Domain And Multi Company
Email Aliases With Multiple Domain And Multi CompanyEmail Aliases With Multiple Domain And Multi Company
Email Aliases With Multiple Domain And Multi Company
Geminate Consultancy Services
 
Internet 8th level imen tek bouaziz 2016
Internet 8th level imen tek bouaziz 2016Internet 8th level imen tek bouaziz 2016
Internet 8th level imen tek bouaziz 2016
imen Tekaya Bouaziz
 
2-dynamics-gp-workflow.pdf
2-dynamics-gp-workflow.pdf2-dynamics-gp-workflow.pdf
2-dynamics-gp-workflow.pdf
ssuserfc7e251
 
Mail store server4 manual-en
Mail store server4 manual-enMail store server4 manual-en
Mail store server4 manual-en
guest8e6971
 
Mail migration to office 365 mail migration methods - part 1#4
Mail migration to office 365   mail migration methods - part 1#4Mail migration to office 365   mail migration methods - part 1#4
Mail migration to office 365 mail migration methods - part 1#4
Eyal Doron
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP Module
Celine George
 
Email Headers – Expert Forensic Analysis
Email Headers – Expert Forensic AnalysisEmail Headers – Expert Forensic Analysis
Email Headers – Expert Forensic Analysis
forensicEmailAnalysis
 
Setting up your own email server with hmailserver
Setting up your own email server with hmailserverSetting up your own email server with hmailserver
Setting up your own email server with hmailserver
rifqirr
 

Similar to Smtp relay in office 365 environment troubleshooting scenarios - part 4#4 (20)

E-Mail Header- A Forensic Key to Examine an E-Mail
E-Mail Header- A Forensic Key to Examine an E-MailE-Mail Header- A Forensic Key to Examine an E-Mail
E-Mail Header- A Forensic Key to Examine an E-Mail
 
How to simplify Email oriented workflow with - Visendo SMTP Extender
How to simplify Email oriented workflow with - Visendo SMTP Extender How to simplify Email oriented workflow with - Visendo SMTP Extender
How to simplify Email oriented workflow with - Visendo SMTP Extender
 
What is SPF record good for? | Part 7#17
What is SPF record good for? | Part 7#17What is SPF record good for? | Part 7#17
What is SPF record good for? | Part 7#17
 
Email/Ad/Marketing 20100130
Email/Ad/Marketing 20100130Email/Ad/Marketing 20100130
Email/Ad/Marketing 20100130
 
Lecture19
Lecture19Lecture19
Lecture19
 
Email Automation.pptx
Email Automation.pptxEmail Automation.pptx
Email Automation.pptx
 
Spam Filter
Spam FilterSpam Filter
Spam Filter
 
Mail SMTP and IMAP By Company All in One
Mail SMTP and IMAP By Company All in OneMail SMTP and IMAP By Company All in One
Mail SMTP and IMAP By Company All in One
 
Improving email reliability
Improving email reliabilityImproving email reliability
Improving email reliability
 
Inbound Email Troubleshooting Guide
Inbound Email Troubleshooting GuideInbound Email Troubleshooting Guide
Inbound Email Troubleshooting Guide
 
Inbound Email Troubleshooting Guide
Inbound Email Troubleshooting GuideInbound Email Troubleshooting Guide
Inbound Email Troubleshooting Guide
 
Lecture19
Lecture19Lecture19
Lecture19
 
Email Aliases With Multiple Domain And Multi Company
Email Aliases With Multiple Domain And Multi CompanyEmail Aliases With Multiple Domain And Multi Company
Email Aliases With Multiple Domain And Multi Company
 
Internet 8th level imen tek bouaziz 2016
Internet 8th level imen tek bouaziz 2016Internet 8th level imen tek bouaziz 2016
Internet 8th level imen tek bouaziz 2016
 
2-dynamics-gp-workflow.pdf
2-dynamics-gp-workflow.pdf2-dynamics-gp-workflow.pdf
2-dynamics-gp-workflow.pdf
 
Mail store server4 manual-en
Mail store server4 manual-enMail store server4 manual-en
Mail store server4 manual-en
 
Mail migration to office 365 mail migration methods - part 1#4
Mail migration to office 365   mail migration methods - part 1#4Mail migration to office 365   mail migration methods - part 1#4
Mail migration to office 365 mail migration methods - part 1#4
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP Module
 
Email Headers – Expert Forensic Analysis
Email Headers – Expert Forensic AnalysisEmail Headers – Expert Forensic Analysis
Email Headers – Expert Forensic Analysis
 
Setting up your own email server with hmailserver
Setting up your own email server with hmailserverSetting up your own email server with hmailserver
Setting up your own email server with hmailserver
 

More from Eyal Doron

How to simulate spoof e mail attack and bypass spf sender verification - 2#2
How to simulate spoof e mail attack and bypass spf sender verification - 2#2How to simulate spoof e mail attack and bypass spf sender verification - 2#2
How to simulate spoof e mail attack and bypass spf sender verification - 2#2
Eyal Doron
 
How does sender verification work how we identify spoof mail) spf, dkim dmar...
How does sender verification work  how we identify spoof mail) spf, dkim dmar...How does sender verification work  how we identify spoof mail) spf, dkim dmar...
How does sender verification work how we identify spoof mail) spf, dkim dmar...
Eyal Doron
 
Dealing with the threat of spoof and phishing mail attacks part 6#9 | Eyal ...
Dealing with the threat of spoof and phishing mail attacks   part 6#9 | Eyal ...Dealing with the threat of spoof and phishing mail attacks   part 6#9 | Eyal ...
Dealing with the threat of spoof and phishing mail attacks part 6#9 | Eyal ...
Eyal Doron
 
Why our mail system is exposed to spoof and phishing mail attacks part 5#9 |...
Why our mail system is exposed to spoof and phishing mail attacks  part 5#9 |...Why our mail system is exposed to spoof and phishing mail attacks  part 5#9 |...
Why our mail system is exposed to spoof and phishing mail attacks part 5#9 |...
Eyal Doron
 
What is the meaning of mail phishing attack in simple words part 4#9 | Eyal...
What is the meaning of mail phishing attack in simple words   part 4#9 | Eyal...What is the meaning of mail phishing attack in simple words   part 4#9 | Eyal...
What is the meaning of mail phishing attack in simple words part 4#9 | Eyal...
Eyal Doron
 
What is so special about spoof mail attack part 3#9 | Eyal Doron | o365info.com
What is so special about spoof mail attack  part 3#9 | Eyal Doron | o365info.comWhat is so special about spoof mail attack  part 3#9 | Eyal Doron | o365info.com
What is so special about spoof mail attack part 3#9 | Eyal Doron | o365info.com
Eyal Doron
 
What are the possible damages of phishing and spoofing mail attacks part 2#...
What are the possible damages of phishing and spoofing mail attacks   part 2#...What are the possible damages of phishing and spoofing mail attacks   part 2#...
What are the possible damages of phishing and spoofing mail attacks part 2#...
Eyal Doron
 
Dealing with a spoof mail attacks and phishing mail attacks a little story ...
Dealing with a spoof mail attacks and phishing mail attacks   a little story ...Dealing with a spoof mail attacks and phishing mail attacks   a little story ...
Dealing with a spoof mail attacks and phishing mail attacks a little story ...
Eyal Doron
 
Exchange In-Place eDiscovery & Hold | Introduction | 5#7
Exchange In-Place eDiscovery & Hold | Introduction  | 5#7Exchange In-Place eDiscovery & Hold | Introduction  | 5#7
Exchange In-Place eDiscovery & Hold | Introduction | 5#7
Eyal Doron
 
Mail migration to office 365 measure and estimate mail migration throughput...
Mail migration to office 365   measure and estimate mail migration throughput...Mail migration to office 365   measure and estimate mail migration throughput...
Mail migration to office 365 measure and estimate mail migration throughput...
Eyal Doron
 
Mail migration to office 365 factors that impact mail migration performance...
Mail migration to office 365   factors that impact mail migration performance...Mail migration to office 365   factors that impact mail migration performance...
Mail migration to office 365 factors that impact mail migration performance...
Eyal Doron
 
Mail migration to office 365 optimizing the mail migration throughput - par...
Mail migration to office 365   optimizing the mail migration throughput - par...Mail migration to office 365   optimizing the mail migration throughput - par...
Mail migration to office 365 optimizing the mail migration throughput - par...
Eyal Doron
 
Stage migration, exchange and autodiscover infrastructure part 1#2 part 35#36
Stage migration, exchange and autodiscover infrastructure  part 1#2  part 35#36Stage migration, exchange and autodiscover infrastructure  part 1#2  part 35#36
Stage migration, exchange and autodiscover infrastructure part 1#2 part 35#36
Eyal Doron
 
Autodiscover flow in an office 365 environment part 3#3 part 31#36
Autodiscover flow in an office 365 environment  part 3#3  part 31#36Autodiscover flow in an office 365 environment  part 3#3  part 31#36
Autodiscover flow in an office 365 environment part 3#3 part 31#36
Eyal Doron
 
Autodiscover flow in an exchange hybrid environment part 1#3 part 32#36
Autodiscover flow in an exchange hybrid environment  part 1#3  part 32#36Autodiscover flow in an exchange hybrid environment  part 1#3  part 32#36
Autodiscover flow in an exchange hybrid environment part 1#3 part 32#36
Eyal Doron
 
Autodiscover flow in an exchange on premises environment non-active director...
Autodiscover flow in an exchange on premises environment  non-active director...Autodiscover flow in an exchange on premises environment  non-active director...
Autodiscover flow in an exchange on premises environment non-active director...
Eyal Doron
 
Autodiscover flow in an exchange on premises environment non-active director...
Autodiscover flow in an exchange on premises environment  non-active director...Autodiscover flow in an exchange on premises environment  non-active director...
Autodiscover flow in an exchange on premises environment non-active director...
Eyal Doron
 
Autodiscover flow in an exchange on premises environment non-active director...
Autodiscover flow in an exchange on premises environment  non-active director...Autodiscover flow in an exchange on premises environment  non-active director...
Autodiscover flow in an exchange on premises environment non-active director...
Eyal Doron
 
Outlook test e mail auto configuration autodiscover troubleshooting tools p...
Outlook test e mail auto configuration  autodiscover troubleshooting tools  p...Outlook test e mail auto configuration  autodiscover troubleshooting tools  p...
Outlook test e mail auto configuration autodiscover troubleshooting tools p...
Eyal Doron
 
Microsoft remote connectivity analyzer (exrca) autodiscover troubleshooting ...
Microsoft remote connectivity analyzer (exrca)  autodiscover troubleshooting ...Microsoft remote connectivity analyzer (exrca)  autodiscover troubleshooting ...
Microsoft remote connectivity analyzer (exrca) autodiscover troubleshooting ...
Eyal Doron
 

More from Eyal Doron (20)

How to simulate spoof e mail attack and bypass spf sender verification - 2#2
How to simulate spoof e mail attack and bypass spf sender verification - 2#2How to simulate spoof e mail attack and bypass spf sender verification - 2#2
How to simulate spoof e mail attack and bypass spf sender verification - 2#2
 
How does sender verification work how we identify spoof mail) spf, dkim dmar...
How does sender verification work  how we identify spoof mail) spf, dkim dmar...How does sender verification work  how we identify spoof mail) spf, dkim dmar...
How does sender verification work how we identify spoof mail) spf, dkim dmar...
 
Dealing with the threat of spoof and phishing mail attacks part 6#9 | Eyal ...
Dealing with the threat of spoof and phishing mail attacks   part 6#9 | Eyal ...Dealing with the threat of spoof and phishing mail attacks   part 6#9 | Eyal ...
Dealing with the threat of spoof and phishing mail attacks part 6#9 | Eyal ...
 
Why our mail system is exposed to spoof and phishing mail attacks part 5#9 |...
Why our mail system is exposed to spoof and phishing mail attacks  part 5#9 |...Why our mail system is exposed to spoof and phishing mail attacks  part 5#9 |...
Why our mail system is exposed to spoof and phishing mail attacks part 5#9 |...
 
What is the meaning of mail phishing attack in simple words part 4#9 | Eyal...
What is the meaning of mail phishing attack in simple words   part 4#9 | Eyal...What is the meaning of mail phishing attack in simple words   part 4#9 | Eyal...
What is the meaning of mail phishing attack in simple words part 4#9 | Eyal...
 
What is so special about spoof mail attack part 3#9 | Eyal Doron | o365info.com
What is so special about spoof mail attack  part 3#9 | Eyal Doron | o365info.comWhat is so special about spoof mail attack  part 3#9 | Eyal Doron | o365info.com
What is so special about spoof mail attack part 3#9 | Eyal Doron | o365info.com
 
What are the possible damages of phishing and spoofing mail attacks part 2#...
What are the possible damages of phishing and spoofing mail attacks   part 2#...What are the possible damages of phishing and spoofing mail attacks   part 2#...
What are the possible damages of phishing and spoofing mail attacks part 2#...
 
Dealing with a spoof mail attacks and phishing mail attacks a little story ...
Dealing with a spoof mail attacks and phishing mail attacks   a little story ...Dealing with a spoof mail attacks and phishing mail attacks   a little story ...
Dealing with a spoof mail attacks and phishing mail attacks a little story ...
 
Exchange In-Place eDiscovery & Hold | Introduction | 5#7
Exchange In-Place eDiscovery & Hold | Introduction  | 5#7Exchange In-Place eDiscovery & Hold | Introduction  | 5#7
Exchange In-Place eDiscovery & Hold | Introduction | 5#7
 
Mail migration to office 365 measure and estimate mail migration throughput...
Mail migration to office 365   measure and estimate mail migration throughput...Mail migration to office 365   measure and estimate mail migration throughput...
Mail migration to office 365 measure and estimate mail migration throughput...
 
Mail migration to office 365 factors that impact mail migration performance...
Mail migration to office 365   factors that impact mail migration performance...Mail migration to office 365   factors that impact mail migration performance...
Mail migration to office 365 factors that impact mail migration performance...
 
Mail migration to office 365 optimizing the mail migration throughput - par...
Mail migration to office 365   optimizing the mail migration throughput - par...Mail migration to office 365   optimizing the mail migration throughput - par...
Mail migration to office 365 optimizing the mail migration throughput - par...
 
Stage migration, exchange and autodiscover infrastructure part 1#2 part 35#36
Stage migration, exchange and autodiscover infrastructure  part 1#2  part 35#36Stage migration, exchange and autodiscover infrastructure  part 1#2  part 35#36
Stage migration, exchange and autodiscover infrastructure part 1#2 part 35#36
 
Autodiscover flow in an office 365 environment part 3#3 part 31#36
Autodiscover flow in an office 365 environment  part 3#3  part 31#36Autodiscover flow in an office 365 environment  part 3#3  part 31#36
Autodiscover flow in an office 365 environment part 3#3 part 31#36
 
Autodiscover flow in an exchange hybrid environment part 1#3 part 32#36
Autodiscover flow in an exchange hybrid environment  part 1#3  part 32#36Autodiscover flow in an exchange hybrid environment  part 1#3  part 32#36
Autodiscover flow in an exchange hybrid environment part 1#3 part 32#36
 
Autodiscover flow in an exchange on premises environment non-active director...
Autodiscover flow in an exchange on premises environment  non-active director...Autodiscover flow in an exchange on premises environment  non-active director...
Autodiscover flow in an exchange on premises environment non-active director...
 
Autodiscover flow in an exchange on premises environment non-active director...
Autodiscover flow in an exchange on premises environment  non-active director...Autodiscover flow in an exchange on premises environment  non-active director...
Autodiscover flow in an exchange on premises environment non-active director...
 
Autodiscover flow in an exchange on premises environment non-active director...
Autodiscover flow in an exchange on premises environment  non-active director...Autodiscover flow in an exchange on premises environment  non-active director...
Autodiscover flow in an exchange on premises environment non-active director...
 
Outlook test e mail auto configuration autodiscover troubleshooting tools p...
Outlook test e mail auto configuration  autodiscover troubleshooting tools  p...Outlook test e mail auto configuration  autodiscover troubleshooting tools  p...
Outlook test e mail auto configuration autodiscover troubleshooting tools p...
 
Microsoft remote connectivity analyzer (exrca) autodiscover troubleshooting ...
Microsoft remote connectivity analyzer (exrca)  autodiscover troubleshooting ...Microsoft remote connectivity analyzer (exrca)  autodiscover troubleshooting ...
Microsoft remote connectivity analyzer (exrca) autodiscover troubleshooting ...
 

Recently uploaded

How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
DanBrown980551
 
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham HillinQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
LizaNolte
 
Christine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptxChristine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptx
christinelarrosa
 
Essentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation ParametersEssentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation Parameters
Safe Software
 
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
saastr
 
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
"Scaling RAG Applications to serve millions of users",  Kevin Goedecke"Scaling RAG Applications to serve millions of users",  Kevin Goedecke
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
Fwdays
 
A Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's ArchitectureA Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's Architecture
ScyllaDB
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
ScyllaDB
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
Pablo Gómez Abajo
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
Neo4j
 
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Pitangent Analytics & Technology Solutions Pvt. Ltd
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
Ajin Abraham
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 

Recently uploaded (20)

How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
 
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham HillinQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
 
Christine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptxChristine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptx
 
Essentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation ParametersEssentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation Parameters
 
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
 
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
"Scaling RAG Applications to serve millions of users",  Kevin Goedecke"Scaling RAG Applications to serve millions of users",  Kevin Goedecke
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
 
A Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's ArchitectureA Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's Architecture
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
 
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 

Smtp relay in office 365 environment troubleshooting scenarios - part 4#4

  • 1. Page 1 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 The current article is dedicated the subject on – troubleshooting possible problems when using an SMTP mail relay server for sending mail to the Office 365 mail infrastructure. Send mail to Exchange Online – Article Series  Send mail to Exchange Online | Part 1#4  Send mail to Exchange Online using standard SMTP session | Part 2#4  SMTP Relay in Office 365 environment | Part 3#4  SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4
  • 2. Page 2 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 In the former article, we review the concept of how configure IIS SMTP server as a mail relay in an Office 365 based environment. When using the option of SMTP mail relay in an Office 365 environment, the mail flow can be considered as complex because, there are a couple of elements that are involved in this process and each of these elements has specific characteristics or specific configuration settings. In a scenario in which we have problem meaning, mail that is sent by the source mail client (Hardware device, mail application and so on) doesn’t reach to his destination (the Office 365 recipient or other external recipient), the ability to point out the exact cause of the problem is not so simple. For example, a scenario in which FAX device needs to send E-mail message to Office 365 recipient involved the following steps: 1. FAX device connects the IIS SMTP mail relay server (IIS server in our scenario). 2. The SMTP mail relay server is willing to accept the request from the mail client (the fax device in our scenario). 2. The SMTP mail relay server connects the “destination mail server” (the EOP mail server in our scenario). 3. The “destination mail server” is willing to accept the request from the SMTP mail relay server. 4. The “destination mail server” (EOP) sends the E-mail message to the destination recipient.
  • 3. Page 3 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 In reality, the mail flow includes additional steps that we didn’t mention such as performing DNS resolution process and so on. Because of this complexity, we need to be familiar with the different components that are involved in the mail flow and what are the troubleshooting steps, troubleshooting tools and the methods that we can use in a scenario that the mail flow is not successfully completed. Simulating mail flow | mail sent by internal mail client via IIS SMTP mail relay server After we have completed all of the required configuration, the best practice is to implement some kind of “POC” (proof of concept) test, that will enable us to verify that the mail flow is implemented correctly meaning the E-mail message successfully reaches the destination recipient mailbox. To be able to test and verify the mail flow when using an SMTP mail relay, we will simulate a mail flow in which organization mail client tries to send E-mail message to Office 365 mail recipient. The “parameters” that we want to check and verify are:  The ability of the mail client to contact the IIS SMTP mail relay server and the ability of the IIS SMTP mail relay server to contact the Office 365 mail server.  The ability of the IIS SMTP mail relay server to send E-mail on behalf of a different mail client. As mentioned in the article –SMTP Relay in Office 365 environment | Part 3#4, in a scenario in which the IIS SMTP mail relay server accepts requires
  • 4. Page 4 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 from different mail client and need to “forward” the E-mail message to the Office 365 mail server, the users account that is used by the IIS SMTP mail relay server will need to have Send As permission for each of the “mail client” that addresses him. To verify these parameters, we will use two different tests. Test 1 – a simple test in which we simulate mail client that uses the same E-mail address as the user credentials that are used by the IIS SMTP mail relay server. Test 2 – simulate mail client, which use the different E-mail address from the user credentials that are used by the IIS SMTP mail relay server. In the case, we want to verify if the required Send As permission was defined for the IIS SMTP mail relay server user account. How to simulate the mail flow. In our scenario, the “real” mail client could be hardware devices such as FAX machines, Scanner or Printer or a mail-enabled application. The main problem is that most of the time, this “mail client” doesn’t have the option for providing clear infrastructure in a scenario of failure, meaning a scenario in which mail is not sent to the destination recipient. To be able to get a clear view of the mail flow process, I recommended a very nice SMTP mail client utility named: Basic SMTP Telnet Client. The Basic SMTP Telnet Client utility enables us to simulate the mail flow and “see” the content of the communication channel between the mail client and the mail server (the IIS SMTP mail relay in our scenario). In addition, we can use the option of “debug” (enable step by step sending) option to get information about the specific cause for the problem. Test 1 – using SMTP mail relay | Destination recipient = SMTP mail relay credentials In the first test, we want to verify that the mail flow can be completed successful, meaning each of the different “elements” that are involved in the mail flow can communicate each other.
  • 5. Page 5 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 In our scenario, the mail client will identify himself by using an E-mail address that is identical to the user credentials that are used by the IIS SMTP mail relay. Regarding the subject of the “destination recipient” to E-mail address of the destination recipient doesn’t matter as long as we have the ability to access the destination recipient mailbox and verify if he got our test mail. The character of the current scenario is:  Source recipient – John@o365info.com  IIS SMTP mail relay credentials – John@o365info.com  Destination recipient – John@o365info.com In the following section, we will use the Basic SMTP Telnet Client utility for the simulating mail flow of the internal mail client. In use the Telnet properties tab, for configuring the communication setting with the internal interface of the IIS SMTP mail relay server.  Receive connector IP: add the IP Address of the IIS SMTP Server (in our specific scenario, the IP address is – 10.13.137.2).  TCP Port: This is the port number of the IIS SMTP mail relay “LAN interface”. The default port which is used for “listing” to mail client is – 25  Mail From: inside the text box, we will need to add E-mail address the “represent” the internal mail client that wants to send an E-mail message via the IIS SMTP mail relay. In our specific scenario, the source recipient is – John@o365info.com
  • 6. Page 6 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 Recipient To: in this text box, we will need to add the email address of the “destination recipient” that is supposed to get the mail from the internal mail client. In our specific scenario the destination Office 365 recipient is – John@o365info.com  Subject: this is an optional parameter that will create the “Subject header”. In our specific scenario, the subject is Test 001 To send the E-mail message we need to choose the Telnet tab and click on the SEND option In the following screenshot, we can see that the “first part” in our mail flow, the part in which the internal mail client addresses the internal interface of the IIS SMTP mail relay was successfully completed.
  • 7. Page 7 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 The IIS SMTP mail relay “agree” to accept the E-mail message and he “inform” the mail client that – the E-mail message is Queued mail for delivery The fact that the first part in the mail flow was successfully completed, doesn’t mean that we can assume that the E-mail message was reached to the destination Office 365 recipient mailbox. To be able to verify that the E-mail message was sent by the IIS SMTP mail relay to the Office 365 mail servers (the EOP that is represented by the host name smtp.office365.com) we will need to access the destination recipient mailbox (John in our example) in verifying if he got the E-mail message. In the following screenshot, we can see that the E-mail message reaches John mailbox.
  • 8. Page 8 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 Test 2 – Verify the ability of the SMTP mail relay to send email on behalf of different mail clients. In case that the first test was completed successfully and, we know that the mail flow is configured correctly, the next step is to verify the ability of the IIS SMTP mail relay to deliver an email message on behalf of different mail clients. For example, the basic assumption is that each of the mail clients that will address the IIS SMTP mail relay server will identify himself by using a unique E-mail address. The IIS SMTP mail relay server identifies himself to the Office 365 mail servers by using a specific user account (John@o365info.com in our scenario) and to be able to deliver mail on behalf of another mail recipient; the IIS SMTP mail relay server user account, will need to be configured with Send As permissions for each of the mail clients that he will “forward” their requests to the Office 365 mail server. The characters of the current scenario are:  Source recipient – Fax@o365info.com  IIS SMTP mail relay credentials – John@o365info.com  Destination recipient – John@o365info.com Pay attention that in this type of scenario, the IIS SMTP mail relay needs to have the “Send As” permission that will enable him to send the E-mail message on behalf of
  • 9. Page 9 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 the source mail recipient (in our scenario Fax@o365info.com). In the following section, we will use the Basic SMTP Telnet Client utility for the simulating mail flow of the internal mail client. In use the Telnet properties tab, for configuring the communication setting with the internal interface of the IIS SMTP mail relay server.  Receive connector IP: add the IP Address of the IIS SMTP Server (in our specific scenario, the IP address is – 10.13.137.2).  TCP Port: This is the port number of the IIS SMTP mail relay “LAN interface”. The default port which is used for “listing” to mail client is – 25  Mail From: inside the text box, we will need to add E-mail address the “represent” the internal mail client that wants to send E-mail message via the IIS SMTP mail relay. In our specific scenario, the source recipient is – Fax@o365info.com Recipient To: in this text box, we will need to add the email address of the “destination recipient” that is supposed to get the mail from the internal mail client. In our specific scenario the destination Office 365 recipient is – John@o365info.com  Subject: this is an optional parameter that will create the “Subject header”. In our specific scenario, the subject is Test 002.
  • 10. Page 10 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 To send the E-mail message we need to choose the Telnet tab and click on the SEND option In the following screenshot, we can see that the “first part” in our mail flow, the part in which the internal mail client addresses the internal interface of the IIS SMTP mail relay was successfully completed. The IIS SMTP mail relay “agree” to accept the E-mail message and he “inform” the mail client that – the E-mail message is Queued mail for delivery.
  • 11. Page 11 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 The fact that the first part in the mail flow was successfully completed, doesn’t mean that we can assume that the E-mail message was reached to the destination Office 365 recipient mailbox. In our scenario, we will see that the E-mail message was not successfully sent to the Office 365 recipients. The IIS SMTP mail relay “agree” to accept the E-mail message, but in the next section, we will see that the destination mail server (the Office 365 EOP server) didn’t agree to accept the E-mail message. When we access the destination recipient mailbox (John in our example) we discover that the mail message did not reach John’s mailbox! The questions that appear are: Q1: What is the reason for the failure of the mail flow?
  • 12. Page 12 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 Q2: How can we find information about the cause of the failure of the mail flow? Q3: How can we fix this mail flow problem? Reading the IIS SMTP server Log file for getting more information A1: The cause of the mail flow failure is a permission problem, or if we want to be more accurate – “Send As” permission problem. The user account that the IIS SMTP mail relay users (John@o365info.com) doesn’t have the required permissions to send E-mail on behalf of the mail recipient – Fax@o365info.com A2: To be able to get more detailed information about the mail flow and the cause of the failure, we will use the IIS SMTP mail server mail delivery report that is stored in a folder named: Badmail. The full path of the badmail folder is: C:inetpubmailrootBadmail
  • 13. Page 13 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 In the following screenshot, we can see the information that is saved in the badmail folder. The IIS SMTP server generates three different files for each “mail delivery failure”. Two of the files that appear in the badmail folder or just a simple text file. To get more information about the reason of the failure, we will try to read the information in the file with the file extension – *.BDR In the file, we can see the following error message: The specific error code was 0xC00402C7. The problem is that there is not much that we can understand from this error message.
  • 14. Page 14 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 The more useful information about the reason of the failure, is located in the file with the extension – *.BAD When looking the content of the “BAD File” we can see Delivery to the following recipients failed. – john@o365info.com And in addition- Final-Recipient: rfc822;john@o365info.com Action: failed
  • 15. Page 15 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 Status: 5.7.60 Diagnostic-Code: smtp;550 5.7.60 SMTP; Client does not have permissions to send as this sender The meaning of this error message is that the IIS SMTP mail relay addresses the Office 365 mail server (EOP server) and tries to “delver” the E-mail message to the source mail recipient –Fax@o365info.com Because the “cloud” identifies the IIS SMTP mail relay as – John@o365info.com and because John doesn’t have the required “Send As” permission to send E-mail on behalf of the “Fax recipient” the EOP server refuses to accept the E-mail message.
  • 16. Page 16 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 Assign the required Send As permission to the IIS SMTP server user account To be able to “fix” this issue, we will assign the user account that is used by the IIS SMTP mail relay – John@o365info.com, Send As permission to the “FAX recipient.” Note – The basic assumption is that we have already created a distribution group that represents” the Mail enabled FAX device entity. To be able to assign the Send As permission, we will login to the Exchange Online man agent interface.  Choose the recipients menu and then the groups menu  Double-click on the required distribution group (FAX group in our scenario).
  • 17. Page 17 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015  Choose the menu – group delegation. In the following screenshot, we can see we can see that by default, no recipient has the Send As permission for this group. Under the Send As section, click on the plus icon to add recipients that will have the required Send As permission. In our specific scenario we want to assign this permission to the recipient named: John, that mail recipient who is used by the IIS SMTP mail relay.
  • 18. Page 18 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 After we have added the required permissions, we got to try to send again the E- mail message. In the following screenshot, we can see that at this time, the message was successfully reached the destination recipient mailbox.
  • 19. Page 19 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 In case that you are a curious person, and you would like to view the information about the E-mail message delivery that was implemented by the IIS SMTP mail relay, we can look at the IIS SMTP mail relay log files. By default, the IIS SMTP mail relay log files are located at the following path: C:WindowsSystem32LogFilesSMTPSVC1 In the following screenshot, we can see that the SMTPSVC1 folder include many log files. We will need to choose the most updated log files.
  • 20. Page 20 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 When looking at the Log file, we can see a very detailed description for each of the steps that was implemented in the mail flow between the IIS SMTP mail relay and the Office 365 mail servers. For example: we can see that the mail is composed from few phases:  Phase 1 – the phase in which the IIS SMTP mail relay addresses the Office 365 mail server and the session is a TLS session based.  Phase 2 – the authentication phase in which the IIS SMTP mail relay provides his credentials to the Office 365 mail server  Phase 3 – the phase in which the IIS SMTP mail relay “deliver” the E-mail message to the Office 365 mail server and provide information about the source + destination recipient.  Phase 4 – the Office 365 mail server accept the E-mail message from the IIS SMTP mail relay and store the E-mail message on the queue.
  • 21. Page 21 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 Verifying the ability to access office 365 mail server using TLS protocol In this section, we will review how to troubleshoot common “causes” for mail flow problem when using IIS SMTP relay option. Troubleshooting TLS based mail flow | The elimination concept
  • 22. Page 22 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 In a scenario in which we don’t manage to send E-mail to the destination recipient, the most common reaction is: “something is wrong with the cloud”. If we want to take a more effective approach, the troubleshooting process should be implemented by eliminating specific components that are involved in the mail flow process until we can clearly point out the specific element that are not configured correctly. For example, on a case that E-mail message that was sent by a mail client such as FAX device did not reach her destination, we will need to verify if all the components that involved in the process are configured correctly. In the following diagram, we can see a standard mail flow when using the option of SMTP mail relay for sending E-mail message to Office 365 mail infrastructure. In the following section, we will demonstrate how to bypass the following components: 1. Mail client (the FAX device in our example) 2. The IIS SMTP mail relay Our main purpose is to verify that  We can communicate with the “cloud” (the Office 365 mail server represented by the hostname – smtp.office365.com ) using the TLS protocol
  • 23. Page 23 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015  That the Office 365 mail server is willing to accept our request and deliver or mail to the destination recipient. The concept of “secure communication channel” in an Office 365 environment. Just a quick reminder, the “secure communication channel” is implemented using port 25 or 587. In our scenario, the basic assumption is that the mail flow will be implemented as follow:  The client will address the destination mail server (the EOP server)  The EOP server will signal to the source client that he needs to use TLS protocol + provide users credentials.  The client will provide the required users credentials.  “Secure communication channel” (TLS) will be created.  The client will request from the EOP server to send E-mail message to a destination recipient. The mail client that will be used for the test purpose In the following section, we will demonstrate how to test TLS communication with the Office 365 mail server by using three different mail clients 1. Windows OS client
  • 24. Page 24 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 2. PowerShell script 3. Graphic mail client named – JBMail Option 1 – verify communication to EOP server using Windows Telnet client One of the simplest ways of verifying a communication channel with a mail server (the EOP server in our scenario) is by using a Telnet session. In case that we manage to “Telnet” the destination host, we can know that: 1. We successfully manage to resolve the hostname (smtp.office365.com in our scenario) into IP addresses. 2. That the network Firewall enables us to “get out” using the required port number (25 or 587). 3. That the destination server (Office 365 mail server) is “up” and he can respond to our communication request. The only “catch” is that the communication with the Office 365 mail server – smtp.office365.com , should be implemented by using TLS session and the standard windows OS Telnet client, doesn’t support the use of TLS protocol. Despite this limitation, I use the option if windows OS Telnet client because it’s easy and simple, and it allows me to verify the basic elements that were mentioned (resolve the hostname, etc.). Using windows telnet client for communicating with the Office 365 mail server For example: open a command prompt and type the following commands: Telnet smtp.office365.com 25 Helo mail from:john@o365info.com In the following screenshot, we can see that the communication test fails and the EOP server sends the Error message: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM
  • 25. Page 25 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 The meaning of this Error message is that the “source client” (the Telnet client in our example), doesn’t manage to successfully fulfill the mandatory requirement for an encrypted communication channel (TLS in our scenario). The reason for our failure is that we use the “wrong tools” for the specific task. A “standard OS Telnet client” doesn’t know how to implement a secure communication channel using TLS. Additional reading How to Use Telnet to Test SMTP Communication Option 2 – using a PowerShell script for simulating a secure communication channel with EOP server To be able to simulate a secure communication channel (TLS channel) between a specific host and the Office 365 mail server (the EOP -Exchange Online protection server), we could use a PowerShell script.
  • 26. Page 26 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 To avoid from the need of typing complicated and strange PowerShell commands, I have preferred a PowerShell script that is simple to use. Download the PowerShell Script named: SendMail.ps1 The SendMail.ps1 PowerShell script is based on a PowerShell code sample that appear in the article: Send Email via Office 365 The code that included in the SendMail.ps1 PowerShell script In the following screenshot, we can see the content of the SendMail.ps1 PowerShell script. The script includes predefined variable such as the SMTP server name and port numbersmtp.office365.com and port 25 in our scenario).
  • 27. Page 27 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 To be able to successfully complete the TLS session with the EOP server, it’s important to understand that the mandatory requirement for creating the secure communication channel with the EOP server is by providing the required Office 365 user credentials (UPN name + password). The first two parameters that we need to provide are the Office 365 username and password. The last parameter is the “destination recipient Email address”. Using the SendMail.ps1 PowerShell script Then send mail PowerShell script can be excited from the built-in OS PowerShell console. To be able to run a PowerShell, we will need to run a PowerShell policy command that will enable us to run the PowerShell script (by default, the PowerShell policy will not enable us to run a script).
  • 28. Page 28 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 In our scenario will be trying to create a secure communication channel between a specific host and the Exchange Online protection server by using the credentials of Office 365 users named:John@o365info.com To simplify the test, we will use the E-mail of John as the “destination E-mail address”. Running a PowerShell script first-time configuration.  Locate the PowerShell console  Right click on the PowerShell icon and choose the option: Run as administrator  On the PowerShell console run the following command: Set-ExecutionPolicy Unrestricted -force
  • 29. Page 29 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 Run the SendMail.ps1 PowerShell script To be able to excite the SendMail.ps1 PowerShell script we will need to “call” the script from the PowerShell console. In our example, the SendMail.ps1 PowerShell script was saved in the following path: C:Script To be able to excite a PowerShell script, we need to type the following charters: “.” and then the script name. In the following screenshot, we can see we can see an example of running the SendMail.ps1PowerShell script: In the following screenshot, we can see the mailbox of john. We can see the mail was sent by John from the PowerShell script reach John’s mailbox.
  • 30. Page 30 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 Option 3 – Send E-mail message to Exchange Online using TLS | GUI mail client In the following section, we will demonstrate how to send E-mail message to Exchange Online (EOP) using an encrypted communication link (TLS). The mail client application that I found for the purpose of simulating the TLS session named: JBMail You download the mail client from the following link JBMail
  • 31. Page 31 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 The following demonstration is implemented by using two steps: 1. Configure the mail client profile – the step in which we define the user credentials that will be used for connecting the Exchange Online server, the type of communication protocol, etc. 2. Create (compose) a new E-mail message. Scenario description In our scenario will implement a very simple test: a recipient named: John@o365info.com that will send mail to himself by connecting the EOP server (smtp.office365.com) using TLS.  Choose the Account TAB  In the User name box, add the recipient credentials that will authenticate himself to EOP server. In our example – John@o365info.com
  • 32. Page 32 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015  Choose the Send settings TAB  In the SMTP host box, type the hostname of the EOP server – smtp.office365.com (Number 1).  In the Username box, type the recipient name whom the mail will send by him. In our example –John@o365info.com (Number 2).  In the Password box, type the recipient name password that the mail will send by him (Number 3).  In the Protocol section, choose the option of – SSL via STARTTLS (Number 4).  Choose the option of – use SMTP AUTH (Number 4).  In the Your address box, type the E-mail address of the recipient whom the mail will be sent by him – In our example – John@o365info.com (Number 5).
  • 33. Page 33 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015  In the port box, type the port number. In our scenario port 25 (Number 6). Create a new mail message by choosing the Account tab and click on the Compose
  • 34. Page 34 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015  In the TO field, add the E-mail address of the destination recipient. In our example –John@o365info.com
  • 35. Page 35 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015  Click on the Send button to send the E-mail message
  • 36. Page 36 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 The following message will appear: Choose the Accept option
  • 37. Page 37 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 In the following screenshot, we can see that the E-mail message was successfully sent to the EOP server.
  • 38. Page 38 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 In the following screenshot, we can see that the E-mail message was accepted by John. In case that we want to be sure that the E-mail message was sent using a secure communication channel (TLS), we can look at the E-mail message header.  Double click on the E-mail message  Choose the more options icon (the three dots)
  • 39. Page 39 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015  Choose the menu – View message details In the following screenshot, we can see the mail header of the message that was sent to John. We can see that the communication was implemented using TLS.
  • 40. Page 40 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 Verify TLS setting of the Mail server The implementation of “secure communication channel” between the IIS SMTP mail relay in the Office 365 EOP server is implemented by using the TLS protocol. The IIS SMTP mail relay includes a built-it supports in the TLS protocol and gives that we have created all the required configuration setting that was described in the article – xxx, the communication channel between the IIS SMTP mail relay and the Office 365 EOP server who is represented by the host name: smtp.office365.com is created.
  • 41. Page 41 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 In some scenarios, in case that we suspect that the problem is related to the TLS infrastructure, the mail issue is that the TLS communication channel is kind of a “black box” and by default, we have no simple option to look at the TLS parameters. In case that you are interested in getting more information about the content of the TLS session, we can use a nice web site tool named – checktls that can help us to test a TLS session between client and the mail server. In the next example, we will look at the TLS session between Office 365 recipient named:John@o365info.com and the Office 365 EOP server – smtp.office365.com In the Address text we add the recipient E-mail message – John@o365info.com and click on theTry it In the following screenshot, we can see the results. Number 1 – this is a summary of the whole TLS parameters that are involved in the communication process. In our scenario, we can see that the TLS communication channel complete successfully, and all the different parameters are correct. Number 2 – the part that displays the E-mail address of the “destination recipient”. Number 3 – the web test application finds the host name of the Office 365 mail server. In our scenario – o365info-com.mail.protection.outlook.com
  • 42. Page 42 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 Number 4 – we can see that the TLS session “begin” by using the SMTP command – STARTTLS Number 5 – In this section we can see the content of the SSL certificate that the “destination mail server” provides. Number 6 – in this section we section we can see that the TLS communication channel was successfully created.
  • 43. Page 43 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 Summery and Recap I feel that we went together on a long journey in the “IIS SMTP World.” I hope that this information will help you to implement the SMTP relay solutions in an Office 365 environment. See you in the next articles Additional reading  How to Allow a Multi-function Device or Application to Send E-mail through Office 365 Using SMTP  How to configure Internet Information Server (IIS) for relay with Office 365  SMTP error 550 5.7.1 Client does not have permissions to send as this sender  Video links
  • 44. Page 44 of 44 | SMTP Relay in Office 365 environment | Troubleshooting scenarios |Part 4#4 Written by Eyal Doron | o365info.com | Copyright © 2012-2015  Ignite Webcast – SMTP Relay in Office 365  Everything You Need to Know about SMTP Transport for Office 365