Results 1 to 3 of 3

Thread: How best to make changes to postfix ?

  1. #1
    Join Date
    Oct 2009
    Dublin, IRELAND
    Rep Power

    Default How best to make changes to postfix ?

    I have a number of settings I need to add to the file each time I upgrade zimbra. Mostly they relate to TLS verification of email - both inbound and outbound.

    What is the most automated way possible to do this.

    smtp_tls_security_level = may
    smtp_tls_policy_maps = hash:/etc/zimbra_tls_policy
    smtp_tls_note_starttls_offer = yes
    smtp_tls_loglevel = 1
    smtp_tls_CApath = /etc/postfixCAcerts
    smtp_tls_cert_file = /opt/zimbra/conf/smtpd.crt
    smtp_tls_key_file = /opt/zimbra/conf/smtpd.key
    smtpd_tls_received_header = yes
    smtpd_tls_CAfile = /etc/postfixCAcerts/Thawte_Server_CA.pem
    smtpd_tls_CApath = /etc/postfixCAcerts
    smtpd_restriction_classes = permitted_senders_list
    permitted_senders_list = check_sender_access hash:/etc/permitted_senders, reject

    Is there any hook provided at the end of the install/upgrade script to call a user script file ?

    For example - the very end of the zimbra install/upgrade script might be configured to look for a script file called


    and if it finds it - to execute it. This would have to reside outside of /opt/zimbra so it would survive the upgrade, and would allow admins to automate a lot of the manual work that needs doing after an upgrade.

  2. #2
    Join Date
    Dec 2009
    Rep Power


    What is the most automated way possible to do this.
    I was thinking that Postfix might have a #include directive, but found out in their FAQ this isn't the case

    8. Is there some kind of 'include' directive for

    No. Most administrators with complex configurations create a Makefile that will cat the necessary files together. If you have other regular administrative tasks, add them to your Makefile too. Your Makefile can have an entry something like this: file1 file2 file3
    cat file1 file2 file3 >

    Then type make to rebuild your configuration file.
    Ben Franklin quote:

    "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."

  3. #3
    Join Date
    Oct 2009
    Dublin, IRELAND
    Rep Power


    Thanks for the information

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, 03:02 PM
  2. Replies: 2
    Last Post: 11-15-2011, 11:03 AM
  3. Replies: 3
    Last Post: 11-03-2007, 10:55 PM
  4. Replies: 6
    Last Post: 12-05-2006, 12:54 PM
  5. new question about make Postfix 2.2.11
    By wildhuman in forum Developers
    Replies: 0
    Last Post: 08-25-2006, 02:45 AM

Posting Permissions

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