DNS ERROR resolving MX

Mr Jedi picture Mr Jedi · Oct 3, 2014 · Viewed 14.7k times · Source

I'm installing Zimbra Collaboration Server on my local machine to test them mail server. During installation I got error:

DNS ERROR resolving MX for my.local.domain
It is suggested that the domain name have an MX record configured in DNS

I don't have experience with zimbra or mail serwer. In Internet I found incomplete solutions like:

Add this record to config:
 server1      IN      MX      10    server1.tm.local.

but I don't know where exactly should I add this or how to proper config mail server.

My question is, how to proper config dns to work with zimbra?

Answer

Malik Benmekki picture Malik Benmekki · Oct 21, 2014

You can install zimbra without MX record but A record of the hostname must be resolved on installation you have to set a hostname with :

#hostname server1.yourdomain.com

edit /etc/hostname and enter "server1" edit /etc/hosts by adding : ip-address server1.yourdomaine.com server1

test it by pinging server1.yourdomaine.com

restart the install when zimbra tell you if want to change mx record answer by NO