I have been fighting with this zimbra server for some time. I have made progress with posts that already existed on this forum and the Wiki's.
The problem I am having is that the server can only send mail when DNS Lookup is disabled, and only receive mail when it is Enabled.
I will provide some of the cfg's I have currently set up. I have split-dns set up as well but not 100% sure if it is working.
Here are the cfg/files:
Hostname:
Hosts:
Code:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
#::1 localhost6.localdomain6 localhost6
192.168.1.X mydomain.net mail
Resolve: (Internal IP)
Code:
search mydomain.net
nameserver 192.168.1.X
Named:
Code:
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
forwarders { 208.67.222.222 ; };
};
include "/etc/rndc.key";
zone "mail.mydomain.net" {
type master;
file "db.mail.mydomain.net";
}; Named db:
Code:
;
;
;
@ IN SOA mail.mydomain.net. hostmaster.mail.mydomain.net. (
10118 ; Serial
43200 ; Refresh
3600 ; Retry
3600000 ; Expire
2592000 ) ; Minimum
; Define the nameservers and the mail server
IN NS 192.168.1.X
IN MX 10 mail.mydomain.net.
mail IN A 192.168.1.X Dig mydomain.net mx:
Code:
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> mydomain.net mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33331
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;mydomain.net. IN MX
;; ANSWER SECTION:
mydomain.net. 600 IN MX 0 mail.mydomain.net.
;; Query time: 31 msec
;; SERVER: 208.67.222.222#53(208.67.222.222)
;; WHEN: Mon Jul 18 11:25:30 2011
;; MSG SIZE rcvd: 51
Dig mydomain.net any:
Code:
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> mydomain.net any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11388
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;mydomain.net. IN ANY
;; ANSWER SECTION:
mydomain.net. 12852 IN A Our External IP (Is Correct)
mydomain.net. 546 IN MX 0 mail.mydomain.net.
mydomain.net. 86346 IN NS ns28.hostgator.com.
mydomain.net. 86346 IN NS ns27.hostgator.com.
;; Query time: 10 msec
;; SERVER: 208.67.222.222#53(208.67.222.222)
;; WHEN: Mon Jul 18 11:26:24 2011
;; MSG SIZE rcvd: 118
///////////////////////////////////////
I am sure I am forgetting a few things most likely. Let me know if there is any other information you request to help me identify and correct this problem. Your help is greatly appreciated.
Thanks
-Steve