Solved

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

Posted on 2015-02-09
3
88 Views
Last Modified: 2015-03-03
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
Comment
Question by:jimstrickland
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 40

Assisted Solution

by:footech
footech earned 500 total points
ID: 40599823
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
 

Accepted Solution

by:
jimstrickland earned 0 total points
ID: 40628858
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
 

Author Closing Comment

by:jimstrickland
ID: 40641463
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

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

PHP contact form that lets the user to contact the company through email contact form. A button is fixed at the bottom of site, on clicking a new window will open where a user can send the email.
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses
Course of the Month4 days, 18 hours left to enroll

636 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