disable localhost resolution in exim

Vince778

Member
Jan 1, 2010
14
1
53
My email all needs to be passed off to other servers like Gmail or Yahoo mail servers where the MX record for my website are actually pointing, but Exim insists on resolving all mail generated buy my websites scripts locally since my last major upgrade of cPanel. I want Exim to ALWAYS look up the MX record at the registrar and send stuff to where it's supposed togo, no resolutions locally. I had this working before but cant find the right place in cPanel now to disable localhost resolutions.

Help pls, :^)

Vince
 
Last edited:

usman43

Member
May 16, 2008
21
0
51
Are you using local name servers of your server or out side name servers ? In any case make sure the entry for your domains do not exist in /etc/localdomains , you can manually remove domains from there and add them in /etc/remotedomains from console or you can use 'Edit a DNS Zone' feature for every domain and chose remote mail server instead of local or automatic selection.
 

Vince778

Member
Jan 1, 2010
14
1
53
I used 'DNS Functions' -> 'Edit MX Entry' to manually select the domains one by one and change them to the correct setting. All working properly again.

Thank you,

Vince