Solved

internal app can't send email to office 365

Posted on 2013-06-28
7
1,375 Views
Last Modified: 2013-07-06
After we migrated to Online Exchange, our internal database not able to send email . I found out Office 365 use SSL/TLS with port 587, and our database only accept SSL port 465. I added in the Yahoo email and server then the database work fine, but not Office 365. I created smtp relay on the server, but still doesn't work. We have sbs 2011 standard server. Please help, thanks.
0
Comment
Question by:ld952
  • 5
7 Comments
 
LVL 10

Expert Comment

by:ecarbone
Comment Utility
I don't think Microsoft has any plans of changing this, and as far as I can tell, you cannot change the port that hosted Exchange / Office 365 uses.

Your best bet (if you can't change the way your database app works) is to set up a relay server.

You mentioned you did that, and it didn't work. Can you provide more detail?

What exactly doesn't "work"?
Are you able to telnet into the SMTP relay and test it?
Is it not accepting connections? Or it accepts the connection but won't relay it?
0
 
LVL 2

Expert Comment

by:nate0187
Comment Utility
Why can't you change the port in the app?
0
 

Author Comment

by:ld952
Comment Utility
I just run telnet on my domain and it failed on all 3 ports 25, 465, and 587. It could be that I setup properly but don't know how to connect it with the app. I'll setup the smtp relay again. Right now I follow this link to re-setup the smtp relay (http://support.microsoft.com/kb/230235). If you have any a better link, please advise.

The internal app we had is a DBA database, and I already contacted the tech support. He said the app only take SSL port 465 for email setting. I test office 365 smtp setting with scan to email on printer and it worked fine. I'll reconfigure the smtp relay again let you guy know, really appreciate your help.
0
Are end users causing IT problems again?

You’ve taken the time to design and update all your end user’s email signatures, only to find out they’re messing up the HTML, changing the font and ruining the imagery. What can you do to prevent this? Find out how you can save your signatures from end users today.

 

Accepted Solution

by:
ld952 earned 0 total points
Comment Utility
:) . I am able to setup SMTP relay by using this guide "Setup Windows Server 2008 SMTP Relay for Office 365" (http://www.getoffice365trial.com/configure-office-365-smtp-relay/).

This is what I think how SMTP route (please correct me if I am wrong)

LOB app > virtual smtp > office 365

How I setup SMTP relay for SBS 2011 standard.

1/ Create virtual smtp in IIS. Setup TLS/SSL if your LOB app require otherwise you don't have to.
Setting for each tab in Properties
General: add proper TCP port that work with your LOB app (ect: 25, or 465), logging is optional
Access: authentication > none, secure communication > none, connection and relay > all except the list below
Messages: I changed limit messages size to 10,000 KB
Delivery:  Outbound security > basic authentication > add user's email and password with TLS encryption checked, outbound connection > tcp port > 587, advanced > add smart host which for me is smtp.office365.com and unchecked "Attempt..." and "Perform...", LDAP routing > none, security > none
LDAP Routing
Security

2/ Create new remote domain (which is for office365) by right click on domain > new > remote
General: I didn't check on "Allow..." and "Send HELO..", outbound security > basic authentication > fill in user's email and address and check TLS, route domain > forward all mail to small host > smtp.office365.com
Advanced: none

3/ Make sure you point your LOB app to the virtual smtp (FQDN): right click on virtual server that you created > properties > Delivery > Advanced > fully-qualified domain name:

Hope my quick guide can help other :).
0
 

Author Comment

by:ld952
Comment Utility
Ok
0
 

Author Comment

by:ld952
Comment Utility
Ok
0
 

Author Closing Comment

by:ld952
Comment Utility
I did more research and understood how the smtp relay work and worked from there
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
Viewers will learn the different options available in the Backstage view in Excel 2013.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now