PHP mail doesn't send to domain with external mailserver

RayManZ

Verified User
Joined
Nov 8, 2004
Messages
90
Hi,

I think i tried almost everything and read almost everything about this problem but i can't seem to solve this problem.

I have a domain that uses external DNS server.
The domain also uses a external mailserver and mailbox.

Now when i try to send a mail with PHP it doesn't deliver:

R=lookuphost defer (-1): remote host address is the local host

I did already unchecked the option: Local Mail Server in the MX records. I put in the correct MX records. Although the DNS is hosted somewhere else.

What am i missing? I just can't figure it out...
 
Hello,

Could it be so, that you have 127.0.0.1 or your external IP in /etc/resolv.conf ?

What is the domain real name? You can send it as PM if you don't want to share it in public.
 
I solved the problem by using other DNS resolvers. I used my own but that did not work. I think because the domain is on that one. Now i am using googles dns resolvers and it works.

Not sure how to use my own dns and still get it working.
 
Back
Top