remove opendkim, add more general milter config

This commit is contained in:
psy 2021-01-29 15:13:06 +01:00
parent 41af92aea4
commit a46a165496
No known key found for this signature in database
GPG key ID: DFF5B17AC3A8ECF5
2 changed files with 5 additions and 8 deletions

View file

@ -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: []

View file

@ -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 %}