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 09-24-2009, 06:34 AM
Elite Member
 
Posts: 275
Question New Zimbra install in OpenVZ container... DNS config required?

Hi everyone

I'm looking to install Zimbra in an OpenVZ container... either running Centos 5.3 or Ubuntu 8.04 templates

I was reading through this wiki article: Ubuntu 8.04 LTS Server (Hardy Heron) Install Guide - Zimbra :: Wiki

We're on a regular broadband connection behind an IPCop firewall router box.
With exchange we currently relay all outgoing mail to a remote postfix relay VPS we rent.

Since we're using a smart host/relay, does that mean I don't need to go through the DNS config steps?

Obviously to get Zimbra receiving mail properly we need A/MX records for our domain pointing to our static IP and forward port 25 to the Zimbra local IP. And add an A record for the Zimbra machine in our local DNS.

But I'm assuming I don't need to do all the bind config etc?

Cheers, B
Reply With Quote
  #2 (permalink)  
Old 09-24-2009, 06:48 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by batfastad View Post
But I'm assuming I don't need to do all the bind config etc?
That's a mistaken assumption, Zimbra (postfix) needs to resolve it's address via DNS and if you're behind a NAT router, a firewall or on any sort of private IP then you'll need a Split DNS set-up.
__________________
Regards


Bill

Last edited by phoenix; 09-24-2009 at 07:15 AM..
Reply With Quote
  #3 (permalink)  
Old 09-24-2009, 06:56 AM
Elite Member
 
Posts: 275
Default

Ok great. Thought I better check.
So that wiki page does apply to installing behind a NAT router, as well as from a public IP?

I was reading through the quick start guide and the explanation on this page (http://www.zimbra.com/docs/os/latest...5.html#1059870) is what confused me.

Cheers, B
Reply With Quote
  #4 (permalink)  
Old 09-24-2009, 07:17 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

The page doesn't cover the scenario I mentioned above, you obviously need publlic DNS records to receive mail and that's what it's talking about - the split DNS is an extra wrinkle for those behind the router etc.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 09-24-2009, 07:47 AM
Elite Member
 
Posts: 275
Default

Gotcha

1) So this is the DNS guide I need to follow?
http://wiki.zimbra.com/index.php?title=Split_DNS

2) Are there any CentOS installation guides around with more specific instructions?
This one is pretty old... Centos 5 Install Guide

3) The section of the guide for Modifying Operating System Configurations here... http://www.zimbra.com/docs/os/latest...4.html#1055793

Cheers, B
Reply With Quote
  #6 (permalink)  
Old 09-24-2009, 08:16 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by batfastad View Post
Gotcha

1) So this is the DNS guide I need to follow?
Split DNS - Zimbra :: Wiki
Yes, that's the one or you could also search the forums for a thread named "DNS in a nutshell".

Quote:
Originally Posted by batfastad View Post
2) Are there any CentOS installation guides around with more specific instructions?
This one is pretty old... Centos 5 Install Guide
There isn't really much to do with RHEL, just install the operating system and install the openssl package and compat-libstd++ packages mentioned in the thread you've mentioned. Then run the Zimbra installer and if there's any further missing dependencies it will tell you.

Quote:
Originally Posted by batfastad View Post
3) The section of the guide for Modifying Operating System Configurations here... Modifying Operating System Configurations
The important thing is to get the hosts file correct and the DNS A & MX records pointing to your LAN IP and configured for your domain.com and not mail.domain.com (or whatever the FQDN is for your server). There are several posts by me describbing what you can do to check the dns, have a look at them and see if they give the correct results.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 09-24-2009, 08:52 AM
Elite Member
 
Posts: 275
Default

Brilliant! Thanks for the excellent help

Think I'll go with CentOS even though I know more Ubuntu. I want to try and keep my Zimbra installation as clean and standard as possible to avoid any problems. Having me edit too many config files could end in disaster

Quote:
Originally Posted by phoenix View Post
The important thing is to get the hosts file correct and the DNS A & MX records pointing to your LAN IP and configured for your domain.com and not mail.domain.com (or whatever the FQDN is for your server). There are several posts by me describbing what you can do to check the dns, have a look at them and see if they give the correct results.
So get my hosts file sorted... that's fine, done that plenty of times.
And you mean setup my domain's DNS A/MX records for domain.com on our hosting provider to point to our static public IP... correct?
(not records on our local DNS server)

Cheers, B
Reply With Quote
  #8 (permalink)  
Old 09-24-2009, 08:59 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by batfastad View Post
So get my hosts file sorted... that's fine, done that plenty of times.
And you mean setup my domain's DNS A/MX records for domain.com on our hosting provider to point to our static public IP... correct?
No, I meant your LAN DNS records. There's no reason not to have the same domain name behind the NAT as you have in the public records - my point was to emphasise that you use domain.com (whatevere you decide to call the LAN domain) not the FQDN of the server.
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 09-24-2009, 09:10 AM
Elite Member
 
Posts: 275
Default

Ah right, sorry. Reading that Ubuntu installation page in the Wiki has messed up my mind

Our LAN DNS server is just an IPCop box, I think it only runs a basic DNS Proxy service linked to its DHCP functions.
There's an "Add Hosts" section in that where I add "subdomains" when I want internal users to access an internal server by FQDN rather than IP address.

Or do you mean the DNS service (bind) on the Zimbra machine?

Or should I be running another full DNS server instead of IPCop?
Reply With Quote
  #10 (permalink)  
Old 09-24-2009, 09:31 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by batfastad View Post
Or do you mean the DNS service (bind) on the Zimbra machine?
Yes, I mean the BIND service that you'll be running.

Quote:
Originally Posted by batfastad View Post
Or should I be running another full DNS server instead of IPCop?
If the IPcop is just a caching nameserver then you'll need a version of BIND that will resolve the IP of the Zimbra server - it's your choice how you achieve that.
__________________
Regards


Bill
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.