Office 365 tenant not receiving SMTP emails

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
John DaviesAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Vasil Michev (MVP)Commented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
John DaviesAuthor Commented:
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
Adam BrownSr Solutions ArchitectCommented:
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.
Vasil Michev (MVP)Commented:
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.
John DaviesAuthor Commented:
Thanks guys for your help, both were very helpful. Sorry for delay
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Office 365

From novice to tech pro — start learning today.