Convert back to INET sockets for milters
This commit is contained in:
parent
7d418da8ca
commit
fe22263513
@ -53,8 +53,8 @@ LogWhy yes
|
|||||||
UserID opendkim:opendkim
|
UserID opendkim:opendkim
|
||||||
|
|
||||||
## Create a socket through which your MTA can communicate.
|
## Create a socket through which your MTA can communicate.
|
||||||
#Socket inet:8891@localhost
|
Socket inet:8891@localhost
|
||||||
Socket local:/run/opendkim/opendkim.sock
|
#Socket local:/run/opendkim/opendkim.sock
|
||||||
|
|
||||||
## Required to use local socket with MTAs that access the socket as a non-
|
## Required to use local socket with MTAs that access the socket as a non-
|
||||||
## privileged user (e.g. Postfix)
|
## privileged user (e.g. Postfix)
|
||||||
|
@ -360,8 +360,8 @@ RejectFailures true
|
|||||||
## either in the configuration file or on the command line. If an IP
|
## either in the configuration file or on the command line. If an IP
|
||||||
## address is used, it must be enclosed in square brackets.
|
## address is used, it must be enclosed in square brackets.
|
||||||
#
|
#
|
||||||
# Socket inet:8893@localhost
|
Socket inet:8893@localhost
|
||||||
Socket local:/run/opendmarc/opendmarc.sock
|
#Socket local:/run/opendmarc/opendmarc.sock
|
||||||
|
|
||||||
## SoftwareHeader { true | false }
|
## SoftwareHeader { true | false }
|
||||||
## default "false"
|
## default "false"
|
||||||
|
@ -753,9 +753,9 @@ shlib_directory = /usr/lib64/postfix
|
|||||||
{% if ensure_postfix.milter_list is defined and ensure_postfix.milter_list is iterable %}
|
{% if ensure_postfix.milter_list is defined and ensure_postfix.milter_list is iterable %}
|
||||||
# The Milter List
|
# The Milter List
|
||||||
{% for milter in ensure_postfix.milter_list %}
|
{% for milter in ensure_postfix.milter_list %}
|
||||||
# -- {{ milter.description }} -- {{ milter.protocol }}:{{ milter.destination }}
|
# -- {{ milter.description }} -- {{ milter.protocol }}:{{ milter.hostname }}:{{ milter.port }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
smtpd_milters = {% for milter in ensure_postfix.milter_list %} {{ milter.protocol }}:{{ milter.destination }} {% endfor %}
|
smtpd_milters = {% for milter in ensure_postfix.milter_list %} {{ milter.protocol }}:{{ milter.hostname }}:{{ milter.port }} {% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if postfix_domains is defined and postfix_domains is iterable %}
|
{% if postfix_domains is defined and postfix_domains is iterable %}
|
||||||
|
@ -2,11 +2,13 @@
|
|||||||
# vars file for ensure_postfix
|
# vars file for ensure_postfix
|
||||||
milter_list:
|
milter_list:
|
||||||
- description: 'OpenDKIM'
|
- description: 'OpenDKIM'
|
||||||
destination: '/run/opendkim/opendkim.sock'
|
hostname: 'localhost'
|
||||||
protocol: 'local'
|
port: '8891'
|
||||||
|
protocol: 'inet'
|
||||||
- description: 'OpenDMARC'
|
- description: 'OpenDMARC'
|
||||||
destination: '/run/opendmarc/opendmarc.sock'
|
hostname: 'localhost'
|
||||||
protocol: 'local'
|
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