Securing SmarterMail via SSL/TLS
This article applies to SmarterMail 8.x - 15.4 and Dedicated Server Customers
NOTE: Due to the older TLS protocols being disabled and most mail clients will no longer support these older protocols, if you are on SmarterMail 8.x to 15.4 please contact our support team to either help identify your version and if you are on the older versions you will need to discuss the possibility of migrating to a newer server. Full support for these older versions of SmarterMail will no longer be available with Managed.com in the future.
SSL/TLS are security protocols that allow data being transmitted to be encrypted. With SSL/TLS encryption users can access email through a third-party email clients without fearing that someone has intercepted their data. SSL will encrypt the connection immediately upon connection. TLS will encrypt once the STARTTLS command is sent. TLS uses ports 25, 110, 143 and SSL requires ports 465, 993, and 995.
If you are a dedicated server customer, you may do this yourself. If you are a shared hosting customer, you must request that this be configured for you by contacting our support team.
Prior to configuring SmarterMail to be secured over SSL or TLS, the SSL certificate installed on the server must first be exported to a Base-64 Encoded certificate that SmarterMail can read. If an SSL certificate is not yet installed on the domain, see How to Create and Install an SSL Certificate. One SSL certificate can be used to secure all the mail on the SmarterMail server.
Follow these steps to export your SSL certificate to a Base-64 encoded certificate file:
-
Log into your dedicated server using Remote Desktop.
-
Type Windows key + R.
-
Type mmc.exe and press Enter.
-
Select File > Add\Remove Snap in....
-
Select Certificates and click the
Add> icon.
-
Select Computer account then Next.
-
Verify Local computer is selected and click Finish.
-
Click OK.
- In the Console Root expand Certificates (Local Computer), expand Personal, and choose Certificates.
- Right click the certificate in which you wish to export click All Tasks > Export.
-
In the Certificate Export Wizard, click Next.
-
Choose No, do not export the private key > Next.
-
Choose the Base-64 encoded X509 (.CER) file > Next.
-
Click Browse to choose a location to save the certificate to like C:\SmarterMail\Certificates\<SiteName> - Name the certificate, click Save.
-
Click Finish. Click OK.
Add a port to listen over SSL or TLS
-
Copy the path to your certificate to the clipboard or notepad.
-
Log into the SmarterMail server using one of the methods below.
-
Open a browser and type the IP address of the server with :9998 appended to the end and use admin and the server's password to log in.
-
Using the @Managed.com Control Suite, right click on the SmarterMail server to Log in as Admin.
-
Click the Settings icon.
-
Expand Bindings, click Ports.
-
Click New in the content pane toolbar.
-
Select the protocol you are wanting to encrypt - SMTP for sending mail, POP or IMAP for retrieving mail.
-
Choose SSL or TLS. TLS is the newer, preferred protocol.
-
Name the port, leave the default port number as is.
-
In the Certificate Path paste the path to the certificate you exported.
- Fill out a Description if desired.
- Click Verify Certificate to ensure the certificate exists in the specified path.
-
Click Save.
- Repeat for the other protocols you’d like to transmit securely.
Add the Ports SmarterMail Should Listen On to the Dedicated IP Address
Once you have added SSL to a port, you can follow the instructions below to add the port to listen on an IP:
-
Within SmarterMail, click the Settings icon.
-
Expand Bindings click IP Addresses.
-
Select desired IP address and click Edit.
-
Use the checkboxes to select the port(s) you would like the IP address to listen on.
-
Click Save.
Note, SMTP (25) must remain open for mail servers to communicate with one another. If you want to give your email users the option to send and receive their mail in an unencrypted format, POP (110) and IMAP (143) can also be open.
NOTE: For these changes to take effect, the SmarterMail service must be completely stopped then restarted.
Restart SmarterMail Service
-
On the dedicated server press the Windows key + R > type services.
-
Locate and right click on SmarterMail Service click Stop.
-
Once it has finished stopping the service, right click on it and choose Start.
Set Domain to Use TLS Authentication
- Within SmarterMail, select the domain that should be using encryption. Click Edit.
- Choose the Technical tab.
- In the TLS field, choose the drop down and select Enabled.
Please Note: The information below is for ADVANCED USERS ONLY and we will not support any issues with these steps:
Alternatively to check that your TLS/SSL connection is good to go you can run the following commands on a Linux server or MacOSX that has OpenSSL installed:
SMTP: openssl s_client -starttls smtp -crlf -connect <insert mail serve hostname or domain name>:25
POP3: openssl s_client -starttls pop3 -crlf -connect <insert mail serve hostname or domain name>:110
IMAP: openssl s_client -starttls imap -crlf -connect <insert mail serve hostname or domain name>:143
Remember to have your mail users configure Outlook, Thunderbird, or other email client to send and receive using encryption.
Article ID: 1970, Created: April 7, 2014 at 1:37 PM, Modified: December 21, 2020 at 12:04 PM