ZimbraMtaMyNetworks: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
== Enabling Mail Submission from Remote Networks == | == Enabling Mail Submission from Remote Networks == | ||
To enable this, you'll want to add the remote networks to the zimbraMtaMyNetworks attribute on the server. | To enable this, you'll want to add the remote networks to the zimbraMtaMyNetworks attribute on the server. If this is not set, the postfix default is used. | ||
Get the current value from postconf: | |||
# su - zimbra | |||
$ postconf mynetworks | |||
su - zimbra | mynetworks = 127.0.0.0/8 10.10.130.0/23 | ||
postconf | |||
Check the existing value: | Check the existing value: | ||
zmprov | zmprov getServer SERVERNAME | grep zimbraMtaMyNetworks | ||
Add your new network or IP | Add your new network or IP (for example, 192.168.0.0/24): | ||
zmprov | zmprov modifyServer SERVERNAME zimbraMtaMyNetworks "127.0.0.0/8 10.10.130.0/23 192.168.0.0/24" | ||
NOTE - make sure that the 127.0.0.0/8 network is included. Quotes are important in the above command | NOTE - make sure that the 127.0.0.0/8 network is included. Quotes are important in the above command |
Revision as of 00:39, 23 December 2006
Enabling Mail Submission from Remote Networks
To enable this, you'll want to add the remote networks to the zimbraMtaMyNetworks attribute on the server. If this is not set, the postfix default is used.
Get the current value from postconf:
# su - zimbra $ postconf mynetworks mynetworks = 127.0.0.0/8 10.10.130.0/23
Check the existing value:
zmprov getServer SERVERNAME | grep zimbraMtaMyNetworks
Add your new network or IP (for example, 192.168.0.0/24):
zmprov modifyServer SERVERNAME zimbraMtaMyNetworks "127.0.0.0/8 10.10.130.0/23 192.168.0.0/24"
NOTE - make sure that the 127.0.0.0/8 network is included. Quotes are important in the above command