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 Search this Thread Display Modes
  #1 (permalink)  
Old 07-22-2008, 05:53 PM
Active Member
 
Posts: 31
Default [SOLVED] DNS issue on install

I am trying to install Zimbra as a mail server as opposed to letting it run on our webserver.

Mail server is - Ubuntu 8.04 64-bit and I'm running 5.0.7_GA_2450

Code:
jimmy@mail:~$ host statxxx.com
statxxx.com has address 74.208.57.xx (webserver's IP)
statxxx.com mail is handled by 10 mail.statxxx.com.

jimmy@mail:~$ host mail.statxxx.com
mail.statxxx.com has address 74.7.199.xx (office's static IP with ports forwarded accordingly by router)
mail.statxxx.com mail is handled by 10 mail.statxxx.com.
My /etc/hosts file:
Code:
127.0.0.1 localhost
10.0.0.109 mail.statxxx.com mail
(when "mail.statxxx.com" set to 127.0.0.1, it says I have an error with my hosts file).

Here is the output from the installation/config...

Code:
Setting defaults...	MX: mail.statxxx.com (74.7.199.xx) # office IP

	Interface: 10.0.0.109
	Interface: 127.0.0.1
		74.7.199.xx # office IP
		74.7.199.xx # office IP


DNS ERROR - none of the MX records for mail.statxxx.com
resolve to this host
Change domain name? [Yes] yes
Create Domain: [mail.statsblox.com] statxxx.com
	MX: mail.statxxx.com (74.7.199.xx) #office IP

	Interface: 10.0.0.109
	Interface: 127.0.0.1


DNS ERROR - none of the MX records for statxxx.com
resolve to this host
It is suggested that the MX record resolve to this host
Re-Enter domain name? [Yes]
Note: I was able to get zimbra working on my local network using zimbratrial.directory.domain.com (hostname.DOMAIN) as the FQDN. I could send mail, sync with outlook, etc. So, I know the server will run it, it's just that the DNS is geeking out when trying to put it live on an actual domain.

Last edited by juanschwartz; 07-22-2008 at 06:46 PM..
Reply With Quote
  #2 (permalink)  
Old 07-22-2008, 06:24 PM
y@w y@w is offline
Moderator
 
Posts: 658
Default

You'll need to have the MX record for your domain resolve to the hostname of your Zimbra server.

Split DNS - Zimbra :: Wiki
__________________
What a n00b!
Reply With Quote
  #3 (permalink)  
Old 07-22-2008, 06:52 PM
Active Member
 
Posts: 31
Default

Quote:
Originally Posted by y@w View Post
You'll need to have the MX record for your domain resolve to the hostname of your Zimbra server.

Split DNS - Zimbra :: Wiki
The MX record of my statxxx.com is set to 10 mail.statxxx.com which forwards to the WAN IP of my server. It resolves to the server itself that way.

In the /etc/hosts, the mail.statxxx.com and mail are resolved to the internal IP address of my box.

What am I missing there? I read some other posts and it said that if host -t mx domain.com returned the "mail.domain.com" and host mail.domain.com returned "WAN IP", then it should work.
Reply With Quote
  #4 (permalink)  
Old 07-22-2008, 07:04 PM
Active Member
 
Posts: 31
Default

Quote:
Originally Posted by y@w View Post
You'll need to have the MX record for your domain resolve to the hostname of your Zimbra server.

Split DNS - Zimbra :: Wiki
I don't understand. I thought it did.

The statxxx.com mx record resolves to 10 mail.statxxx.com which has an A record that resolves to the WAN IP of our router(which the appropriate ports are pointing at the server). Everything resolves internally and externally.
Reply With Quote
  #5 (permalink)  
Old 07-22-2008, 07:41 PM
Active Member
 
Posts: 31
Default

Okay, I see. The split DNS allows mail.statxxx.com to resolve to the internal IP of 10.0.0.109 just on the local box because fetchmail resolves the WAN IP instead?
Reply With Quote
  #6 (permalink)  
Old 07-22-2008, 08:31 PM
y@w y@w is offline
Moderator
 
Posts: 658
Default

Well, you want anything internal to your LAN to resolve to the internal IPs. Then you'll want anything outside your LAN to resolve to the external IPs so the firewall can forward them to the appropriate internal IPs. Does that explanation help?
__________________
What a n00b!
Reply With Quote
  #7 (permalink)  
Old 07-22-2008, 08:41 PM
Active Member
 
Posts: 31
Default

Absolutely. I wasn't considering the firewall portion. I got it up and going.

If you don't mind answering another question... if my domain is mail.statxxx.com and the emails are setup that way, can I just add a domain of statxxx.com to get simple email addys?

edit: I just tried the above and it seems to work okay. Thank you so much! Now to show my boss the awesomeness and get a license purchase going
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.