This guide was made using CentOS 7 and Postfix service. Make sure you have done the basic configuration of postfix before setting up TLS.
RELAY HOST LIST PER LOCATION:
RELAY HOST DOMAIN
Los Angeles (LAX)
São Paulo (SAO)
IMPORTANT! Make sure to use same location relay host domain as you server.
Connect to your server and navigate to the postfix folder.
Open main.cf file with your favorite file editor.
Find the relayhost line and add domain address from the RELAY HOST PER LOCATION list (look at the beginning of this article).
In this example lon-tls.heficed.com:587
IMPORTANT! Make sure to uncomment the line (remove #)
Find a TRANSPORT MAP section and add a line:
transport_maps = hash:/etc/postfix/transport
After both lines are changed save and close the file.
With file editor open file transport
Sometimes the transport file is no created while installing postfix, in that case just create a new file and name it transport.
Inside the file in the beginning add these two lines:
heficed.com smtp: lon-tls.heficed.com:587
IMPORTANT! Make sure to change the information accordingly to your needs:
1. heficed.com change with your domain name.
2. lon-tls.heficed.com:587 change to the same as used in relayhost line.
After these two lines are added save and close the file.
Restart the postfix service. In CentOS 7:
systemctl restart postfix
After everything is done you can try sending mail.
IMPORTANT! Your mail will not be delivered until we (Heficed Support) add your server to our filtering list.
To do that please create a Technical Support Ticket at your terminal and fill this form down below:
Subject: "Request to enable TLS for my server/ips"
I have configured my mail server using ->http://kb.heficed.com/en/articles/4725611-how-to-set-up-tls-for-mailing
Please enable TLS for my server and the following additional ips:
Used relayhost domain: lon-tls.heficed.com:587
Server location: London (LON)
Server IP: x.x.x.x
Additional mailing ips:
Let me know when TLS is enabled.
IMPORTANT! Make sure to change BOLDED infomation accordingly to your case.
Sit back and relax your job is done!
Once our team adds your server and ips to the filtering list we will let you know.