All of my email is now delivered to the cloud (Office 365). But my SBS 2008 still sends a daily report, and other services (like the APC PowerChute UPS agent) sometimes use SBS as the server for outbound mail. So how can I get this mail delivered even if my new ISP blocks outbound port 25?
SBS comes with a wizard for configuring a smart host for email. Here’s how to set that up, with the additional steps needed to use TLS on port 587.
1. On the SBS Network > Connectivity screen, use the wizard to set up the smart host. You will need a login from a company that will relay mail for you, probably your ISP or a third-party web host. See “Office 365 as a Smart Host?” below if you’re wondering about that.
2. In the Exchange Management Console, find the Send Connector as shown below. On the Network tab, click on Change to adjust the smart host authentication:
Tip To troubleshoot your SMTP connections, you can turn on logging on the General tab, then check this folder:
C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs\ .
3. Check the Basic Authentication over TLS box and re-enter your password:
4. The smart host is now configured on port 25. To change that to 587, open the Exchange Management Shell and type the following commands (credit to this post):
This will show you the names of your send connectors. You should only have one.
Get-SendConnector | fl port
This will show you the port is currently set to 25.
Set-SendConnector -Identity “NAMEOFCURRENTSENDCONNECTOR” -Port 587
Change the port of your send connector to 587.
Get-SendConnector | fl
Confirm that your send connector is now using port 587 instead of port 25.
You may be wondering about using Office 365 as a smart host. Here’s what I found out:
pod51010.outlook.com #550 5.7.1 Client does not have permissions to send as this sender ##
I decided the simplest thing was to just use an account at my hosting provider, which accepts email from any sender as long as the smart host authenticates properly. Using my ISP account might work just as well.