Outgoing Mail Problems

From Zimbra :: Wiki

Jump to: navigation, search
   Icon-Archive.png  - This is archive documentation, which means it is not supported or valid for recent versions of Zimbra Collaboration.

   Article-alert.png  - This article is a Work in Progress, and may be unfinished or missing sections.

Are you sure you don't want SMTP Authentication?

Modifying the relay networks

If you want to allow additional hosts or networks to send email through your MTA, you add them to the allowed relay list. Be careful, misconfiguration of this can allow malicious outsiders to send spam through your system.

Getting the existing value

Run these commands on your MTA server:

 su - zimbra
 zmprov gs `zmhostname` | grep zimbraMtaMyNetworks

If nothing is returned, you're using the postfix default - fetch that with:

 su - zimbra
 postconf -d mynetworks

Setting the new value

To add hosts, you'll need to add to the existing value you just fetched:

 su - zimbra
 zmprov ms `zmhostname` zimbraMtaMyNetworks " a.b.c.0/24 w.x.y.z/32"

The quotes above are important.

When specifying an address range, it is important that the start of the address range is used. Thus, is valid (because the address block starts at BUT, is not (as it is not the start of the block range ~

Restart the services when done.

See also ZimbraMtaMyNetworks

Verified Against: unknown Date Created: 8/25/2006
Article ID: http://wiki.zimbra.com/index.php?title=Outgoing_Mail_Problems Date Modified: 03/24/2015
Personal tools