---
postfix:
  enabled: true
  base_dir: '/etc/postfix'
  pkgs:
    - postfix
  db: None
  config:
    main:
      alias_database: 'hash:/etc/aliases'
      alias_maps: 'hash:/etc/aliases'
      append_dot_mydomain: 'no'
      biff: 'no'
      compatibility_level: 2
      enable_original_recipient: 'yes'
      inet_interfaces: 'all'
      inet_protocols: 'all'
      mailbox_size_limit: '0'
      message_size_limit: '30480000'
      mydestination:
        - '$myhostname'
        - 'localhost.$mydomain'
        - 'localhost'
      mydomain: 'example.com'
      myhostname: 'mx.example.com'
      mynetworks:
        - '127.0.0.1'
      myorigin: '$mydomain'
      non_smtpd_milters: '$smtpd_milters'
      readme_directory: 'no'
      recipient_delimiter: '+'
      relay_domains: 'example.com'
      smtp_connect_timeout: '2m'
      smtpd_banner: 'Example SMTP Server'
      smtpd_helo_required: 'yes'
      smtpd_relay_restrictions:
        - 'permit_mynetworks'
        - 'defer_unauth_destination'
        - 'permit'
      smtpd_sender_restrictions:
        - 'permit_mynetworks'
        - 'check_sender_access hash:/etc/postfix/sender_access'
        - 'permit'
      smtputf8_enable: 'yes'
      soft_bounce: 'yes'
      transport_maps: 'hash:/etc/postfix/transport'
      unknown_local_recipient_reject_code: 550
    master: {}
    sender_access: {}
    transport: {}
    pgsql: {}