1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-08-10 23:12:02 +02:00

Don't issue warning when DKIM is not used (#2563)

This commit is contained in:
Casper
2022-04-29 19:03:16 +02:00
committed by GitHub
parent 49a337ccfa
commit 32fba30bbc

View File

@@ -657,7 +657,7 @@ function _setup_dkim
chown -R opendkim:opendkim /etc/opendkim/ chown -R opendkim:opendkim /etc/opendkim/
chmod -R 0700 /etc/opendkim/keys/ chmod -R 0700 /etc/opendkim/keys/
else else
_log 'warn' 'No DKIM key(s) provided - check the documentation on how to get your keys' _log 'debug' 'No DKIM key(s) provided - check the documentation on how to get your keys'
[[ ! -f /etc/opendkim/KeyTable ]] && touch /etc/opendkim/KeyTable [[ ! -f /etc/opendkim/KeyTable ]] && touch /etc/opendkim/KeyTable
fi fi