Solved

Office 365 tenant not receiving SMTP emails

Posted on 2016-10-12
5
69 Views
Last Modified: 2016-10-13
HI ,
I have configured a SMTP site on a Virtual machine. I am using Database mail from sql server to send a test email. I can send an email to my yahoo address successfully. However the send test mail is not working for a Office 365 email address.
The sysmail event log shows status of mail as sent in the msdb database.
On office 365 there is nothing in the Quarantine or mail flow restrictions either.

Cheers

john
0
Comment
Question by:John Davies
  • 2
  • 2
5 Comments
 
LVL 40

Accepted Solution

by:
Vasil Michev (MVP) earned 250 total points
ID: 41839891
Any O365 address? Or just the ones in your tenant? What's your current configuration, do you have on-prem Exchange servers, what kind of object you have for the address on-prem and where is the MX pointing at? And how are you sending the messages, is it a direct send or via SMTP relay (the different methods are detailed here: http://technet.microsoft.com/en-us/library/dn554323.aspx)?

You can run a message trace to check whether the message actually hit the EO servers: https://technet.microsoft.com/en-us/library/jj200712(v=exchg.150).aspx
0
 

Author Comment

by:John Davies
ID: 41839910
Hi Vasil,

Without testing all email address Vasil it seems as though it is just test mails to our tenant which is weird as they worked the other day and we have made no changes.

There is no on-prem servers, everything is cloud, the set up is in Azure and we have just set an SMTP service without office365 relay.

We are not using office365 to send email.

What is direct send?

As for the message trace i did not find anything relating to the email.

Have checked the trace also and they do not exist in there, weird as they are getting sent to a test Yahoo account.

Ta

John
0
 
LVL 40

Assisted Solution

by:Adam Brown
Adam Brown earned 250 total points
ID: 41840052
Are you using the same domain name in the FROM: field on the messages you're sending as the recipients? Because Microsoft black-holes messages that originate from outside O365 that are sent from: an O365 tenant's domain name to: the same domain name. Those are regarded as blatant spoofing attempts and completely dropped by their filters without logging. You would either need to modify the Spam protection settings to allow those messages from your SMTP server's IP address and create a receive connector that directly accepts those messages from your server's IP.
0
 
LVL 40

Expert Comment

by:Vasil Michev (MVP)
ID: 41840119
And make sure to add the IP/FQDN of the sending server to your SPF record. You can find details on how to do that in the article I listed above.
0
 

Author Closing Comment

by:John Davies
ID: 41842028
Thanks guys for your help, both were very helpful. Sorry for delay
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Matching variables and Compare-Object 24 51
Powershell Command for Distribution Lists 2 32
EXCHANGE 3 23
Purge \Deleted Items? 2 27
Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question