summaryrefslogtreecommitdiffstats
path: root/pillar/common/postfix.sls
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-01-24 21:26:04 +0100
committerGeorg Pfuetzenreuter2023-01-24 21:26:04 +0100
commitd83eb08f484219acbc375389d42e57b3da440ed9 (patch)
tree686376ed4b83c3d8c3b7d7323d8016d14123cfc2 /pillar/common/postfix.sls
parent2698d18625246773601855c5be1d1abebc706e8a (diff)
parent70036d224feb0cc73c61982aa284f77c9ad68904 (diff)
downloadsalt-d83eb08f484219acbc375389d42e57b3da440ed9.tar.gz
salt-d83eb08f484219acbc375389d42e57b3da440ed9.tar.bz2
salt-d83eb08f484219acbc375389d42e57b3da440ed9.zip
Merge pull request 'Manage global Postfix'es + make common pillar OS based' (#2) from postfix into production
Reviewed-on: https://git.com.de/LibertaCasa/salt/pulls/2
Diffstat (limited to 'pillar/common/postfix.sls')
-rw-r--r--pillar/common/postfix.sls26
1 files changed, 26 insertions, 0 deletions
diff --git a/pillar/common/postfix.sls b/pillar/common/postfix.sls
new file mode 100644
index 0000000..15c3d07
--- /dev/null
+++ b/pillar/common/postfix.sls
@@ -0,0 +1,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