You can allow your advertising server to send mails from your cpanel through open relay, but you need to do some tweaks in exim.conf so that only your advertising server is allow to relay the mails from the cpanel server.
Option I : You can add your advertising server ip-address in /etc/alwaysrelay file.
OptionII : You can open exim.conf from WHM > Exim Configuration Editor > Advanced Editor, find the following
Quote:
|
accept hosts = +auth_relay_hosts
|
Replace it with following :
Quote:
|
accept hosts = /etc/exim_smtp_whitelist
|
You can test the open relay by sending email or by telnet through other ip which are not allowed to relay the mails from the server, You will get 500 error.