Results 1 to 6 of 6

Thread: Ubuntu Server 8.04 + Untangle +Zimbra

  1. #1
    sparkieman is offline Starter Member
    Join Date
    Aug 2008
    Posts
    2
    Rep Power
    6

    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

  2. #2
    vargadanis is offline Active Member
    Join Date
    Mar 2007
    Posts
    33
    Rep Power
    8

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

  3. #3
    randall is offline Advanced Member
    Join Date
    Jun 2007
    Location
    Philippines
    Posts
    193
    Rep Power
    7

    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.

  4. #4
    sparkieman is offline Starter Member
    Join Date
    Aug 2008
    Posts
    2
    Rep Power
    6

    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?

  5. #5
    vargadanis is offline Active Member
    Join Date
    Mar 2007
    Posts
    33
    Rep Power
    8

    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:
    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:
    yourmachine.dyndns.org
    resolv.conf
    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:
    hostname -F /etc/hostname
    then to confirm:
    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...
    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:
    zone "domain.dyndns.org" {
    type master;
    file "/etc/bind/db.domain.dyndns.org";
    };
    Now we create the zone file for your domain.
    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:
    ; 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:

    @ 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!
    /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

  6. #6
    Demeo is offline Starter Member
    Join Date
    Nov 2008
    Posts
    1
    Rep Power
    6

    Default

    Readed your post and started configuring... Please continue!!!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Zimbra logwatch.
    By nishith in forum Administrators
    Replies: 5
    Last Post: 06-10-2009, 04:42 PM
  2. [SOLVED] parts_decode_ext error
    By jsabater in forum Administrators
    Replies: 7
    Last Post: 10-13-2008, 07:24 AM
  3. /tmp filling
    By Nutz in forum Administrators
    Replies: 8
    Last Post: 02-22-2008, 02:00 AM
  4. Can't start Zimbra!
    By zibra in forum Administrators
    Replies: 5
    Last Post: 03-22-2007, 11:34 AM
  5. Unable to start tomcat
    By chanck in forum Administrators
    Replies: 11
    Last Post: 06-11-2006, 12:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •