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-07-2008, 09:35 AM
Starter Member
 
Posts: 2
Default Ubuntu Server 8.04 + Untangle +Zimbra

Alright well, I need some help and guidance to setting up my mail server. I am documenting all the steps I take along the way. Once I have everything running I'll release the documentation to the forums to help other hobbyists like myself.

I am looking to deploy a zimbra mail server at my house. I am using Untangle's Firewall Home .
Untangle has its own DNS server but I feel that it isn't going to work properly for mail.

I am wondering if I can use Untnagles DNS server. Or do I need to install Bind9 on the Ubuntu Server and act as a split DNS.

Right now I believe all of my MX records on dyndns.org are setup correctly. But during zimbra installation it said the MX records couldn't resolve to my server. I ignored the message and continued with the installation.

So my first question is:
Do I need to setup Bind9 on the Ubuntu server box? Or will untangles built in DNS server be adequate.

Cheerio
Reply With Quote
  #2 (permalink)  
Old 09-07-2008, 11:04 AM
Active Member
 
Posts: 33
Default

Any DNS server is good as long as MX and A records can properly be set up.

If you use dyndns and you want to use mailing, you need a split DNS set up and specify your local machine that runs the DNS as the primary DNS server. It is important unless you are not behind a firewall or router.

You can test your DNS setup by "dig"-ing... eg: dig yourdomain.com mx or dig yourdomain.com any
if the MX record points to your computer your are almost good to go. You are to set up your FQDN like this:
127.0.0.1 localhost.localdomain localhost
192.168.1.11 mail.yourdomain.com mail
of course you are to replace 192.168.1.11 with your IP..
Edit your /etc/hostname as well to: mail.yourdomain.com
and then run hostname -F /etc/hostname so that the computer get's the updated hostname...
If you need help setting up Bind9, let me know... It is quite simple but you need to understand the basics of DNS and bind...
Reply With Quote
  #3 (permalink)  
Old 09-07-2008, 08:41 PM
Advanced Member
 
Posts: 193
Default

Quote:
Originally Posted by sparkieman View Post

So my first question is:
Do I need to setup Bind9 on the Ubuntu server box? Or will untangles built in DNS server be adequate.

Cheerio
Hi sparkieman. Welcome to the forums.

I have the similar setup just like what you were thinking. But in my case, I have setup the split DNS in my Zimbra behind an Untangle box, and everything works perfectly for sometime already.

Hope this helps.
Reply With Quote
  #4 (permalink)  
Old 09-08-2008, 06:41 PM
Starter Member
 
Posts: 2
Default

Quote:
Originally Posted by randall View Post
Hi sparkieman. Welcome to the forums.

I have the similar setup just like what you were thinking. But in my case, I have setup the split DNS in my Zimbra behind an Untangle box, and everything works perfectly for sometime already.

Hope this helps.
By similar, do you mean Ubuntu 8.04? Are you saying you installed Bind9 on the Ubuntu Server Box?Are you using Dyndns?
Reply With Quote
  #5 (permalink)  
Old 09-09-2008, 08:12 AM
Active Member
 
Posts: 33
Default

Hey there!

I want to help you. First we need some information on your setup. The following will be needed to configure the split DNS thing. I suggest using Bind9 as that is the one DNS Server that is accepted as standard.

I have never configured dyndns so far so I will need your help as well. What OS are you running?
Did you set up the /etc/hosts, resolv.conf, hostname files properly?
/etc/hosts should in all cases read as the following:
Quote:
127.0.0.1 localhost.localdomain localhost
192.168.1.165 yourmachine.dyndns.org yourmachine # change the IP to yours
/etc/hostname should look like this:
Quote:
yourmachine.dyndns.org
resolv.conf
Quote:
nameserver 192.168.1.165 # this should be your IP
nameserver 213.99.99.45 # other name servers are below yours!
after setting these do this:
Quote:
hostname -F /etc/hostname
then to confirm:
Quote:
host `hostname` # the `` are _not_ ''
Now install bind! ^_^ It won't be very complicated to set up split DNS (I hope)

Let's take it as if your dyndns domain didn't exist. We set up a DNS server so that the domain resolves to your computer's IP. That is the primary duty of DNS servers...
Quote:
cd /etc/bind/
vim /etc/bind/named.conf # vim is a text based editor... you could use mcedit
#or nano or whatever...
Now you need to add the domain's master stuff:
Quote:
zone "domain.dyndns.org" {
type master;
file "/etc/bind/db.domain.dyndns.org";
};
Now we create the zone file for your domain.
Quote:
cp /etc/bind/db.empty /etc/bind/db.domain.dyndns.org
vim /etc/bind/db.domain.dyndns.org

The empty file should read like this:
Quote:
; BIND reverse data file for empty rfc1918 zone
;
; DO NOT EDIT THIS FILE - it is used for multiple zones.
; Instead, copy it, edit named.conf, and use that copy.
;
$TTL 86400
@ IN SOA localhost. root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
86400 ) ; Negative Cache TTL
;
@ IN NS localhost.
Ok! now modify every single "localhost" to your domain. Remove the last line and add this instead:

Quote:
@ IN NS domain.dyndns.org.
@ IN MX 10 domain.dyndns.org.
@ IN A 192.168.1.165 ;this should be your IP!
You can check your config with named-checkconfig /etc/bind/named.conf and with named-checkzone daomin.dyndns.org /etc/bind/db.domain.dyndns.org
If both of them return a NULLstring or OK then you should reload Bind!
Quote:
/etc/init.d/bind9 reload
Now check your configuration:
ping yourdomain

if it resolves to the correct IP your are almost good to go! The next steps will be discussed if you are done with these...
__________________
ZCS: none ^_^ (as of now)
System: Debian Lenny 2.6.27-vserver-2.3.0.36
Reply With Quote
  #6 (permalink)  
Old 11-06-2008, 06:35 AM
Starter Member
 
Posts: 1
Default

Readed your post and started configuring... Please continue!!!
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.