smtp relay
Assuming you're installing the yum version of Exim on a CentOS 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 by adding the relay server IP 109.201.130.65 at the end as shown below. add this in server from where your mail will exit hostlist relay_from_hosts = 127.0.0.1 eg: hostlist relay_from_hosts = 127.0.0.1 : 109.201.130.65 domainlist relay_domains = lsearch;/etc/virtual/domains add domain in the aboe file also in vetacp hostlist relay_from_hosts = 127.0.0.1 : 43.225.53.162 these settings needs to be done on mail server from where mail will realy to another server We might need to make changes on the SPF record. Replace the current server IP address and add the relay IP. eg: v=spf1 a mx ip4:109.201.130.65 ~all also now 550 relay not permitted, authentication required acl_check_recipient...