zimbra zimbraMtaMyNetworks
Allow systems with selected ip addresses to relay email through Zimbra without needing authentication
There are two ways to set and check this
Global – applied to all servers
set
zmprov mcf zimbraMtaMyNetworks “10.1.1.0/24 [fe80::5054::]/64 127.0.0.0/8 [::1]/128”
check
zmprov gcf zimbraMtaMyNetworks
Per server. Note – the per server setting will override the global setting unless if the server setting is set blank
check
zmprov gs `zmhostname` zimbraMtaMyNetworks
set
zmprov ms `zmhostname` zimbraMtaMyNetworks “10.1.1.0/24 [fe80::5054::]/64 127.0.0.0/8 [::1]/128”
Important note 1: If the server value is set to a blank value i.e. “” the command zmprov gs `zmhostname` zimbraMtaMyNetworks will return the global value
Important note:
At a minimum set the global value to beĀ
127.0.0.0/8 [::1]/128
so that a server can relay internal emails as needed. Also include the local IP addresses in any set of values used (Global or Server)