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
  #31 (permalink)  
Old 04-20-2008, 02:28 PM
Senior Member
 
Posts: 50
Default

One more thing, the DNS in a nutshell assumed that BIND was running on the same server as Zimbra. Shouldn't I have it run on the server that's handling our Internet traffic instead? If so, then would the settings be the same?
Reply With Quote
  #32 (permalink)  
Old 04-20-2008, 03:27 PM
Senior Member
 
Posts: 50
Default

Ok, I disabled BIND on the server that will run Zimbra, and set it up on the server that is handling the Internet traffic. Here is the configuration of the fairhavenchurch.org master zone.

Code:
$ttl 38400
fairhavenchurch.org.	IN	SOA	intranet.fairhavenchurch.org. root.localhost. (
			1208727739
			10800
			3600
			604800
			38400 )
@	IN	NS	intranet.fairhavenchurch.org.
@	      IN	A	192.168.1.153
mail.fairhavenchurch.org.	IN	A	192.168.1.153
@	IN	MX	10 mail
mail1       IN	      CNAME	mail
mail2       IN        CNAME     mail

The A record works, but not the MX record. I'm sure it's something silly that I've missed. Just a FYI, "intranet.fairhavenchurch.org" is the hostname for the server that is handling the Internet traffic.
Reply With Quote
  #33 (permalink)  
Old 04-20-2008, 04:19 PM
Special Member
 
Posts: 167
Default

Have you tried this way round, how you had it before?

Code:
mail IN A     192.168.1.153
@    IN MX 10 mail.fairhavenchurch.org.
Reply With Quote
  #34 (permalink)  
Old 04-20-2008, 05:01 PM
Outstanding Member
 
Posts: 684
Default

If you plan on using mail1 and/or mail2 as pointing to your mail server, I believe the RFC's recommend not using cname's to point to a mail server. They recommenf using A eacords only.
Reply With Quote
  #35 (permalink)  
Old 04-20-2008, 11:29 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

This would be the format you want.
Quote:
Originally Posted by webman View Post
Have you tried this way round, how you had it before?

Code:
mail IN A     192.168.1.153
@    IN MX 10 mail.fairhavenchurch.org.
You also have an incorrect hosts file (you're missing localhost IP), it should be this:

Code:
# Do not remove the following line, or various programs
# that require network functionality will fail.
192.168.1.153	mail.fairhavenchurch.org	mail
127.0.0.1 localhost.localdomain	localhost
__________________
Regards


Bill

Last edited by phoenix; 04-21-2008 at 03:51 AM..
Reply With Quote
  #36 (permalink)  
Old 04-21-2008, 02:20 AM
Moderator
 
Posts: 7,928
Default

localhost entry is wrong
Code:
192.168.1.153	mail.fairhavenchurch.org	mail
127.0.0.1 localhost.localdomain	localhost	
::1	localhost6.localdomain6	localhost6
__________________
Reply With Quote
  #37 (permalink)  
Old 04-22-2008, 10:49 AM
Senior Member
 
Posts: 50
Default

Thank you very much, everyone, for your help!! Because of you, progress is finally being made!

The server that is handling the Internet traffic is handling the DNS as well. Are the following OK?

dig mail.fairhavenchurch.org a
Code:
; <<>> DiG 9.3.3rc2 <<>> mail.fairhavenchurch.org a
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47716
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.fairhavenchurch.org.	IN	A

;; ANSWER SECTION:
mail.fairhavenchurch.org. 38400	IN	A	192.168.1.153

;; AUTHORITY SECTION:
fairhavenchurch.org.	38400	IN	NS	intranet.fairhavenchurch.org.

;; Query time: 1 msec
;; SERVER: 192.168.1.155#53(192.168.1.155)
;; WHEN: Tue Apr 22 13:45:00 2008
;; MSG SIZE  rcvd: 81

dig mail.fairhavenchurch.org mx
Code:
; <<>> DiG 9.3.3rc2 <<>> mail.fairhavenchurch.org mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12150
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.fairhavenchurch.org.	IN	MX

;; AUTHORITY SECTION:
fairhavenchurch.org.	38400	IN	SOA	intranet.fairhavenchurch.org. root.localhost. 1208727739 10800 3600 604800 38400

;; Query time: 1 msec
;; SERVER: 192.168.1.155#53(192.168.1.155)
;; WHEN: Tue Apr 22 13:44:29 2008
;; MSG SIZE  rcvd: 101

THANKS AGAIN!!
Reply With Quote
  #38 (permalink)  
Old 04-22-2008, 12:08 PM
Moderator
 
Posts: 7,928
Default

Okay the second dig is not correct. If the domain you wish to receive email for is fairhavenchurch.org then test with
Code:
dig fairhavenchurch.org mx
the receiving server from what I read should be mail.fairhavenchurch.org. When checking the MX you have to specify the domain you are interested in, and not the actual server name. The first dig looks good so to do a final pass try the following
Code:
host `hostname` <- note backticks and not double quotes
dig fairhavenchurch.org mx
dig mail.fairhavenchurch.org a
if you are sending out to the Internet direct, and not using a upstream mail server ie. your ISP make sure other domains resolve aswell so try
Code:
dig yahoo.com mx
and you should see their MX records.
__________________
Reply With Quote
  #39 (permalink)  
Old 04-26-2008, 09:44 AM
Senior Member
 
Posts: 50
Default

host 'mail.fairhavenchurch.org'
Code:
[root@mail ~]# host 'mail.fairhavenchurch.org'
mail.fairhavenchurch.org has address 192.168.1.153
dig fairhavenchurch.org mx
Code:
; <<>> DiG 9.3.3rc2 <<>> fairhavenchurch.org mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13712
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;fairhavenchurch.org.           IN      MX

;; ANSWER SECTION:
fairhavenchurch.org.    38400   IN      MX      10 mail.fairhavenchurch.org.fairhavenchurch.org.

;; AUTHORITY SECTION:
fairhavenchurch.org.    38400   IN      NS      intranet.fairhavenchurch.org.

;; Query time: 1 msec
;; SERVER: 192.168.1.155#53(192.168.1.155)
;; WHEN: Sat Apr 26 11:42:39 2008
;; MSG SIZE  rcvd: 101
dig mail.fairhavenchurch.org a
Code:
; <<>> DiG 9.3.3rc2 <<>> mail.fairhavenchurch.org a
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33816
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.fairhavenchurch.org.      IN      A

;; ANSWER SECTION:
mail.fairhavenchurch.org. 38400 IN      A       192.168.1.153

;; AUTHORITY SECTION:
fairhavenchurch.org.    38400   IN      NS      intranet.fairhavenchurch.org.

;; Query time: 2 msec
;; SERVER: 192.168.1.155#53(192.168.1.155)
;; WHEN: Sat Apr 26 12:43:05 2008
;; MSG SIZE  rcvd: 81
Reply With Quote
  #40 (permalink)  
Old 04-26-2008, 09:53 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

When doing any dig commands you should only use the domain name not the FQDN of your server, the correct check for the A record would be:
Code:
dig fairhavenchurch.org any
Also the test for the hostname must be in this format:

Code:
host `hostname`  <-- that's backticks not single quotes
you must enter the word 'hostname' not the FQDN of your mailserver and that will test if your your /etc/hosts file is correct.
__________________
Regards


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