salt/pillar/global/mta.sls
Georg Pfuetzenreuter 950b308546
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful
Relay via static zz0.email host
Split horizon for the complete .email zone is not feasible for all
sites, and TLS certificate currently does not cover any of the internal
hostnames.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2023-01-27 12:45:01 +01:00

30 lines
752 B
Django/Jinja

postfix:
master_config:
services:
smtp:
enable: False
config:
# to-do: set via site config
relayhost: zz0.email:465
mydestination: '$myhostname, localhost'
myhostname: {{ grains['fqdn'] }}
inet_interfaces: loopback-only
# to-do: support relay via IPv6
inet_protocols: ipv4
alias_database: lmdb:/etc/aliases
alias_maps: lmdb:/etc/aliases
smtpd_use_tls: 'no'
smtp_use_tls: 'yes'
smtp_tls_security_level: encrypt
smtp_tls_wrappermode: 'yes'
disable_dns_lookups: 'yes'
aliases:
use_file: false
present:
admins: 'georg, pratyush'
georg: georg@lysergic.dev
pratyush: pratyush@lysergic.dev
root: 'system, \root'
system: system@lysergic.dev