Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: [SOLVED] Permanent Postfix main.cf Changes Under ZCS 5.0.x

  1. #11
    Join Date
    Oct 2010
    Posts
    22
    Rep Power
    5

    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.

  2. #12
    Join Date
    Oct 2010
    Posts
    22
    Rep Power
    5

    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.

Similar Threads

  1. postdrop fail to create file after upgrade to 5.0.3
    By echoadisan in forum Installation
    Replies: 23
    Last Post: 07-15-2013, 04:02 PM
  2. Trouble Sending mail - All Messages deferred!
    By SiteDiscovery in forum Administrators
    Replies: 7
    Last Post: 09-03-2009, 05:52 AM
  3. Does adding smtpd_milters to main.cf in postfix work?
    By visualsoftspace in forum Installation
    Replies: 2
    Last Post: 12-07-2007, 10:19 AM
  4. Replies: 41
    Last Post: 10-29-2007, 03:36 PM
  5. ZCS 3.2 Beta Available
    By KevinH in forum Announcements
    Replies: 31
    Last Post: 07-07-2006, 04:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •