i am running linux ubuntu mail server, over the weekend emails stop coming in or going out. i dig my server from the server itself and i am get this results perfectpol@mycompany$ dig mycompany.com mx ;; global options: printcmd ;; connection timeout; no server could be reached then on a window workstation the results of nslookup is server: www.mycompany.com address: 179.a.a.6 ***www.mycompany.com can't find mx: Non-existent domain contact my ISP and said the problem lays with local, since my server does host the emails. (by locally mean host them at my company server) I suppect that mx files have been corrupted or delete. How then should i resolve this, firstly I am new to the company and not all that good in linux. All the server is in command line. I tried to view the /etc/resolv.conf and it was blank. HELP. thanks
You're on the right track. Edit /etc/resolv.conf and add lines like nameserver 11.12.13.14 nameserver 21.22.23.24 Add as many as you have nameservers that you'd like to use (using the correct ip addresses).
Run please this command: dig mx mycompany.com You'll be surprised I think Why emails stoped coming - this is the second thing.... you can restart mail services, check system logs, etc.