Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Migration

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
  #11 (permalink)  
Old 03-02-2009, 06:15 AM
Intermediate Member
 
Posts: 19
Default

cat /etc/hosts
Code:
127.0.0.1 localhost
78.46.91.12  smtp.netjungle.it smtp
cat /etc/resolv.conf
Code:
nameserver 127.0.0.1
# hetzner
nameserver 213.133.98.98
nameserver 213.133.99.99
nameserver 213.133.100.100
# opendns
nameserver 208.67.222.222
nameserver 208.67.220.220
dig netjungle.it MX
Code:
; <<>> DiG 9.4.2-P2 <<>> netjungle.it MX
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50075
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 13, ADDITIONAL: 1

;; QUESTION SECTION:
;netjungle.it.			IN	MX

;; ANSWER SECTION:
netjungle.it.		3600	IN	MX	20 smtp2.netjungle.it.
netjungle.it.		3600	IN	MX	10 smtp.netjungle.it.

;; AUTHORITY SECTION:
.			29597	IN	NS	C.ROOT-SERVERS.NET.
.			29597	IN	NS	H.ROOT-SERVERS.NET.
.			29597	IN	NS	K.ROOT-SERVERS.NET.
.			29597	IN	NS	L.ROOT-SERVERS.NET.
.			29597	IN	NS	I.ROOT-SERVERS.NET.
.			29597	IN	NS	M.ROOT-SERVERS.NET.
.			29597	IN	NS	D.ROOT-SERVERS.NET.
.			29597	IN	NS	B.ROOT-SERVERS.NET.
.			29597	IN	NS	J.ROOT-SERVERS.NET.
.			29597	IN	NS	E.ROOT-SERVERS.NET.
.			29597	IN	NS	A.ROOT-SERVERS.NET.
.			29597	IN	NS	G.ROOT-SERVERS.NET.
.			29597	IN	NS	F.ROOT-SERVERS.NET.

;; ADDITIONAL SECTION:
smtp.netjungle.it.	2592000	IN	A	127.0.0.1

;; Query time: 110 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Mar  2 14:13:36 2009
;; MSG SIZE  rcvd: 300
dig netjungle.it ANY
Code:
; <<>> DiG 9.4.2-P2 <<>> netjungle.it ANY
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23037
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 13, ADDITIONAL: 1

;; QUESTION SECTION:
;netjungle.it.			IN	ANY

;; ANSWER SECTION:
netjungle.it.		3542	IN	MX	10 smtp.netjungle.it.
netjungle.it.		3542	IN	MX	20 smtp2.netjungle.it.

;; AUTHORITY SECTION:
.			29539	IN	NS	B.ROOT-SERVERS.NET.
.			29539	IN	NS	I.ROOT-SERVERS.NET.
.			29539	IN	NS	J.ROOT-SERVERS.NET.
.			29539	IN	NS	A.ROOT-SERVERS.NET.
.			29539	IN	NS	E.ROOT-SERVERS.NET.
.			29539	IN	NS	D.ROOT-SERVERS.NET.
.			29539	IN	NS	H.ROOT-SERVERS.NET.
.			29539	IN	NS	C.ROOT-SERVERS.NET.
.			29539	IN	NS	K.ROOT-SERVERS.NET.
.			29539	IN	NS	F.ROOT-SERVERS.NET.
.			29539	IN	NS	L.ROOT-SERVERS.NET.
.			29539	IN	NS	G.ROOT-SERVERS.NET.
.			29539	IN	NS	M.ROOT-SERVERS.NET.

;; ADDITIONAL SECTION:
smtp.netjungle.it.	2592000	IN	A	127.0.0.1

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Mar  2 14:14:34 2009
;; MSG SIZE  rcvd: 300
host `hostname`
Code:
smtp.netjungle.it has address 127.0.0.1
smtp.netjungle.it mail is handled by 10 smtp.netjungle.it.
I can confirm you that I had the same problem both with source server up or not.
At the moment I can't switch off it because it's in production. I've got a backup MX server but I can shutdown Zimbra just in the night.
__________________
Giorgio Salluzzo - Sviluppatore Python / Django

Last edited by drizzt; 03-02-2009 at 06:20 AM..
Reply With Quote
  #12 (permalink)  
Old 03-02-2009, 06:27 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

You need zimbra to have an IP on your LAN not localhost and you also need the following in your /etc/hosts file:

