Skip to content
Snippets Groups Projects
  1. May 11, 2019
  2. Jul 18, 2018
  3. Jun 29, 2018
  4. Jun 25, 2018
    • Chris Coley's avatar
      Refactor the lookup tables to be more flexible · cc7795c4
      Chris Coley authored
      Instead of provisioning the main.cf file from a template, we now modify the
      existing file. This makes it easier to support multiple operating systems and
      Postfix versions.
      
      Also, all of the variables that were being used by the main.cf template have
      been replaced with a single dictionary that defines properties and the desired
      value. This means that we don't have to define all the default values, and only
      have to define the specific non-default values necessary.
      cc7795c4
  5. Jun 24, 2018
    • Chris Coley's avatar
      Refactor the lookup tables to be more flexible and DRY · 7b905da5
      Chris Coley authored
      This takes the templates for the transport map table and sasl_passwd lookup
      table and replaces them with a single template. The templates were already
      nearly identical and we would have needed to create more duplicates for every
      new lookup table we implemented.
      
      Also, the 'postfix__transport_map' and 'postfix__smtp_sasl_password_map'
      variables have been replaced with a single dictionary 'postfix__tables' where
      each key in the dictionary is the name of the lookup table, and the value is a
      dictionary of entries for that lookup table. By using a dictionary we can
      implement default lookup tables per operationg system and then allow downstream
      additions or overrides via combining the dictionary with a new dictionary
      instead of having to redefine the entire thing to override a single value.
      7b905da5
    • Chris Coley's avatar
      bf577594
  6. Jun 19, 2018
  7. Jun 18, 2018
  8. Jun 17, 2018
Loading