If you administer Zimbra on Ubuntu the following UFW profile may be of interest to you. For more information about UFW see https://help.ubuntu.com/community/UFW.

Create the file /etc/ufw/applications.d/zimbra with the following contents:

Code:
[Zimbra]
title=Zimbra Collaboration Server
description=Open source server for email, contacts, calendar, and more.
ports=25,80,110,143,443,465,993,995,7071/tcp
Enable the profile using:

Code:
sudo ufw allow Zimbra
sudo ufw enable
You can tweak the profile to meet your needs.