Smtp fallback relay: Difference between revisions

(Created page with "In the event your zimbraMtaRelayHost MTA becomes, unreachable, you can configure Zimbra's MTA to fallback on other MTA machine that can relay messages.<br> For example: <code><p...")
 
No edit summary
Line 1: Line 1:
In the event your zimbraMtaRelayHost MTA becomes, unreachable, you can configure Zimbra's MTA to fallback on other MTA machine that can relay messages.<br>
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 machine that can relay messages.<br>


For example:
For example:
Line 29: Line 29:
zmlocalconfig -e postfix_smtp_fallback_relay="mta2.domain.com:25, mta3.domain.com:25"
zmlocalconfig -e postfix_smtp_fallback_relay="mta2.domain.com:25, mta3.domain.com:25"
</pre></code>
</pre></code>
Notable enhancement request, http://bugzilla.zimbra.com/show_bug.cgi?id=37717
[[Category:Community Sandbox]]
[[Category:Command Line Interface]]
[[Category:MTA]]

Revision as of 00:07, 20 January 2012

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 machine 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

Jump to: navigation, search