Smtp fallback relay

From Zimbra :: Wiki

Jump to: navigation, search
   Icon-Archive.png  - This is archive documentation, which means it is not supported or valid for recent versions of Zimbra Collaboration.

   Article-alert.png  - This article is a Work in Progress, and may be unfinished or missing sections.

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

To add additional MTA's:

postconf -e smtp_fallback_relay="," 

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/ 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=","

Notable enhancement request,

Personal tools