Frequently Asked Questions

Configuring the SMTP Relay Server on Your Linux Server Using Simple Control Panel

Print this Article
Last Updated: May 8, 2015 2:26 PM

NOTE: Before configuring your SMTP relay server, check the Hosting Control Panel to see which mail server you should use. For more information, see Finding Your Server's Email Relay Server Settings.

To Configure the SMTP Relay Server on Your Linux Server Using Simple Control Panel

  1. Connect to your server via SSH (more info).
  2. Switch to the root user (more info).
  3. Enter the following line into /etc/postfix/main.cf using a text editor of your choice:
    relayhost = [dedrelay.secureserver.net]
  4. The Postfix mail service will need to be reloaded for the changes to take effect. Use the following command to reload the Postfix mail service on your server:
    service postfix reload
  5. Use the following command to check the Postfix SMTP relay server setting:
    grep relayhost /etc/postfix/main.cf
    If the SMTP relay server is configured properly the command should return the following:
    relayhost = [dedrelay.secureserver.net]