Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to change mynetworks Postfix configuration parameter in Zimbra 7 on Debian GNU/Linux 5.0.

I tried the following (as zimbra user):

$ zmlocalconfig -e postfix_mynetworks=" [...]"
$ postconf -e mynetworks=" [...]"
$ zmmtactl reload
$ postfix check
$ postfix reload


$ postconf mynetworks

Shows still the old value! Anyone knows why and how to fix this? Thank you in advance

UPDATE After office hours I've even tried

# /etc/init.d/zimbra stop
# /etc/init.d/zimbra start

However the parameter is still not updated.


$ zmlocalconfig postfix_mynetworks

Shows the updated value

$ zmmtactl reload
Rewriting configuration files...
postfix/postfix-script: refreshing the Postfix mail system
Stopping saslauthd...done.
Starting saslauthd...done.

But sadly postconf mynetworks still shows the old value. Running again postconf -e sets the value and gets lost at the first postfix reload...

share|improve this question
You can also change this in the Admin Console under Server Settings -> MTA -> MTA Trusted Networks. – xeon May 6 '11 at 20:08
@xeon, thank you, that's a good suggestion, why don't you post it as an answer? – stivlo May 7 '11 at 4:28
up vote 1 down vote accepted

I found the solution to my own problem. By looking at the file /opt/zimbra/conf/, I saw the following lines:

if VAR zimbraMtaMyNetworks
    POSTCONF mynetworks VAR zimbraMtaMyNetworks

With zmprov I can check the current settings and change them:

zmprov getServer servername.mydomain | grep zimbraMtaMyNetworks
zmprov modifyServer servername.mydomain zimbraMtaMyNetworks " [...]"
postfix reload

And the problem is solved. Xeon suggested an alternative and simpler way:

You can also change this in the Admin Console under Server Settings -> MTA -> MTA Trusted Networks

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.