If you have been affected by the recent block of outgoing mail on port 25 for our SoftLayer locations (Singapore, San Jose, Dallas, Washington DC and Seattle), you will be able to use the following to configure another server in Salt Lake City, New York, London or Amsterdam to relay your email. Make sure that before you utilize this guide you purchase a new server via your account at https://control.vps.net. Please follow the steps below to complete this task.
**Please keep in mind that support cannot assist with the configuration of your new SMTP relay server unless you have purchased Enhanced or Ultimate.
We will first walk you through how to configure your current server to communicate with your new relay server on a port other than 25. Please follow the appropriate steps below based on the mail server you are currently using.
Navigate to the following location:
Insert the following line and save:
Navigate to the Exim configuration file:
Insert the following in the routers section (after begin routers) and save:
- Log into WHM and navigate to Mail -> Server Configuration -> Exim Configuration Manager
- Inside the Basic Editor locate the Smarthost support option
- Insert the <IP_address_of_new_server> in the text box and SAVE
All configurations have now been made to the current server and you can move to configuring the new server intended as the relay server. Please follow the steps below to configure your mail server on the new server.
Please ensure that this new server is installed with a RHEL/CentOS distribution able to support Exim mail server and do the following:
Install Exim mail server via yum:
Stop the Postfix and enable Exim server:
Set Exim as the default MTA:
Set auto start on boot and start the exim service:
Now that the Exim server is installed and running you must add the <IP_of_current_server> to the exim.conf file:
Inside exim.conf locate "hostlist relay_from_hosts =" and add the IP of your current server and save the file:
**Please check how many IPs are assigned to the current server. Exim can send emails from more than one IP. All these IPs should be added to the Exim configuration on Relay side. The IPs must be separated by ":"
You have now configured all mail on your server affected by the block of port 25 to utilize your recently configured SMTP relay server. Please test this by sending from your current server affected by the block and see if the mail is received.
- New relay server MUST have a valid hostname. You must use a fully-qualified domain name (FQDN) that contains two periods (for example: hostname.example.com).
- rDNS must be set on the new relay server IP
Add the New_Relay_Server_IP to the SPF record for every domain. Please reference the example below:
If you have Enhanced or Ultimate support, please feel free to contact us via a ticket through your Dashboard account and we will be able to assist you.