I can't get this to work with Zimbra 7. It appears that it's not respecting the zimbraIMBindAddress option.
I've reconfigured postfix (master.cf.in), jetty (jetty.xml.in and friends) as well as setting zimbraPopBindAddress, zimbraPopSSLBindAddress, zimbraIMBindAddress, zimbraImapBindAddress, zimbraImapSSLBindAddress, and zimbraLmtpBindAddress. The suggestion is that this should be enough to get Zimbra listening on a single IP address.
What actually happens is that six ports remain open on my second IP.
This page suggests that the open ports on my second IP are all to do with xmpp. Changing zimbraIMBindAddress has no effect. For ref, I have definitely set zimbraIMBindAddress correctly. I've tried unsetting it and setting it again, and I have restarted zimbra between changes.:
Code:
sudo -u zimbra /opt/zimbra/bin/zmprov -l gs my.server.name zimbraIMBindAddress xxx.xxx.xxx.33
# name my.server.name
zimbraIMBindAddress: xxx.xxx.xxx.33
Below is what nmap says about the open ports on both my IPs. If I stop Zimbra, all but port 22 are closed.
Code:
Starting Nmap 4.53 ( Insecure.Org - Nmap Free Security Scanner, Tools & Hacking resources ) at 2011-03-18 17:02 GMT
Interesting ports on x.x.x.33:
Not shown: 65515 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
80/tcp open http
110/tcp open pop3
143/tcp open imap
389/tcp open ldap
465/tcp open smtps
587/tcp open submission
993/tcp open imaps
995/tcp open pop3s
5222/tcp open unknown
5223/tcp open unknown
5269/tcp open unknown
7025/tcp open unknown
7071/tcp open unknown
7072/tcp open unknown
7335/tcp open unknown
7777/tcp open unknown
7780/tcp open unknown
10015/tcp open unknown
Interesting ports on x.x.x.34:
Not shown: 65529 closed ports
PORT STATE SERVICE
5222/tcp open unknown
5223/tcp open unknown
5269/tcp open unknown
7335/tcp open unknown
7777/tcp open unknown
10015/tcp open unknown
Nmap done: 2 IP addresses (2 hosts up) scanned in 32.479 seconds