Code:
127.0.0.1 localhost.localdomain localhost
__________________
Regards


Bill
Reply With Quote
  #13 (permalink)  
Old 03-02-2009, 06:29 AM
Moderator
 
Posts: 7,911
Default

As you have a local BIND install just point the MX and A records at the IP 78.46.91.12 which you have assigned; plus fixing the localhost entry which Phoenix has advised.
__________________
Reply With Quote
  #14 (permalink)  
Old 03-02-2009, 06:46 AM
Intermediate Member
 
Posts: 19
Default

smtp.netjungle.it is pointing to 127.0.0.1 in both configurations.

New Server
Code:
; <<>> DiG 9.4.2-P2 <<>> smtp.netjungle.it ANY
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24368
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;smtp.netjungle.it.		IN	ANY

;; ANSWER SECTION:
smtp.netjungle.it.	2592000	IN	SOA	smtp.netjungle.it. hostmaster.smtp.netjungle.it. 10118 43200 3600 3600000 2592000
smtp.netjungle.it.	2592000	IN	NS	127.0.0.1.smtp.netjungle.it.
smtp.netjungle.it.	2592000	IN	A	127.0.0.1
smtp.netjungle.it.	2592000	IN	MX	10 smtp.netjungle.it.

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Mar  2 14:45:17 2009
;; MSG SIZE  rcvd: 138
Old Server
Code:
; <<>> DiG 9.4.2-P2 <<>> smtp.netjungle.it ANY
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 861
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;smtp.netjungle.it.             IN      ANY

;; ANSWER SECTION:
smtp.netjungle.it.      2592000 IN      SOA     smtp.netjungle.it. hostmaster.smtp.netjungle.it. 10118 43200 3600 3600000 2592000
smtp.netjungle.it.      2592000 IN      NS      127.0.0.1.smtp.netjungle.it.
smtp.netjungle.it.      2592000 IN      A       127.0.0.1
smtp.netjungle.it.      2592000 IN      MX      10 smtp.netjungle.it.

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Mar  2 14:43:29
__________________
Giorgio Salluzzo - Sviluppatore Python / Django
Reply With Quote
  #15 (permalink)  
Old 03-02-2009, 06:55 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Quote:
Originally Posted by drizzt View Post
smtp.netjungle.it is pointing to 127.0.0.1 in both configurations.
That is incorrect, you need to point it to a real IP address. Is this server behind a firewall and on a public IP?
__________________
Regards


Bill
Reply With Quote
  #16 (permalink)  
Old 03-02-2009, 06:58 AM
Intermediate Member
 
Posts: 19
Default

Quote:
Originally Posted by phoenix View Post
That is incorrect, you need to point it to a real IP address. Is this server behind a firewall and on a public IP?
The old server is behind a firewall, the new one has a public IP.
__________________
Giorgio Salluzzo - Sviluppatore Python / Django
Reply With Quote
  #17 (permalink)  
Old 03-02-2009, 07:00 AM
Moderator
 
Posts: 7,911
Default

If your new server going to be sat in a DMZ using your public IP or will it still be behind a firewall on a private IP/NATd ?
__________________
Reply With Quote
  #18 (permalink)  
Old 03-02-2009, 07:11 AM
Intermediate Member
 
Posts: 19
Default

The current Zimbra server is behind my company firewall in Italy, using NAT for needed ports.
The new server is out of my network, in a german webfarm, and it has just a public IP.
__________________
Giorgio Salluzzo - Sviluppatore Python / Django
Reply With Quote
  #19 (permalink)  
Old 03-02-2009, 07:12 AM
Moderator
 
Posts: 7,911
Default

Okay, so install your new server with the public IP and update /etc/resolv.conf so that it points to the locally installed BIND server. Then for BIND setup the A and MX records to use the public IP.
__________________
Reply With Quote
  #20 (permalink)  
Old 03-02-2009, 08:42 AM
Intermediate Member
 
Posts: 19
Default

Render unto sysadmin what is sysadmin's!

Yes, my internal DNS was saying smtp.netjungle.it is 127.0.0.1, and my /etc/hosts was saying it's the public IP.
I kept the Split DNS configuration but it's just for a firewalled installation.
I think it will be ok next time I try to move it.

Many thanks, I owe a pint of beer to you.
__________________
Giorgio Salluzzo - Sviluppatore Python / Django

Last edited by drizzt; 03-02-2009 at 08:44 AM..
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.