Difference between revisions of "ZimbraMtaMyNetworks"

m
m
Line 16: Line 16:
 
NOTE - make sure that the 127.0.0.0/8 network is included.  Quotes are important in the above command.<br>
 
NOTE - make sure that the 127.0.0.0/8 network is included.  Quotes are important in the above command.<br>
 
ALSO NOTE - You MUST include the '''''SERVER IP''''' of the server itself (eth0 or bond0) or you will not be able to
 
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.
+
send outside of your own domain. It supports individual ip's, not just subnets.
 +
 
 +
''This is a BUG that should be fixed.''
  
 
If you see the following error in your Outlook Connector:
 
If you see the following error in your Outlook Connector:

Revision as of 20:25, 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. It supports individual ip's, not just subnets.

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
Jump to: navigation, search