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>
This commit is contained in:
parent
4863396938
commit
6c7aaa08e1
19
pillar/common/postfix.sls
Normal file
19
pillar/common/postfix.sls
Normal file
@ -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'
|
||||
|
||||
|
@ -1,3 +1,6 @@
|
||||
include:
|
||||
- .postfix
|
||||
|
||||
zypper:
|
||||
refreshdb_force: False
|
||||
|
||||
|
3
salt/common/postfix.sls
Normal file
3
salt/common/postfix.sls
Normal file
@ -0,0 +1,3 @@
|
||||
include:
|
||||
- postfix
|
||||
- postfix.config
|
@ -3,6 +3,7 @@ include:
|
||||
- profile.zypp
|
||||
- profile.node_exporter
|
||||
- users
|
||||
- .postfix
|
||||
|
||||
{#- to-do: move this to some formula or macro -#}
|
||||
{%- set osfullname = grains['osfullname'] -%}
|
||||
|
Loading…
Reference in New Issue
Block a user