Prolateral Consulting Ltd
Prolateral Consulting Ltd
Knowledgebase: outmail
How to setup a Mail Relay in Zimbra 8.0.0?


How to setup a Mail Relay in Zimbra 8.0.0?


Follow the guide below to configure Zimbra to use outMail as a Internet Mail Relay. For newer versions of Zimbra please see the "How to setup a Mail Relay in Zimbra 8.5" article

This article already assumes your Zimbra system is able to send emails externally and that you are already have a terminal connection to your server with the necessary access rights to manage and administor zimbra.

First you need to create a password file for zimbra to use. create a file called /opt/zimbra/conf/relay_password and add the following lines to that file outMail-username:password

Once you have edited the file, a look file needs to be created

postmap hash:/opt/zimbra/conf/relay_password

To enable zimbra to use the outMail service at the prompt type the following

zmprov ms zimbraMtaRelayHost

zmlocalconfig -e postfix_smtp_sasl_password_maps=hash:/opt/zimbra/conf/relay_password
zmlocalconfig -e postfix_smtp_sasl_auth_enable=yes
zmlocalconfig -e postfix_smtp_cname_overrides_servername=no
zmlocalconfig -e postfix_smtp_use_tls=no
zmlocalconfig -e postfix_smtp_sasl_security_options=noanonymous postconf -e smtp_sasl_security_options=noanonymous postconf -e smtp_sasl_mechanism_filter=plain,login postmap /etc/postfix/relay_passwd

To enable zimbra to use the outMail with a different SMTP port use the following command line

zmprov ms zimbraMtaRelayHost

For the above changes to take effect the zimbra service will need restarting (postix reload)

Summary of server details

Outgoing server

As provided in your signup email.

Outgoing server protocol


Outgoing server port

25, 587, 2525 or 8025

Authentication Type

Basic Authentication


As provided


As provided


(34 vote(s))
Not helpful

The Origin of this information may be internal or external to Prolateral Consulting Ltd. Prolateral makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Prolateral makes no explicit or implied claims to the validity of this information. Any trademarks referenced in this document are the property of their respective owners.