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
|
||||
|
||||
## Create a socket through which your MTA can communicate.
|
||||
#Socket inet:8891@localhost
|
||||
Socket local:/run/opendkim/opendkim.sock
|
||||
Socket inet:8891@localhost
|
||||
#Socket local:/run/opendkim/opendkim.sock
|
||||
|
||||
## Required to use local socket with MTAs that access the socket as a non-
|
||||
## privileged user (e.g. Postfix)
|
||||
|
@ -360,8 +360,8 @@ RejectFailures true
|
||||
## either in the configuration file or on the command line. If an IP
|
||||
## address is used, it must be enclosed in square brackets.
|
||||
#
|
||||
# Socket inet:8893@localhost
|
||||
Socket local:/run/opendmarc/opendmarc.sock
|
||||
Socket inet:8893@localhost
|
||||
#Socket local:/run/opendmarc/opendmarc.sock
|
||||
|
||||
## SoftwareHeader { true | 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 %}
|
||||
# The Milter List
|
||||
{% for milter in ensure_postfix.milter_list %}
|
||||
# -- {{ milter.description }} -- {{ milter.protocol }}:{{ milter.destination }}
|
||||
# -- {{ milter.description }} -- {{ milter.protocol }}:{{ milter.hostname }}:{{ milter.port }}
|
||||
{% 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 %}
|
||||
|
||||
{% if postfix_domains is defined and postfix_domains is iterable %}
|
||||
|
@ -2,11 +2,13 @@
|
||||
# vars file for ensure_postfix
|
||||
milter_list:
|
||||
- description: 'OpenDKIM'
|
||||
destination: '/run/opendkim/opendkim.sock'
|
||||
protocol: 'local'
|
||||
hostname: 'localhost'
|
||||
port: '8891'
|
||||
protocol: 'inet'
|
||||
- description: 'OpenDMARC'
|
||||
destination: '/run/opendmarc/opendmarc.sock'
|
||||
protocol: 'local'
|
||||
hostname: 'localhost'
|
||||
port: '8893'
|
||||
protocol: 'inet'
|
||||
package_list:
|
||||
- name: 'opendkim'
|
||||
state: 'present'
|
||||
|
Loading…
x
Reference in New Issue
Block a user