Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
mail:cpanel-smart-host [2011-04-09 00:10:30]
garrett.plasky Approved
mail:cpanel-smart-host [2011-07-01 19:08:04]
garrett.plasky Approved
Line 17: Line 17:
 Assuming you're installing the yum version of Exim on a CentOS/RHEL server, you'll need to make two configuration changes. The first is to allow the IP of the mailserver to relay through the smarthost. Open the configuration at ///etc/exim/exim.conf//, find the line referenced below and edit it replacing **x.x.x.x** with your mailserver IP. Assuming you're installing the yum version of Exim on a CentOS/RHEL server, you'll need to make two configuration changes. The first is to allow the IP of the mailserver to relay through the smarthost. Open the configuration at ///etc/exim/exim.conf//, find the line referenced below and edit it replacing **x.x.x.x** with your mailserver IP.
  
-<q>hostlist   relay_from_hosts = 127.0.0.1 : x.x.x.x</q>+<sxh plain>hostlist   relay_from_hosts = 127.0.0.1 : x.x.x.x</sxh>
  
 Second, you'll need to tell Exim not to listen only on the localhost address for incoming mail, which is the default. Again find the configuration line below and add a hash (**#**) in front of it to comment it out. Second, you'll need to tell Exim not to listen only on the localhost address for incoming mail, which is the default. Again find the configuration line below and add a hash (**#**) in front of it to comment it out.
  
-<q>local_interfaces = <; 127.0.0.1 ; ::1</q>+<sxh plain>local_interfaces = <; 127.0.0.1 ; ::1</sxh>
  
 Save the modified config file and restart Exim on this server. Save the modified config file and restart Exim on this server.