Bind Zimbra On Specific IP Address

Here’s how to configure Zimbra services to bind to a specific IP address. These instructions apply to ZCS 5.x only. Assume that the IP address is [IP].

SMTP (TCP 25)

Edit /opt/zimbra/postfix/conf/master.cf.

Change:

To:

WEB (TCP 80/443/admin ports)

Edit /opt/zimbra/jetty/etc/jetty.xml.in

After every line starting with:

Add:

POP/IMAP

Su to zimbra account.

Start zmprov:

Determine server name:

Change bind addresses:

One additional trick is needed. Add these two IPTables rules to map 127.0.0.1:7071 to [IP]:7071.

Have a project or a problem?

Talk with a senior engineer for practical recommendations—no obligation.

Leave a comment

2 Responses

  1. Hi there!

    Before getting my hand dirty on this… it surprised me that you don’t mention clamav nor amavis-new in your post. Are you sure that is not necessary to modify anything in that sense?

  2. Pedro,
    No changes are needed to the anti-virus because they connect on localhost instead of a public IP address.

    Thanks,
    Lee

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Categories

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.