Hi guys I have a webmin installed on ubuntu server and I configured it from official website to have a mailserver. I can send outgoing emails for example to yahoo or gmail accounts but I can't receive email from outside. I have created a virtual server for my mail server and named it like my domain name, and then i created a bind zone and in there configured A records and nameservers and mail server records.
when i send an email from gmail to my mailserver i get this error message :
" This is an automatically generated Delivery Status Notification
THIS IS A WARNING MESSAGE ONLY.
YOU DO NOT NEED TO RESEND YOUR MESSAGE.
Delivery to the following recipient has been delayed:
Message will be retried for 2 more day(s)
Technical details of temporary failure:
DNS Error: MX lookup of mydomain.com returned error DNS server returned general failure "
when i look up my domain in intodns.com everything is ok but the only problem is MX record and it shows this message :
"Oh well, I did not detect any MX records so you probably don't have any and if you know you should have then they may be missing at your nameservers! "
for example myvirtual server is like : mydomain.com
my domain name is like : mydomain.com
virtual server user is : info
my A record is like : mydomain.com in A external_ip_address
and : mail.modomain.com in A external_ip_address
my mail server record is : mail.mydomain.com with priority : 10
I don't know what else to do to make it work help please.