Manage common Postfix
Add configuration for global client MTA's. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
parent
4863396938
commit
3277edf5e1
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user