I'm evaluating Zimbra CSA v6.0.14.406. I can send out email without error but cannot receive email. I'm not sure if I have done configured them correctly.
Here are my configurations:
cat /etc/hostname
webmail.mydomain.com.my
cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.33 webmail.mydomain.com.my
The alias after '.com.my' will missing after reboot server or restart network
cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 192.168.1.1
domain mydomain.com.my
search mydomain.com.my
host $(hostname)
Host webmail.mydomain.com.my not found: 3(NXDOMAIN)
db.mydomain.com.my
;mydomain.com.my
$TTL 86400
@ IN SOA webmail.mydomain.com.my. admin.mydomain.com.my. (
201109231448 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
86400) ; Negative Cache TTL
; Define the nameservers and the mail servers
@ IN NS webmail
IN MX 10 webmail.mydomain.com.my
IN A 192.168.1.33
mail IN A 192.168.1.33
db.1.168.192
;1.168.192
$TTL 86400
@ IN SOA webmail.mydomain.com.my. admin.mydomain.com.my. (
201109231448 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
86400) ; Negative Cache TTL
; Define the nameservers and the mail servers
NS webmail.mydomain.com.my
1 PTR webmail.mydomain.com.my
named.conf.local
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
acl internals {
127.0.0.0/8;
192.168.1.0/24;
};
view "internal" {
match-clients { internals; };
recursion yes;
zone "mydomain.com.my" {
type master;
file "/etc/bind/internal/db.mydomain.com.my";
Note: I have not yet included ' view "external" ' in this file
nslookup webmail.mydomain.com.my
Server: 127.0.0.1
Address: 127.0.0.1#53
** server can't find webmail.mydomain.com.my: NXDOMAIN
dig mydomain.com.my mx
; <<>> DiG 9.4.2-P2.1 <<>> mydomain.com.my mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;mydomain.com.my. IN MX
;; ANSWER SECTION:
mydomain.com.my. 86400 IN MX 10 webmail.mydomain.com.my.mydomain.com.my.
;; AUTHORITY SECTION:
mydomain.com.my. 86400 IN NS webmail.mydomain.com.my.
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Mar 29 09:09:51 2012
;; MSG SIZE rcvd: 91
dig mydomain.com.my any
; <<>> DiG 9.4.2-P2.1 <<>> mydomain.com.my any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;mydomain.com.my. IN ANY
;; ANSWER SECTION:
mydomain.com.my. 86400 IN SOA webmail.mydomain.com.my. admin.mydomain.com.my. 3540735832 604800 86400 2419200 86400
mydomain.com.my. 86400 IN NS webmail.mydomain.com.my.
mydomain.com.my. 86400 IN MX 10 webmail.mydomain.com.my.mydomain.com.my.
mydomain.com.my. 86400 IN A 192.168.1.33
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Mar 29 09:11:39 2012
;; MSG SIZE rcvd: 149
[SOLVED]Unable to receive email -DNS eror
[SOLVED]Unable to receive email -DNS eror
Just some of the obvious, make your you have a registered external domain, external dns pointing your external IP, NAT Rules in place to forward requests, etc.
[SOLVED]Unable to receive email -DNS eror
In addition to the above, the hosts file is incorrect and there's no A record for your mail server. Go to the Split DNS article and read the configuration details in there.
[SOLVED]Unable to receive email -DNS eror
[quote user="8135VTC"]Just some of the obvious, make your you have a registered external domain, external dns pointing your external IP, NAT Rules in place to forward requests, etc.[/QUOTE]
Tks for your reply. Currently we are using exchange 5.5. server & it is registered to external domain, which is mydomain.com.my in the example above. I can send & receive within zimbra users, can send outside but cannot receive internal emails. I guess need to register an external domain for our zimbra email server as well.
[quote user="10330phoenix"]In addition to the above, the hosts file is incorrect and there's no A record for your mail server. Go to the Split DNS article and read the configuration details in there.[/QUOTE]
The host file will remain as per listed above after reboot server or manually restart networking service, even i added alias 'webmail' after the second line.
host $(hostname)
webmail.mydomain.com.my has address 192.168.1.33
nslookup webmail.mydomain.com.my
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: webmail.mydomain.com.my
Address: 192.168.1.33
dig mydomain.com.my mx
; <<>> DiG 9.4.2-P2.1 <<>> mydomain.com.my mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;mydomain.com.my. IN MX
;; ANSWER SECTION:
mydomain.com.my. 86400 IN MX 10 webmain.mydomain.com.my.
;; AUTHORITY SECTION:
mydomain.com.my. 86400 IN NS 192.168.1.33.
;; ADDITIONAL SECTION:
webmail.mydomain.com.my. 86400 IN A 192.168.1.33
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Apr 20 14:14:27 2012
;; MSG SIZE rcvd: 97
dig mydomain.com.my any
; <<>> DiG 9.4.2-P2.1 <<>> mydomain.com.my any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;mydomain.com.my. IN ANY
;; ANSWER SECTION:
mydomain.com.my. 86400 IN SOA webmail.mydomain.com.my. admin.mydomain.com.my. 3540735832 604800 86400 2419200 86400
mydomain.com.my. 86400 IN NS 192.168.1.33.
mydomain.com.my. 86400 IN MX 10 webmail.mydomain.com.my.
mydomain.com.my. 86400 IN A 192.168.1.33
;; ADDITIONAL SECTION:
webmail.mydomain.com.my. 86400 IN A 192.168.1.33
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Apr 20 14:20:13 2012
;; MSG SIZE rcvd: 155
Tks for your reply. Currently we are using exchange 5.5. server & it is registered to external domain, which is mydomain.com.my in the example above. I can send & receive within zimbra users, can send outside but cannot receive internal emails. I guess need to register an external domain for our zimbra email server as well.
[quote user="10330phoenix"]In addition to the above, the hosts file is incorrect and there's no A record for your mail server. Go to the Split DNS article and read the configuration details in there.[/QUOTE]
The host file will remain as per listed above after reboot server or manually restart networking service, even i added alias 'webmail' after the second line.
host $(hostname)
webmail.mydomain.com.my has address 192.168.1.33
nslookup webmail.mydomain.com.my
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: webmail.mydomain.com.my
Address: 192.168.1.33
dig mydomain.com.my mx
; <<>> DiG 9.4.2-P2.1 <<>> mydomain.com.my mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;mydomain.com.my. IN MX
;; ANSWER SECTION:
mydomain.com.my. 86400 IN MX 10 webmain.mydomain.com.my.
;; AUTHORITY SECTION:
mydomain.com.my. 86400 IN NS 192.168.1.33.
;; ADDITIONAL SECTION:
webmail.mydomain.com.my. 86400 IN A 192.168.1.33
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Apr 20 14:14:27 2012
;; MSG SIZE rcvd: 97
dig mydomain.com.my any
; <<>> DiG 9.4.2-P2.1 <<>> mydomain.com.my any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;mydomain.com.my. IN ANY
;; ANSWER SECTION:
mydomain.com.my. 86400 IN SOA webmail.mydomain.com.my. admin.mydomain.com.my. 3540735832 604800 86400 2419200 86400
mydomain.com.my. 86400 IN NS 192.168.1.33.
mydomain.com.my. 86400 IN MX 10 webmail.mydomain.com.my.
mydomain.com.my. 86400 IN A 192.168.1.33
;; ADDITIONAL SECTION:
webmail.mydomain.com.my. 86400 IN A 192.168.1.33
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Apr 20 14:20:13 2012
;; MSG SIZE rcvd: 155