Convert back to INET sockets for milters

This commit is contained in:
2023-05-14 22:26:19 -05:00
parent 7d418da8ca
commit fe22263513
4 changed files with 12 additions and 10 deletions

View File

@@ -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)

View File

@@ -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"

View File

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