remove opendkim, add more general milter config
This commit is contained in:
parent
41af92aea4
commit
a46a165496
2 changed files with 5 additions and 8 deletions
|
|
@ -38,3 +38,5 @@ postfix:
|
||||||
check_dovecot_quota: false
|
check_dovecot_quota: false
|
||||||
postfixmaps: []
|
postfixmaps: []
|
||||||
add_header_checks: []
|
add_header_checks: []
|
||||||
|
smtpd_milters: []
|
||||||
|
non_smtpd_milters: []
|
||||||
|
|
@ -128,14 +128,9 @@ virtual_alias_maps = {{ postfix.virtual_alias_maps }}
|
||||||
mime_header_checks = regexp:/etc/postfix/header_checks
|
mime_header_checks = regexp:/etc/postfix/header_checks
|
||||||
header_checks = regexp:/etc/postfix/header_checks
|
header_checks = regexp:/etc/postfix/header_checks
|
||||||
|
|
||||||
|
# milter
|
||||||
# opendkim
|
|
||||||
{% if postfix.enable_opendkim %}
|
|
||||||
|
|
||||||
milter_protocol = 6
|
milter_protocol = 6
|
||||||
milter_default_action = accept
|
milter_default_action = accept
|
||||||
|
|
||||||
smtpd_milters = inet:localhost:8891
|
smtpd_milters = {{ ' '.join(postfix.smtpd_milters) }}
|
||||||
non_smtpd_milters = inet:localhost:8891
|
non_smtpd_milters = {{ ' '.join(postfix.non_smtpd_milters) }}
|
||||||
|
|
||||||
{% endif %}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue