Update opendkim config file for el9

This commit is contained in:
Adrien Reslinger 2024-02-10 12:56:51 +01:00
parent 873b49e5a3
commit 997b8ba06f
Signed by: adrien
GPG key ID: DA7B27055C66D6DE

View file

@ -36,7 +36,7 @@ AutoRestartRate 10/1h
## Specifies the path to the process ID file. ## Specifies the path to the process ID file.
{% if ansible_os_family == "RedHat" and ansible_distribution_major_version == '7' %} {% if ansible_os_family == "RedHat" and ansible_distribution_major_version == '7' %}
PidFile /var/run/opendkim/opendkim.pid PidFile /var/run/opendkim/opendkim.pid
{% elif ansible_os_family == "RedHat" and ansible_distribution_major_version == '8' %} {% elif ansible_os_family == "RedHat" and ansible_distribution_major_version >= '8' %}
PidFile /run/opendkim/opendkim.pid PidFile /run/opendkim/opendkim.pid
{% endif %} {% endif %}
@ -60,6 +60,7 @@ 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 local:/run/opendkim/opendkim.sock
Socket inet:8891@localhost Socket inet:8891@localhost
## 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-