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

Thread: 8.0.0 Main.cf not persistent after postfix reload

  1. #11
    Wasowski is offline Senior Member
    Join Date
    Oct 2011
    Posts
    54
    Rep Power
    3

    Default

    Quote Originally Posted by thopu View Post
    Indeed, this command won't edit the main.cf of Postfix, but instead the zmconfigd.cf of Zimbra. And there are some rewrite rules, which overwrites the Postfix main.cf at each mta reload.
    You can edit the zmconfigd.cf manually. Look for the "SECTION mta DEPENDS amavis", there are several POSTCONF rules. Find the corresponding entries, as I wrote above, and change them for your need. Maybe I had a slight mistake with the zmlocalconfig commands, but edit manually should do the trick.

    Edit says:
    Of course, my fault:
    zmlocalconfig -e postfix_smtp_sasl_password_maps=hash:/opt/zimbra/conf/relay_password
    zmlocalconfig -e postfix_smtp_sasl_auth_enable=yes
    zmlocalconfig -e postfix_smtp_cname_overrides_servername=no
    zmlocalconfig -e postfix_smtp_use_tls=yes
    zmlocalconfig -e postfix_smtp_sasl_security_options=noanonymous // Depending on your requirement

    The keys have a preceding postfix_ not a preceding postconf_ if you you use the zmlocalconfig.
    this solved my problem, thank you (before I get ban )

  2. #12
    thopu is offline Junior Member
    Join Date
    Aug 2012
    Location
    Germany
    Posts
    9
    Rep Power
    2

    Default

    As quanah pointed out, never edit the zmconfigd.cf directly. But as embarrassed I am to suggest this solution at first, as glad am I that my edit with the correct solution helped you out. You're welcome.

  3. #13
    jgamigo is offline Junior Member
    Join Date
    Sep 2011
    Posts
    5
    Rep Power
    3

    Default

    Quote Originally Posted by thopu View Post
    As quanah pointed out, never edit the zmconfigd.cf directly. But as embarrassed I am to suggest this solution at first, as glad am I that my edit with the correct solution helped you out. You're welcome.
    My solution, touch main.cf adding all rules, next adding all rules in zmlocalconfig (not touch zmconfigd.cf), finally restart mta.

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Entry to make persistent in main.cf
    By blason in forum Administrators
    Replies: 0
    Last Post: 12-22-2011, 11:56 AM
  2. Postfix main.cf error
    By hmsdh in forum Administrators
    Replies: 1
    Last Post: 04-06-2011, 05:59 AM
  3. [SOLVED] Postfix main.cf overwrite
    By InfoAddict in forum Administrators
    Replies: 2
    Last Post: 05-01-2008, 05:05 PM
  4. postfix reload error
    By yysiow in forum Administrators
    Replies: 2
    Last Post: 06-15-2007, 11:40 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
  •