summaryrefslogtreecommitdiffstats
path: root/pillar/role/mta/postfix.sls
blob: 15c3d073d42446e69141256ecca093e52a72d5e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
postfix:
  master_config:
    services:
      smtp:
        enable: False
  config:
    # to-do: set via site config
    relayhost: zz0.email
    myhostname: {{ grains['fqdn'] }}
    inet_interfaces: loopback-only
    # to-do: support relay via IPv6
    inet_protocols: ipv4
    alias_maps: lmdb:/etc/aliases
    smtpd_use_tls: 'no'
    smtp_use_tls: 'yes'
    smtp_tls_security_level: encrypt
    smtp_tls_wrappermode: 'yes'

  aliases:
    use_file: false
    present:
      admins: 'georg, pratyush'
      georg: georg@lysergic.dev
      pratyush: pratyush@lysergic.dev
      root: 'system, \root'
      system: system@lysergic.dev