Difference between revisions of "Outgoing Mail Problems"

 
 
(13 intermediate revisions by 7 users not shown)
Line 1: Line 1:
Hi,
+
{{BC|Community Sandbox}}
 +
__FORCETOC__
 +
<div class="col-md-12 ibox-content">
 +
=Outgoing Mail Problems=
 +
{{KB|{{Unsupported}}|{{ZCS 7.0}}|{{ZCS 6.0}}|}}
 +
{{Archive}}{{WIP}}Are you sure you don't want [[SMTP Auth Problems|SMTP Authentication]]?
  
  
I have configured Zimbra mail server in one of my Mac OS X Server.
+
== Modifying the relay networks ==
I have created few Accounts.
+
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.
Now I have tried to send a mail from one account to other. but mails are in Mail Queue Deferred mode.
+
=== Getting the existing value ===
Can you suggest me, how can i send a mail to respective account. Also i tried to flush all the mail but its fail
+
Run these commands on your MTA server:
 +
  su - zimbra
 +
  zmprov gs `zmhostname` | grep zimbraMtaMyNetworks
  
Thanks
+
If nothing is returned, you're using the postfix default - fetch that with:
 +
  su - zimbra
 +
  postconf -d mynetworks
  
Manoj
+
=== 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 "127.0.0.0/8 10.1.0.0/16 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, 10.1.0.0/16 is valid (because the 10.1.0.0/16 address block starts at 10.1.0.0).  BUT, 10.1.128.0/16 is not (as it is not the start of the block range 10.1.0.0 ~ 10.1.255.255).
 +
 
 +
Restart the services when done.
 +
 
 +
See also [[ZimbraMtaMyNetworks]]
 +
 
 +
 
 +
{{Article Footer|unknown|8/25/2006}}
 +
 
 +
[[Category:Troubleshooting MTA]]

Latest revision as of 11:39, 12 July 2015

Outgoing Mail Problems

   KB 1639        Last updated on 2015-07-12  




0.00
(0 votes)

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 "127.0.0.0/8 10.1.0.0/16 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, 10.1.0.0/16 is valid (because the 10.1.0.0/16 address block starts at 10.1.0.0). BUT, 10.1.128.0/16 is not (as it is not the start of the block range 10.1.0.0 ~ 10.1.255.255).

Restart the services when done.

See also ZimbraMtaMyNetworks


Verified Against: unknown Date Created: 8/25/2006
Article ID: https://wiki.zimbra.com/index.php?title=Outgoing_Mail_Problems Date Modified: 2015-07-12



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search