Child pages
  • Configuring SMTP Relay Server

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If you have been affected by the recent block of outgoing mail on port 25 for our SoftLayer locations, you may will be able to use the following to configure another server in Salt 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, preferrably preferably SSD VPS via your account at https://console.100tb.com.  Please 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. You would be required to purchase Supreme Support in order to receive assist with any configuration changes.

Step-by-Step Guide

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 use follow the correct appropriate steps below based on the mail server you are currently using.

For Postfix:

  1. Navigate to the following location:

    Code Block
    #> vi /etc/postfix/main.cf
  2. Insert the following line and save:

    Code Block
    relayhost = <IP_address_of_new_server>:587
  3. Restart Postfix:

    Code Block
    #> postfix stop && postfix start
    #> /etc/init.d/postfix restart

...

  1. Log into WHM and navigate to Mail -> Server Configuration -> Exim Configuration Manager
  2. Inside the Basic Editor locate the Smarthost support option
  3. Insert the <IP_address_of_new_server> in the text box and SAVE

 

Now all 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 6 distrubution distribution able to support Exim mail server .and do the following:

Ensure we have the latest EPEL repository RPM for CentOS 6 64-bit on the new server and then follow the steps below.

...

  1. 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).
  2. rDNS must be set on the new relay server IP
  3. Add the New_Relay_Server_IP to the  SPF record for every domain. Please reference the example below:

    Code Block
    example.com      IN TXT     "v=spf1 a:<current_server_IP>mx:<new_relay_server_IP> ~all"

If you have any questions, please feel free to contact us via a ticket through your Console account and we will be look able to assist you.