summaryrefslogtreecommitdiffstats
path: root/pillar/common/postfix.sls
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-01-24 20:35:14 +0100
committerGeorg Pfuetzenreuter2023-01-24 21:17:55 +0100
commit6c7aaa08e160703ee89a93847b2f46879df99912 (patch)
treeafbb1ae5795cca304ee04e7f0e9a935ac4f5390c /pillar/common/postfix.sls
parent4863396938c7c638517cbefc3a2773c9eb29bc69 (diff)
downloadsalt-6c7aaa08e160703ee89a93847b2f46879df99912.tar.gz
salt-6c7aaa08e160703ee89a93847b2f46879df99912.tar.bz2
salt-6c7aaa08e160703ee89a93847b2f46879df99912.zip
Manage common Postfix
Add configuration for global client MTA's. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net> Enable Postfix management Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'pillar/common/postfix.sls')
-rw-r--r--pillar/common/postfix.sls19
1 files changed, 19 insertions, 0 deletions
diff --git a/pillar/common/postfix.sls b/pillar/common/postfix.sls
new file mode 100644
index 0000000..ce59e60
--- /dev/null
+++ b/pillar/common/postfix.sls
@@ -0,0 +1,19 @@
+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'
+
+