Solved

Exchange 2013 Outbound Email Send Connector via Smarthost configuration

Posted on 2013-12-26
7
3,172 Views
Last Modified: 2013-12-27
I need to configure Exchange 2013 to use my email providers settings as a smarthost to be used in a send connector. So far I have tried configuring the hostname with authentication and the right port but TLS / SSL doesn't seem to get enabled.

Here are the SMTP settings from the provider (Fastmail)


SMTP


Server: mail.messagingengine.com
Port: 465
SSL/TLS Encryption: Enabled (but not STARTTLS)
Authentication: PLAIN (Our SMTP ports are for authenticated SMTP only; you'll need to make sure your software supports authenticated SMTP and also set up a username and password)

Username: your FastMail username/login name/email address (must include @fastmail.fm part)

Password: your FastMail password

Alternatively, if you're client supports STARTTLS only, you can use port 587 with STARTTLS enabled.
0
Comment
Question by:elchermans
  • 4
  • 3
7 Comments
 
LVL 12

Expert Comment

by:Navdeep
ID: 39741288
Hi,

Exchange 2013 uses starttls, have you tried using port 587 instead of 465?

Regards,
Nav
0
 
LVL 1

Author Comment

by:elchermans
ID: 39741337
I did try using port 587 as well.

I can ping the ips 66.111.4.73  and  82.145.212.145

Here are the protocol logs:



2013-12-26T09:00:40.652Z,Fastmail Outbound,08D0D02F6C4711F4,1,,66.111.4.73:587,*,,"Failed to connect. Error Code: 10060, Error Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 66.111.4.73:587"
2013-12-26T09:00:40.653Z,Fastmail Outbound,08D0D02F6C4711F5,0,,66.111.4.72:587,*,,attempting to connect
2013-12-26T09:01:01.647Z,Fastmail Outbound,08D0D02F6C4711F5,1,,66.111.4.72:587,*,,"Failed to connect. Error Code: 10060, Error Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 66.111.4.72:587"
2013-12-26T09:01:01.648Z,Fastmail Outbound,08D0D02F6C4711F6,0,,66.111.4.70:587,*,,attempting to connect
2013-12-26T09:01:22.652Z,Fastmail Outbound,08D0D02F6C4711F6,1,,66.111.4.70:587,*,,"Failed to connect. Error Code: 10060, Error Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 66.111.4.70:587"
2013-12-26T09:01:22.653Z,Fastmail Outbound,08D0D02F6C4711F7,0,,66.111.4.71:587,*,,attempting to connect
2013-12-26T09:01:43.647Z,Fastmail Outbound,08D0D02F6C4711F7,1,,66.111.4.71:587,*,,"Failed to connect. Error Code: 10060, Error Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 66.111.4.71:587"
2013-12-26T09:01:43.648Z,Fastmail Outbound,08D0D02F6C4711F9,0,,82.145.212.141:587,*,,attempting to connect
2013-12-26T09:02:04.646Z,Fastmail Outbound,08D0D02F6C4711F9,1,,82.145.212.141:587,*,,"Failed to connect. Error Code: 10060, Error Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 82.145.212.141:587"
2013-12-26T09:02:04.646Z,Fastmail Outbound,08D0D02F6C4711FA,0,,82.145.212.145:587,*,,attempting to connect
2013-12-26T09:02:25.651Z,Fastmail Outbound,08D0D02F6C4711FA,1,,82.145.212.145:587,*,,"Failed to connect. Error Code: 10060, Error Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 82.145.212.145:587"
2013-12-26T09:02:25.651Z,Fastmail Outbound,08D0D02F6C4711FB,0,,82.145.212.142:587,*,,attempting to connect
2013-12-26T09:02:46.692Z,Fastmail Outbound,08D0D02F6C4711FB,1,,82.145.212.142:587,*,,"Failed to connect. Error Code: 10060, Error Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 82.145.212.142:587"
2013-12-26T09:02:46.692Z,Fastmail Outbound,08D0D02F6C4711FC,0,,82.145.212.143:587,*,,attempting to connect

0
 
LVL 12

Expert Comment

by:Navdeep
ID: 39741339
based on this log, it seems that you are not able to connect to the remote server, if you use telnet / putty and try to connect to IP Port, do you get to see the banner of fastmail?
like this
telnet IP portNo
0
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

 
LVL 1

Author Comment

by:elchermans
ID: 39741342
telnet mail.messagingengine.com 465:

Blank Screen - so connection is being established



telnet mail.messagingengine.com 587:

220 mail.messagingengine.com ESMTP ready
0
 
LVL 12

Accepted Solution

by:
Navdeep earned 500 total points
ID: 39741358
So now 587 works well. Did fastmail provided any specific settings for setting up TLS? in exchange 2013, it will try to submit the msg using tls and if tls is not available it will switch to non tls mode. Also know as opportunistic TLS.

btw does your provider require you to use trusted certificate? TLS can fail if certificate requirements are strict.

Check this article on mutual tls. This for 2010 but the concept is almost the same.
http://technet.microsoft.com/en-us/library/bb123543%28v=exchg.141%29.aspx

Regards,
Nav
0
 
LVL 1

Author Comment

by:elchermans
ID: 39741365
I got it to work after using the IP address rather than the hostname. Thanks for your assistance!
0
 
LVL 12

Expert Comment

by:Navdeep
ID: 39741368
Glad, it worked for you.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Shared namespace and Office365 2 19
Exchange 2013 ECP log me out 3 19
outlook 3 19
Tracking Bouncebacks in PHPMailer 2 4
"Migrate" an SMTP relay receive connector to a new server using info from an old server.
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
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…

708 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

19 Experts available now in Live!

Get 1:1 Help Now