• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 95
  • Last Modified:

How Can I Get Office365 to Relay SMTP Message to Recipient Outside of My Network

My company is using Hosted Exchange, via Office 365, for email services. I have a server that is co-located outside of our company network that needs to utilize SMTP to send emails to clients. I created an incoming connector in Exchange to allow relay of emails originating from the public IP of this server. If those emails are sent to an email address on one of the domains serviced by our Hosted Exchange, it gets delivered to the recipient. However, any emails sent by this server to a recipient not in one of our domains, simply disappears, and is never delivered. I even checked the SPF record for this domain, to ensure the IP address of the server is included in it. I have a feeling I am missing one simple step, yet for the life of me, I can't figure out what it is.
0
jimstrickland
Asked:
jimstrickland
  • 2
2 Solutions
 
footechCommented:
I believe the only way you can relay to other domains is to authenticate to O365 (and thus everything would appear to come from the account you authenticate as).
What we've done is to configure the SMTP server to send directly to other domains (and to specifically route emails for our domain to O365 servers).  Sounds like you've already got your SPF record set up for this.  If you do this, you just have to configure your A and PTR records as you would for any other email server which delivers to the internet.
0
 
jimstricklandAuthor Commented:
Microsoft support has verified that I have everything setup correctly. They are trying to figure out what the problem is on their end. Fortunately, I have a plan b. I already subscribe to SendGrid for sending out marketing mass mailers. It turns out I can successfully SMTP through my SendGrid account to solve the issue. I have tested successfully.
0
 
jimstricklandAuthor Commented:
I am accepting both solutions because the expert comment from footech is technically correct. It should have worked. However, I am using a different SMTP service because Microsoft has acknowledged a problem on their end that they are still working to correct.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now