Website Domain Registration and Website Hosting - Host a Website Tonight provides Domain Registration
Website Hosting, On-Line Shopping Carts, SEO
Blog Hosting, Email Accounts, Security Certificates,
Merchant Accounts & other Website Products.
Free setup! Speak with us anytime: 480-624-2500

Configuring the SMTP Relay Server on Your Linux Server Using cPanel

NOTE: Before configuring your SMTP relay server, check the Hosting Control Panel to see which mail server you should use. For more information, see What are the relay mail server settings on my dedicated or virtual private server?.

To configure the SMTP relay server on your Linux server using cPanel:

  1. Access your Linux server through SSH. For more information on how to access your server through SSH, see: Accessing a Linux Dedicated Server Using SSH
  2. Gain root access to your server through SSH. For more information on how to gain root access to your server through SSH, see: How can I log in as 'root' on my server?.
  3. Within the Routers Configuration section in the /etc/exim.conf file, enter the following lines using a text editor of your choice:
    driver = manualroute
    route_list = !+local_domains
    transport = remote_smtp
    where yourmailserver is the mail server listed in the Hosting Control Panel.
  4. The Exim mail service will need to be restarted for the changes to take effect. Use the following commands to restart the Exim mail service on your server:
    service exim stop
    service exim start
  5. Use the following command to check the Exim SMTP relay server setting:
    cat /etc/exim.conf | grep route_list
    If the SMTP relay server is configured properly the command should return the following:
    route_list = !+local_domains
    where yourmailserver is the mail server listed in the Hosting Control Panel.
Domain Registration Domain Registration
Pay less for website domain names. Register your own .com, .net or .org for as low as $10.18 per year. Everything you need to get online - FREE with your domain.
Website Hosting Website Builder
For as little as $3.89 per month you can build your Website online with Website Builder using our easy to use professional templates.
Play Video - Demo
Shopping Cart Software Quick Shopping Cart
Build and run your own successful online store in minutes! You're just five easy steps away!
Play Video
Website Hosting Website Hosting
Everything you need to give your Website the high-performance home it deserves!  Protect transactions and customer data with a
SSL Certificate