Skip to content
Snippets Groups Projects
Select Git revision
  • 70a08b2eb00308c40c588ea010e71d6512dc8aa4
  • master default protected
  • cleanup_fixtures
  • add-openvox
  • freebsd-14
  • remove-legacy-top-scope-syntax
  • rel430
  • tests
  • revert-363-augeas-module-cleanup
  • release-4.1.0
  • puppet8
  • relax-dependencies
  • rel400
  • mode
  • puppet7
  • release-3.1.0
  • freebsd13
  • freebsd11
  • stdlib
  • centos
  • fedora
  • v5.1.0
  • v5.0.0
  • v4.5.0
  • v4.4.0
  • v4.3.0
  • v4.2.1
  • v4.2.0
  • v4.1.0
  • v4.0.0
  • v3.1.0
  • v3.0.0
  • v2.0.0
  • 1.12.0
  • 1.11.0
  • 1.10.0
  • 1.9.0
  • 1.8.0
  • 1.7.0
  • 1.6.0
  • 1.5.0
41 results

init.pp

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    init.pp 4.28 KiB
    #
    # == Class: postfix
    #
    # This class provides a basic setup of postfix with local and remote
    # delivery and an SMTP server listening on the loopback interface.
    #
    # === Parameters
    #
    # [*alias_maps*]          - (string)
    #
    # [*inet_interfaces*]     - (string)
    #
    # [*ldap*]                - (boolean) Whether to use LDAP
    #
    # [*ldap_base*]           - (string)
    #
    # [*ldap_host*]           - (string)
    #
    # [*ldap_options*]        - (string)
    #
    # [*mail_user*]           - (string) The mail user
    #
    # [*mailman*]             - (boolean)
    #
    # [*maincf_source*]       - (string)
    #
    # [*mastercf_source*]     - (string)
    #
    # [*master_smtp*]         - (string)
    #
    # [*master_smtps*]        - (string)
    #
    # [*master_submission*]   - (string)
    #
    # [*mta*]                 - (boolean) Configure postfix minimally, as a simple MTA
    #
    # [*mydestination*]       - (string)
    #
    # [*mynetworks*]          - (string)
    #
    # [*myorigin*]            - (string)
    #
    # [*relayhost*]           - (string)
    #
    # [*root_mail_recipient*] - (string)
    #
    # [*satellite*]           - (boolean) Whether to use as a satellite
    #                           (implies MTA)
    #
    # [*smtp_listen*]         - (string) The SMTP listen interface
    #
    # [*use_amavisd*]         - (boolean) Whether to setup for Amavis
    #
    # [*use_dovecot_lda*]     - (boolean) Whether to setup for Dovecot LDA
    #
    # [*use_schleuder*]       - (boolean) Whether to setup for Schleuder
    #
    # [*use_sympa*]           - (boolean) Whether to setup for Sympa
    #
    # === Examples
    #
    #   class { 'postfix':
    #     smtp_listen => '192.168.1.10',
    #   }
    #
    class postfix (
      $alias_maps          = 'hash:/etc/aliases',
      $inet_interfaces     = 'all',
      $ldap                = false,
      $ldap_base           = undef,