Discussion Locked
0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I'm setting up my own DNS server. Everything is working fine except for sending emails. I could browse my website and receive mails. But when I send an email, my email server returns an error stating that my return address is not formatted properly or it cannot perform a reverse lookup. I have created A, CNAME, MX and PTR records for my website. How do I fix this problem?
6 replies
by theohkm
try to debug first your dns using nslookup.
nslookup
set q=mx
serverdomain.com
set q=a
mail.serverdomain.com
set q=ptr
[server ip address in reverse order].in-addr.arpa
by ltecson0627
All records (MX, A, PTR) are present and presumed correct.
by theohkm
Manually debug the email problem by:
telnet mailserver smtp
..... followed by a series of SMTP commands.
by ltecson0627
Thanks for your suggestions. I've discovered that one of my domains (Domain A) is set to the same IP address used by the domain in question (Domain B). I forgot that the DNS of Domain A is hosted by another hosting company. So when a reverse lookup is performed, the DNS of the hosting company is looked up first before my DNS server. To solve this, I used a different IP address for Domain B.
by cg it
First need some more information like are you hosting your own email server? If so what O/S? What email service are you using? POP3? SMTP? X400? Since you can browse your public website [I'm assuming when you say you can its a public and not an intranet website] and you can receive emails [again assuming this is from a public source and NOT intranet emails] that your DNS server is providing ip to name resolution correctly [you wouldn't be able to browse your web site nor receive emails to you
by ltecson0627
This question was closed by the author
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending
0 helpful
11 replies
0 helpful
1 reply
0 helpful
10 replies
Question Locked
Do You Save Useful Windows Tutorial Videos for Later
0 helpful
7 replies
Question Unanswered
Is WSL still relevant in 2026?
0 helpful
0 replies