my problem is the zimbra mail server is located behind a firewall.
zimbra email ip address: 192.168.1.2
public ip address for zimbra email server: 60.52.150.185
firewall NAT the zimbra email server
Code:
[root@mail domains]# cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 208.67.222.222 (opendns ip)
nameserver 208.67.220.220 (opendns ip)
#nameserver 64.191.81.230 (the hosting comopany dns)
#nameserver 64.191.81.231 (the hosting comopany dns)
Code:
[root@mail domains]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.1.2 mail.nichiyu.com.my mail
from the zimbra email server itself:
Code:
[root@mail domains]# dig nichiyu.com.my
; <<>> DiG 9.3.4-P1 <<>> nichiyu.com.my
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48439
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;nichiyu.com.my. IN A
;; AUTHORITY SECTION:
nichiyu.com.my. 3500 IN SOA ns1.nichiyu.com.my. root.nichiyu.com.my.nichiyu.com.my. 2008121603 3600 3500 3500 3500
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Dec 24 15:50:57 2008
;; MSG SIZE rcvd: 92
Code:
[root@mail domains]# dig mx nichiyu.com.my
; <<>> DiG 9.3.4-P1 <<>> mx nichiyu.com.my
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55382
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
;; QUESTION SECTION:
;nichiyu.com.my. IN MX
;; ANSWER SECTION:
nichiyu.com.my. 86400 IN MX 10 mail.nichiyu.com.my.
;; AUTHORITY SECTION:
nichiyu.com.my. 86400 IN NS ns1.nichiyu.com.my.
;; ADDITIONAL SECTION:
mail.nichiyu.com.my. 86400 IN A 192.168.1.2
ns1.nichiyu.com.my. 86400 IN A 64.191.81.230
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Dec 24 15:51:13 2008
;; MSG SIZE rcvd: 103
from outside/ external
D:\Documents and Settings\Christopher>nslookup
Default Server: cns3.tm.net.my
Address: 202.188.0.133
> nichiyu.com.my
Server: cns3.tm.net.my
Address: 202.188.0.133
Non-authoritative answer:
Name: nichiyu.com.my
Address: 64.191.81.229
> set type=mx
> nichiyu.com.my
Server: cns3.tm.net.my
Address: 202.188.0.133
Non-authoritative answer:
nichiyu.com.my MX preference = 10, mail exchanger = mail.nichiyu.com.my
nichiyu.com.my nameserver = ns2.2mediastudio.net
nichiyu.com.my nameserver = ns1.2mediastudio.net
mail.nichiyu.com.my internet address = 60.52.150.185
ns1.2mediastudio.net internet address = 64.191.81.230
ns2.2mediastudio.net internet address = 64.191.81.231
the zimbra.log does not show any error log. this is when i send an email to my testing email account in nichiyu.com.my. but bouch with message error 550 relay access denied (state 14)
Dec 24 15:46:14 mail postfix/smtpd[21975]: connect from fk-out-0910.google.com[209.85.128.185]
Dec 24 15:46:16 mail postfix/smtpd[21975]: disconnect from fk-out-0910.google.com[209.85.128.185]
hope can get help
thanks