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 02-27-2010, 09:10 PM
Junior Member
 
Posts: 8
Default I need help - New Install

Hi,


I've tried to install Zimbra in a VM on the DMZ side, and I assume that all ports are opened at the zone. So, what I'm going to ask here probably was discussed before, and I've seen all the docs on the Zimbra Wiki Forum but I just couldn't get it working correctly.

The question is: Is somebody out there that may could help me setting up this server? Here is the architecture of my network:

Lets assume that is on DMZ side

HOST: mail.example.com
IP: 192.168.90.25 (Internal IP - NOT NAT)

Firewall

192.168.0.254 ---------> Internal LAN
192.168.90.254 -------> DMZ
200.000.000.2 ---------> PUBLIC IP

Since the firewall its not NATing any ports, I assume that is no restriction here about communication with another servers.

My hosts file:

127.0.0.1 localhost.localdomain localhost
192.168.90.25 mail.absolutaconsultoriagv.com.br policarpo
200.000.000.00 mail.absolutaconsultoriagv.com.br policarpo


My named.conf.options file:

options {
directory "/var/cache/bind";

// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See US-CERT Vulnerability Note VU#800113

query-source address * port 53;

// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.

forwarders {
my-ISP-DNS-IP; my-ISP-DNS-IP;
};

auth-nxdomain no; # conform to RFC1035
};



My resolv.conf file:

search example.com

nameserver my-ISP-DNS-IP
nameserver my-ISP-DNS-IP



My named.conf file:

// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";



My named.conf.local file

//
// Do any local configuration here
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";

zone "example.com" {
type master;
file "/etc/bind/db.example.com";
};



My db.example.com file:

; BIND data file for mydomain.com
;
$TTL 604800
@ IN SOA mail.example.com. admin.example.com. (
070725 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS mail
IN MX 10 mail
IN A 192.168.90.25
mail IN A 192.168.90.25



After all this, I get the message when I tried to send any messages (outside):

"Connect to f.mx.mail.yahoo.com.br[IP]:25 - Reason: Network is unreachable"


If I can get any help, I'll be grateful !..

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 02-28-2010, 12:32 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Quote:
Originally Posted by provider1 View Post
Since the firewall its not NATing any ports, I assume that is no restriction here about communication with another servers.

My hosts file:

127.0.0.1 localhost.localdomain localhost
192.168.90.25 mail.absolutaconsultoriagv.com.br policarpo
200.000.000.00 mail.absolutaconsultoriagv.com.br policarpo
This is incorrect, it should look like this (I assume that your firewall has the public IP?):

Code:
127.0.0.1       localhost.localdomain   localhost
192.168.90.25   mail.absolutaconsultoriagv.com.br mail
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 02-28-2010, 04:36 AM
Moderator
 
Posts: 7,911
Default

The resolv.conf should not have your ISP DNS is there neither; you should point to your own DNS for which you have defined forwarders anyway.
__________________
Reply With Quote
  #4 (permalink)  
Old 02-28-2010, 08:52 AM
Junior Member
 
Posts: 8
Default

I just don't get it. Let me see if I understand right.

I've configured everything in the way all docs shows.....And still getting nowhere...

One thing is: When I go to "Mail Queue" tab, it shows the message:

ID Recipients Sender Origin IP Origin Host
C*** user@yahoo.com.br user@example.com 127.0.0.1 localhost.localdomain


On the above, its supposed to be on Origin host and IP, my Public and real hostname, It shouldn't?

Oh, by the way, thanks for the quickly reply.......
Reply With Quote
  #5 (permalink)  
Old 02-28-2010, 09:23 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Quote:
Originally Posted by provider1 View Post
I just don't get it. Let me see if I understand right.

I've configured everything in the way all docs shows.....And still getting nowhere...
That's not quite correct, you need to modify the hosts file as I've shown it above and you need to have a resolv.conf that points to your LAN DNS server not any other DNS server. Do that and see how you get on, if you still have problems then look in the log files for any errors.
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 02-28-2010, 09:30 AM
Junior Member
 
Posts: 8
Default

My problem I think could be the Debian Lenny.......its resolv.conf points to itself, and still getting the errors.....

/var/log/zimbra.log


Feb 27 22:00:33 policarpo postfix/smtp[19229]: connect to d.mx.mail.yahoo.com[209.191.88.254]:25: Network is unreachable
Feb 27 22:00:33 policarpo postfix/smtp[19229]: connect to c.mx.mail.yahoo.com[206.190.54.127]:25: Network is unreachable
Feb 27 22:00:33 policarpo postfix/smtp[19229]: connect to f.mx.mail.yahoo.com[98.137.54.237]:25: Network is unreachable
Feb 27 22:00:33 policarpo postfix/smtp[19229]: connect to a.mx.mail.yahoo.com[67.195.168.31]:25: Network is unreachable
Feb 27 22:00:33 policarpo postfix/smtp[19229]: connect to b.mx.mail.yahoo.com[74.6.136.65]:25: Network is unreachable
Feb 27 22:00:34 policarpo postfix/smtp[19229]: C627216252C: to=, relay=none, delay=0.18, delays=0.02/0.04/0.11/0, dsn=4.4.1, status=deferred
(connect to b.mx.mail.yahoo.com[74.6.136.65]:25: Network is unreachable)
Reply With Quote
  #7 (permalink)  
Old 02-28-2010, 09:32 AM
Junior Member
 
Posts: 8
Default

I've heard somewhere that Bind must be allowed to resolv outside its self (box)....any ideas?
Reply With Quote
  #8 (permalink)  
Old 02-28-2010, 09:45 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Quote:
Originally Posted by provider1 View Post
I've heard somewhere that Bind must be allowed to resolv outside its self (box)....any ideas?
For a split DNS, you can have forwarders set in there to external DNS servers but you must not have any other DNS server in the resolv.conf.
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 02-28-2010, 09:52 AM
Junior Member
 
Posts: 8
Default

Hi Bill,

I still getting nowhere......I may not knowing how to configure DNS on the rigth way.....

I think I may give up the project, because its really getting my nervs...

As far as I know, my problem could be the DNS configuration........but I really can't afford to get this working properly without any direct advice......I'm not kind of new on the linux systems, but never had setup a properly DNS system before....if there is any other docs I could check to make this project working, I would be glad to hear from.....All docs that I've checked before still not getting me anywhere......
Reply With Quote
  #10 (permalink)  
Old 02-28-2010, 09:54 AM
Junior Member
 
Posts: 8
Default

Hi Bill,

If there is a chance to give you access to my server, could you check my confs??
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.