ZimbraMtaMyNetworks: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
Add your new network or IP (for example, 192.168.0.0/24): | 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" | zmprov modifyServer <SERVERNAME> zimbraMtaMyNetworks "127.0.0.0/8 10.10.130.0/23 192.168.0.0/24 '''''<SERVER IP>'''''" | ||
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 | ||
ALSO NOTE - You MUST include the '''''SERVER IP''''' of the server itself (eth0 or bond0) or you will not be able to | |||
send outside of your own domain. This is a BUG that should be fixed. | |||
If you see the following error in your Outlook Connector: | |||
<pre> | |||
Error: This message could not be sent. | |||
Subject: Blah blah... | |||
To: xxxx@xxxxx.com | |||
Note: Soap Fault. Please recreate and resend the message. Details below: | |||
Error Code: mail.SEND_ABORTED_ADDRESS_FAILURE | |||
Error Text: Invalid address: xxxx@xxxxx.com | |||
</pre> |
Revision as of 20:22, 21 February 2007
Enabling Mail Submission/Relaying 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 for the existing value in zimbra (replace <SERVERNAME> with the zmhostname of the server):
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 <SERVER IP>"
NOTE - make sure that the 127.0.0.0/8 network is included. Quotes are important in the above command ALSO NOTE - You MUST include the SERVER IP of the server itself (eth0 or bond0) or you will not be able to send outside of your own domain. This is a BUG that should be fixed.
If you see the following error in your Outlook Connector:
Error: This message could not be sent. Subject: Blah blah... To: xxxx@xxxxx.com Note: Soap Fault. Please recreate and resend the message. Details below: Error Code: mail.SEND_ABORTED_ADDRESS_FAILURE Error Text: Invalid address: xxxx@xxxxx.com