Solved

Exchange 2013 Outbound Email Send Connector via Smarthost configuration

Posted on 2013-12-26
7
3,227 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
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Pop culture is prime bait for hackers seeking to infect user’s computers and mobile devices with malicious malware. Hackers know exactly what the latest trends are online and know how to use them to their advantage.
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
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…

856 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