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

Before configuring your SMTP relay server, check the Hosting Control Panel to see which mail server you should use. For more information, see Find your email relay server.

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]

Was This Article Helpful?
Thank You For Your Feedback
Glad we helped! Anything more we can do for you?
Sorry about that. How can we be more helpful?