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

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 08-01-2011, 03:09 AM
Junior Member
 
Posts: 9
Default Mx record

Hi all.

I use zcs OS 7.1.1
Everything works fine, but when i try to test mx record in admin console i get error "Domain is configured to use SMTP host: domain.local. none of the MX records match this name." When i look at details i see following: " Found the following MX records: 10 mx1.domain.local."

Code:
root@mx1:~# cat /etc/hosts
127.0.0.1	localhost
62.*.*.9	mx1.domain.local	mx1
Code:
root@mx1:~# cat /etc/resolv.conf 
search domain.local
nameserver 62.*.*.3
nameserver 192.168.11.2
Where i can configure to use zimbra SMTP host mx1.domain.local ?
Reply With Quote
  #2 (permalink)  
Old 08-01-2011, 03:15 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

Your hosts file & your resolv.conf are incorrect, go to the Split DNS article and read what's necessary for your DNS A & MX records and those files I've mentioned - this subject has also been covered (and answered) many times in the forums if you'd like to do a search.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 08-01-2011, 03:31 AM
Junior Member
 
Posts: 9
Default

Thank you for your reply. I see this article, before i write my message. Zimbra server is in dmz and my dns server too. Why i need to use split dns?
Reply With Quote
  #4 (permalink)  
Old 08-01-2011, 03:35 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

Quote:
Originally Posted by koststok View Post
Thank you for your reply. I see this article, before i write my message. Zimbra server is in dmz and my dns server too. Why i need to use split dns?
I assume you are behind a NAT router then? As I've already said, you need to set-up the Split DNS so the LAN IP address of the server can be resolved - asked and answered many times in the forums.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 08-01-2011, 03:42 AM
Junior Member
 
Posts: 9
Default

This server have one ip address, this ip address 62.*.*.9 This address resolve from anywhere. From lan and form internet.

P.s. Forgive my insistence )
Reply With Quote
  #6 (permalink)  
Old 08-01-2011, 03:46 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

Quote:
Originally Posted by koststok View Post
This server have one ip address, this ip address 62.*.*.9 This address resolve from anywhere. From lan and form internet.
This server is in a DMZ or behind a NAT router isn't it? If it is then you need a Split DNS.

Go to the Split DNS article and post the output of all the commands section.
__________________
Regards


Bill

Last edited by phoenix; 08-01-2011 at 03:51 AM..
Reply With Quote
  #7 (permalink)  
Old 08-01-2011, 05:27 AM
Junior Member
 
Posts: 9
Default

At this time i use lan dns server (active directory 192.168.11.2), firewall is cisco hardware. Between lan and DMZ.

Code:
root@mx1:/tmp# dig domain.local mx

; <<>> DiG 9.7.0-P1 <<>> domain.local mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39093
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;domain.local.			IN	MX

;; ANSWER SECTION:
domain.local.		3600	IN	MX	10 mx1.domain.local.

;; ADDITIONAL SECTION:
mx1.domain.local.	3600	IN	A	62.*.*.9

;; Query time: 1 msec
;; SERVER: 192.168.11.2#53(192.168.11.2)
;; WHEN: Mon Aug  1 16:18:41 2011
;; MSG SIZE  rcvd: 68
Code:
root@mx1:/tmp# dig domain.local any

; <<>> DiG 9.7.0-P1 <<>> domain.local any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62842
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 3

;; QUESTION SECTION:
;domain.local.			IN	ANY

;; ANSWER SECTION:
domain.local.		600	IN	A	192.168.11.2
domain.local.		600	IN	A	192.168.11.3
domain.local.		3600	IN	NS	dc2.domain.local.
domain.local.		3600	IN	NS	dc1.domain.local.
domain.local.		3600	IN	SOA	dc1.domain.local. hostmaster.domain.local. 12176 900 600 86400 3600
domain.local.		3600	IN	MX	10 mx1.domain.local.

;; ADDITIONAL SECTION:
dc2.domain.local.	3600	IN	A	192.168.11.3
dc1.domain.local.	3600	IN	A	192.168.11.2
mx1.domain.local.	3600	IN	A	62.*.*.9

;; Query time: 1 msec
;; SERVER: 192.168.11.2#53(192.168.11.2)
;; WHEN: Mon Aug  1 16:20:27 2011
;; MSG SIZE  rcvd: 215
Code:
root@mx1:/tmp# host $(hostname)
mx1.domain.local has address 62.*.*.9
Code:
root@mx1:/tmp# cat /etc/resolv.conf 
search domain.local
nameserver 192.168.11.2
Code:
root@mx1:/tmp# cat /etc/hosts
127.0.0.1	localhost
62.*.*.9	mx1.domain.local	mx1

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

Last edited by koststok; 08-01-2011 at 05:47 AM..
Reply With Quote
  #8 (permalink)  
Old 08-01-2011, 05:33 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

I'd suggest you read the Split DNS article in detail. Your hosts file is incorrect (the loopback entry is wrong and the IP address for your server is wrong) and your DNS records are incorrect (they do not point to the LAN IP of the server - those problems are why you are getting no mail to your server. You need to fix all of those problems for your mail delivery problem and possible future problems.
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 08-01-2011, 05:49 AM
Junior Member
 
Posts: 9
Default

server is work fine, i can recieve and send mails.
Reply With Quote
  #10 (permalink)  
Old 08-01-2011, 05:55 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

Quote:
Originally Posted by koststok View Post
server is work fine, i can recieve and send mails.
That's fine but you're having a problem checking the MX record from the Admin UI. The information I've asked you to provide shows that your hosts file is incorrect and your DNS A record is also incorrect. If you're happy to leave it like that then feel free to ignore my suggestions but you will, eventually, have problems with your server - you can do whatever you like, it's your choice. Feel free to search the forums for further information on this problem and what the correct settings should be.
__________________
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.