Enable OpenDKIM and OpenDMARC as MILTER
This commit is contained in:
parent
a65428816e
commit
29bf5948f1
@ -736,3 +736,8 @@ smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
|
|||||||
smtp_tls_security_level = may
|
smtp_tls_security_level = may
|
||||||
meta_directory = /etc/postfix
|
meta_directory = /etc/postfix
|
||||||
shlib_directory = /usr/lib64/postfix
|
shlib_directory = /usr/lib64/postfix
|
||||||
|
|
||||||
|
{% if ensure_postfix.milter_list is defined and ensure_postfix.milter_list is iterable %}
|
||||||
|
# The MILTER Configuration
|
||||||
|
smtpd_milters = {% for milter in ensure_postfix.milter_list %}{{ milter.protocol }}:{{ milter.hostname }}:{{ milter:port }} {% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
@ -1,5 +1,14 @@
|
|||||||
---
|
---
|
||||||
# vars file for ensure_postfix
|
# vars file for ensure_postfix
|
||||||
|
milter_list:
|
||||||
|
- description: 'OpenDKIM'
|
||||||
|
hostname: 'localhost'
|
||||||
|
port: '8891'
|
||||||
|
protocol: 'inet'
|
||||||
|
- description: 'OpenDMARC'
|
||||||
|
hostname: 'localhost'
|
||||||
|
port: '8893'
|
||||||
|
protocol: 'inet'
|
||||||
package_list:
|
package_list:
|
||||||
- name: 'opendkim'
|
- name: 'opendkim'
|
||||||
state: 'present'
|
state: 'present'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user