fix permission for dkim to allow sending of emails

This commit is contained in:
Alexander Bocken 2024-03-26 14:16:50 +01:00
parent afe8d9e16d
commit f318fa6f8a
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -306,6 +306,9 @@ echo "$dkimentry
$dmarcentry $dmarcentry
$spfentry" > "$HOME/dns_emailwizard" $spfentry" > "$HOME/dns_emailwizard"
## Fix permissions for opendkim
chown opendkim:opendkim "/etc/postfix/dkim/${subdom}.private" "/etc/postfix/dkim/${subdom}.txt"
printf "\033[31m printf "\033[31m
_ _ _ _
| \ | | _____ ___ | \ | | _____ ___