updated postfix state
This commit is contained in:
parent
bf89cb7c65
commit
a350266b2c
@ -4,7 +4,7 @@ postfix:
|
||||
base_dir: '/etc/postfix'
|
||||
pkgs:
|
||||
- postfix
|
||||
db: None
|
||||
db:
|
||||
config:
|
||||
main:
|
||||
alias_database: 'hash:/etc/aliases'
|
||||
|
@ -28,8 +28,16 @@ postfix-transport:
|
||||
cmd.run:
|
||||
- name: postmap transport
|
||||
- cwd: {{ postfix.base_dir }}
|
||||
- success_stdout:
|
||||
- ""
|
||||
- success_retcodes:
|
||||
- 0
|
||||
|
||||
postfix-sender-access:
|
||||
cmd.run:
|
||||
- name: postmap sender_access
|
||||
- cwd: {{ postfix.base_dir }}
|
||||
#- success_stdout:
|
||||
# - ""
|
||||
- success_retcodes:
|
||||
- 0
|
||||
|
@ -25,6 +25,14 @@ lmtp unix - - - - - lmtp
|
||||
anvil unix - - - - 1 anvil
|
||||
scache unix - - - - 1 scache
|
||||
|
||||
submission inet n - n - - smtpd
|
||||
-o smtpd_tls_wrappermode=yes
|
||||
-o smtpd_sasl_auth_enable=yes
|
||||
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
|
||||
-o milter_macro_daemon_name=ORIGINATING
|
||||
-o smtpd_tls_security_level=encrypt
|
||||
-o smtpd_tls_auth_only=yes
|
||||
|
||||
smtps inet n - n - - smtpd
|
||||
-o smtpd_tls_wrappermode=yes
|
||||
-o smtpd_sasl_auth_enable=yes
|
||||
|
Loading…
Reference in New Issue
Block a user