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

@ -178,7 +178,7 @@ passdb {
mail_location = maildir:~/Mail:INBOX=~/Mail/Inbox:LAYOUT=fs
namespace inbox {
inbox = yes
mailbox Drafts {
special_use = \\Drafts
auto = subscribe
@ -306,6 +306,9 @@ echo "$dkimentry
$dmarcentry
$spfentry" > "$HOME/dns_emailwizard"
## Fix permissions for opendkim
chown opendkim:opendkim "/etc/postfix/dkim/${subdom}.private" "/etc/postfix/dkim/${subdom}.txt"
printf "\033[31m
_ _
| \ | | _____ ___