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 11-15-2006, 12:05 PM
New Member
 
Posts: 3
Default Installing on FC5 behind a firewall

Hi All,
I'm currently trying to install Zimbra behind a test IPCOP firewall and I need a little help please.

I have registered a sub domain a while back with my ISP (test.domain.com) which has no MX entry but all traffic sent to it (including SMTP) goes to the external interface of the IPCOP box. This then redirects the traffic based on port number to various systems internally.

Thus internally the Zimbra box has an IP of 192.168.x.x but externally it has the firewalls IP (and DNS name test.domain.com)

I must be missing something obvious but how do I tell the setup program & /etc/host entry what it needs to know so that it completes the install process. Every time I try to install it, it fails at the 'sldapd fails to start' stage.

Thanks,

Dom
Reply With Quote
  #2 (permalink)  
Old 11-15-2006, 12:20 PM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by BigBadDom
..... which has no MX entry but.................
You've answered your own question. You need correct DNS records set for your zimbra server.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 11-15-2006, 02:02 PM
Senior Member
 
Posts: 59
Default

Quote:
Originally Posted by BigBadDom
Hi All,

Thus internally the Zimbra box has an IP of 192.168.x.x but externally it has the firewalls IP (and DNS name test.domain.com)

I must be missing something obvious but how do I tell the setup program & /etc/host entry what it needs to know so that it completes the install process. Every time I try to install it, it fails at the 'sldapd fails to start' stage.

Dom
The internal Zimbra box has only one network interface, correct? If so, then its IP is 192.168.x.x and must resolve via DNS to that IP. So, if, for example, your box is named zimbra.test.domain.com, nslookup should return zimbra.test.domain.com 192.168.x.x. If it doesn't... you will get errors.

I have a similar setup to you here at our clinic(OSS 4.0.3 ubuntu-dapper). On the Zimbra box, I installed and setup bind using the wiki as guidance. I commented out the namerserver lines in /etc/resolv.conf and added the line "nameserver 127.0.0.1". So, on the Zimbra box, nslookup will go to /etc/resolv.conf and see that it should go to 127.0.0.1 (the Zimbra box itself) for a DNS query. Bind is set up to return 192.168.x.x.

In /etc/hosts I have
127.0.0.1 localhost.localdomain localhost
192.168.x.x zimbra.test.domain.com zimbra
192.168.x.y firewall.test.domain.com firewall

Mike
Reply With Quote
  #4 (permalink)  
Old 11-16-2006, 03:18 AM
New Member
 
Posts: 3
Default

Thanks Mike,
Yes the system has only one NIC with an IP of 192.168.x.x, a default gateway of the firewall, and a DNS pointer to my ISP's DNS server.

So it looks like I'll have to set-up the Zimbra box as it's own DNS server (as there is no internal DNS server in the shop). Then I need to get it to point to itself (127.0.0.1) instead of using my ISP's DNS server (which resolves test.domain.com to the external IP address). Correct?

Could I just use the host file instead of bind for this purpose?

(PS - Time zones are a pain!)

Dom
Reply With Quote
  #5 (permalink)  
Old 11-16-2006, 03:24 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

No, you need to use BIND as Zimbra requires proper DNS A & MX records pointing to your server - it should also point to your LAN IP and not 127.0.0.1 Search the forums for 'DNS In A Nutshell' for (very easy) details of how to set-up BIND.

Depending on how your system is set-up you may need a split-DNS on your system.
__________________
Regards


Bill

Last edited by phoenix; 11-16-2006 at 03:28 AM..
Reply With Quote
  #6 (permalink)  
Old 11-16-2006, 03:29 AM
New Member
 
Posts: 3
Default

Thanks Bill.... will do that and let you know how things go.


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