Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old 07-31-2011, 11:34 AM
Intermediate Member
 
Posts: 16
Default postconf -e not persistent

I am trying to do the same how to make persistent a postconf configuration in my case i am trying to configurate the headers_check.

Code:
$ postconf | grep ^header_checks\ =
header_checks =
Code:
$ zmlocalconfig | grep header_checks
postfix_header_checks = pcre:${zimbra_home}/conf/postfix_header_checks
I need the postconf output same as zmlocalconfig.

I have tryied editing the localconfig.xml but that only apply to zmlocalconfig but postconf keep showing the same empty output.

if i set by hand:
Code:
$ postconf -e header_checks=pcre:/opt/zimbra/conf/postfix_header_checks
It work, but if i run 'zmmtactl restart' or my server is restarted for maintenance purpose postconf set again to blank.
Reply With Quote
  #12 (permalink)  
Old 07-31-2011, 12:10 PM
Intermediate Member
 
Posts: 16
Default

Ok i solve it editing in conf/zmmta.cf following section because i need user notification of blocked extensions. I do not know if it is right or not but it is the only solution i could found.

Before>>
Code:
 if VAR zimbraMtaBlockedExtensionWarnRecipient
      POSTCONF header_checks
  fi
After>>
Code:
 if VAR zimbraMtaBlockedExtensionWarnRecipient
      POSTCONF header_checks                                  LOCAL postfix_header_checks
  fi
Now i can apply my config from the zmlocalconfig vars enviroment.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.