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 |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{BC|Community Sandbox}} | |||
__FORCETOC__ | |||
<div class="col-md-12 ibox-content"> | |||
=SMTP fallback relay= | |||
{{KB|{{Unsupported}}|{{ZCS 7.0}}||}} | |||
{{Archive}}{{WIP}}{{Article Infobox|{{admin}}||{{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.<br> | |||
For example: | For example: | ||
Line 29: | Line 35: | ||
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 | |||
{{Article Footer|Zimbra Collaboration 7.0|04/16/2014}} | |||
[[Category:Command Line Interface]] | |||
[[Category:MTA]] |
Latest revision as of 09:23, 13 July 2015
SMTP fallback relay
Article Information |
---|
This article applies to the following ZCS versions. |
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