Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-21-2007, 12:04 AM
Senior Member
 
Posts: 71
Question DNS error resolving MX...

I've seen quite a few posts about the MX error. In each case I've seen it seemed like folks didn't have the proper A/MX records in their internal DNS configured.

I'm far from an expert in DNS or Linux, but I think I have things setup properly.

nslookup with 'set q=mx' and fed 'foostuff.com' returns the following.
Code:
> foostuff.com
Server:         192.168.0.254
Address:        192.168.0.254#53

foostuff.com   mail exchanger = 10 zimbra.foostuff.com.
However, I still get the following error when running the install.sh script.
Code:
DNS ERROR resolving MX for zimbra.foostuff.com
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes]
If I continue the installation the services start properly. I'm not sure if it's a false-positive. I've not tried to configure things much yet thinking that I should resolve the installation error before getting too deep into configuration.

Code:
root@zimbra:~# cat /etc/hosts
127.0.0.1       localhost
192.168.0.10    zimbra.foostuff.com    zimbra
Code:
> zimbra.foostuff.com
Server:         192.168.0.254
Address:        192.168.0.254#53

Name:   zimbra.foostuff.com
Address: 192.168.0.10
Oh yea, Latest version of OpenSource Zimbra on Ubuntu 6.06.1-server.

Any thoughts?
Reply With Quote
  #2 (permalink)  
Old 05-21-2007, 11:34 AM
Senior Member
 
Posts: 51
Default

on localhost do
ping zimbra.foostuff.com
if it comes back with your ip address then install. mail will work internally.
if you want mail to work externally you will have to setup NAT and DNS
Reply With Quote
  #3 (permalink)  
Old 06-08-2007, 12:43 PM
Outstanding Member
 
Posts: 664
Default MX resolution

You are trying to resolve the MX for zimbra.foostuff.com instead of foostuff.com.

zimbra.foostuff.com is the FQDN of the mail server and foostuff.com is the domain. MX records are setup and resolved for domains.

The Zimbra install tries to set the domain to the FQDN of the server instead of the domain itself. During the install you must change the domain name that Zimbra wants to use to the domain name and not the FQDN of the host.
Reply With Quote
  #4 (permalink)  
Old 09-28-2007, 07:02 PM
New Member
 
Posts: 3
Default

I am having the same problem, I have Bind set up, but Zimbra somehow resolves the DNS records to the mail.example.com domain and not the example.com domain as I would like. When I change the domain to example.com I cannot even resolve the MX record.

I did remove the A record for the server so that I could get that error otherwise zimbra rolls on through and sets my domain as mail.example.com (something I dont want)
Reply With Quote
  #5 (permalink)  
Old 09-28-2007, 07:16 PM
New Member
 
Posts: 3
Default

Fixed this problem, I actually had MX record set up wrong (im using WEBMIN) and I had the name of the webserver set to mail.example.com. and mail server set to its IP address. I changed the name to example.com. and the mail server field set to mail.

I did still get the MX error as Bill Brock described, but now when I change to domain to example.com it resolved.

Thanks Bill for the post, and thanks for google finding it for me

Looking forward to playing more with ZIMBRA
Reply With Quote
  #6 (permalink)  
Old 09-28-2007, 07:18 PM
Zimbra Consultant
 
Posts: 5,814
Default

Quote:
Originally Posted by shezzski View Post
I did remove the A record for the server so that I could get that error otherwise zimbra rolls on through and sets my domain as mail.example.com (something I dont want)
btw-even if your 1st domain during setup is 'mail.domain.com' you can then add a 2nd 'domain.com' later -real easy CLI or from the admin console gui
__________________
-Mike Morse (MCode151)

ZCS-to-ZCS Migrations & Moves | Admin Tools & Tidbits » ZimbraBlog.com | ZimbraCommunity.com

Last edited by mmorse : 09-28-2007 at 07:22 PM. Reason: quote
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0