i'm sorry, i wasn't give a proper information about my server before. You know, i can't give the real information of my server, so it's little difficult to tell the situation, but i'll try
.
What you should do is rename the "mail.domain.com" to "domain.com" - you don't need a second domain
i have several domain :
192.168.0.3 : ns.zimbra.com = DNS server
192.168.0.4 : zimbra.com = Web server
192.168.0.5 : mail.zimbra.com = Mail server
domain "zimbra.com" have been used for web server and have separate ip from "mail.zimbra.com". The real domain for mail server is mail.zimbra.com not "zimbra.com". But i want my account on zimbra have name user@zimbra.com not user@mail.zimbra.com. So i created domain alias "zimbra.com" on my "mail.zimbra.com" mail server.
Make sure your reverse DNS matches the SMTP banner and that you take a backup of your server before you make any changes.
what method to use for check if my reverse DNS matches the SMTP banner or not ?
That 'host' command should be using the Public IP of your server to check the reverse DNS is correct.
im used host from private and public network and the result was fine.
Code:
[root@ ~]# host 192.168.0.5
5.0.168.192.in-addr.arpa domain name pointer mail.zimbra.com.
Code:
[root@ ~]# host my.ip.public.network
network.public.ip.my.in-addr.arpa domain name pointer mail.zimbra.com.
and for dig, the result was something like this :
Code:
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5 <<>> mx mail.zimbra.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42754
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
;; QUESTION SECTION:
;mail.zimbra.com. IN MX
;; ANSWER SECTION:
mail.zimbra.com. 40145 IN MX 10 mail.zimbra.com.
;; AUTHORITY SECTION:
mail.zimbra.com. 71244 IN NS ns.zimbra.com.
;; ADDITIONAL SECTION:
mail.zimbra.com. 74989 IN A 192.168.0.5
ns.zimbra.com. 40145 IN A 192.168.0.3
;; Query time: 0 msec
;; SERVER: 192.168.0.3#53(192.168.0.3)
;; WHEN: Fri Mar 8 14:11:19 2013
;; MSG SIZE rcvd: 114
Code:
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5 <<>> mx zimbra.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46177
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
;; QUESTION SECTION:
;zimbra.com. IN MX
;; ANSWER SECTION:
zimbra.com. 39710 IN MX 10 mail.zimbra.com.
;; AUTHORITY SECTION:
zimbra.com. 70802 IN NS ns.zimbra.com.
;; ADDITIONAL SECTION:
mail.zimbra.com. 74547 IN A 192.168.0.5
ns.zimbra.com. 39703 IN A 192.168.0.3
;; Query time: 0 msec
;; SERVER: 192.168.0.3#53(192.168.0.3)
;; WHEN: Fri Mar 8 14:18:41 2013
;; MSG SIZE rcvd: 114
once again, sorry for my bad english and Thanks !