Compare commits

..

2 commits

Author SHA1 Message Date
21e3612593
Remove duplicate entries 2024-02-10 12:57:21 +01:00
997b8ba06f
Update opendkim config file for el9 2024-02-10 12:56:51 +01:00
2 changed files with 4 additions and 4 deletions

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-

View file

@ -810,7 +810,6 @@ milter_protocol = 2
# SASL # SASL
smtpd_sasl_auth_enable = yes smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth smtpd_sasl_path = private/auth
smtpd_sasl_authenticated_header = yes smtpd_sasl_authenticated_header = yes
@ -832,7 +831,7 @@ smtpd_tls_CAfile = /etc/lego/certificates/{{ postfix_myhostname }}.issuer.crt
{% endif %} {% endif %}
smtpd_tls_loglevel = 1 smtpd_tls_loglevel = 1
smtpd_tls_session_cache_timeout = 3600s smtpd_tls_session_cache_timeout = 3600s
smtpd_tls_session_cache_database = btree:/var/spool/postfix/smtpd_tls_cache #smtpd_tls_session_cache_database = btree:/var/spool/postfix/smtpd_tls_cache
smtpd_use_tls=yes smtpd_use_tls=yes
smtpd_tls_auth_only = yes smtpd_tls_auth_only = yes
smtpd_tls_mandatory_ciphers=high smtpd_tls_mandatory_ciphers=high
@ -848,7 +847,7 @@ smtp_tls_cert_file = /etc/lego/certificates/{{ postfix_myhostname }}.crt
smtp_tls_CAfile = /etc/lego/certificates/{{ postfix_myhostname }}.issuer.crt smtp_tls_CAfile = /etc/lego/certificates/{{ postfix_myhostname }}.issuer.crt
smtp_tls_loglevel = 1 smtp_tls_loglevel = 1
smtp_tls_session_cache_timeout = 3600s smtp_tls_session_cache_timeout = 3600s
smtp_tls_session_cache_database = btree:/var/spool/postfix/smtpd_tls_cache #smtp_tls_session_cache_database = btree:/var/spool/postfix/smtpd_tls_cache
smtp_use_tls=yes smtp_use_tls=yes
smtp_tls_mandatory_ciphers=high smtp_tls_mandatory_ciphers=high
smtp_tls_protocols = !SSLv2, !SSLv3 smtp_tls_protocols = !SSLv2, !SSLv3