Smtp fallback relay

SMTP fallback relay

   KB 15569        Last updated on 2015-07-13  




0.00
(0 votes)
Admin Article

Article Information

This article applies to the following ZCS versions.

ZCS 7.0 Article ZCS 7.0


If you have the need to use more than one relayhost, or in the event your zimbraMtaRelayHost MTA becomes, unreachable, you can configure Zimbra's MTA to fallback on other MTA machines that can relay messages.

For example:

zmprov gs `zmhostname` | grep zimbraMtaRelayHost
zimbraMtaRelayHost: mta1.domain.com

To add additional MTA's:

postconf -e smtp_fallback_relay="mta2.domain.com:25, mta3.domain.com:25" 

zmmtactl restart

If mta1 was unreachable, mta2 and mta3 can be used as backup.

If you want the change to survive upgrades:

1) Add the following to the /opt/zimbra/conf/zmmta.cf file

POSTCONF smtp_fallback_relay            LOCAL postfix_smtp_fallback_relay

***I would suggest adding the line underneath "POSTCONF inet_protocols   VAR zimbraPostconfProtocol***

2) Add the setting to the localconfig

zmlocalconfig -e postfix_smtp_fallback_relay="mta2.domain.com:25, mta3.domain.com:25"

Notable enhancement request, http://bugzilla.zimbra.com/show_bug.cgi?id=37717

Verified Against: Zimbra Collaboration 7.0 Date Created: 04/16/2014
Article ID: https://wiki.zimbra.com/index.php?title=Smtp_fallback_relay Date Modified: 2015-07-13



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search