I edit /etc/hosts file:
Code:
127.0.0.1 localhost.mydomain.com localhost
IP_PRIVATE mail.mydomain.com mail
IP_PUBLIC mail.mydomain.com
And modify some registrys of our internal DNS server. Now listen on:
Code:
mail:~ # netstat -anp | grep -i listen | grep 389
tcp 0 0 IP_PRIVATE:389 0.0.0.0:* LISTEN -
Today zimbra works fine, without smtp auth. fails. I tested this:
Code:
server:/ # telnet IP_PUBLIC 389
Trying IP_PUBLIC...
telnet: connect to address IP_PUBLIC: Connection refused
server:/ # telnet IP_PUBLIC 389
Trying IP_PRIVATE...
Connected to IP_PRIVATE.
Escape character is '^]'.
If we resolve the mail.mydomain.com from our LAN obtain IP_PRIVATE, for external DNS's resolve IP_PUBLIC. The Zimbra server work with DNS of our ISP like as external DNS servers.
Code:
mail:~ # nslookup mail.mydomaine.com
Server: 80.58.61.250
Address: 80.58.61.250#53
Non-authoritative answer:
Name: mail.gruposame.com
Address: IP_PUBLIC