From f318fa6f8ae63e421ead0f80c16f9aa336c9d579 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Tue, 26 Mar 2024 14:16:50 +0100 Subject: [PATCH] fix permission for dkim to allow sending of emails --- emailwiz.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/emailwiz.sh b/emailwiz.sh index cac4894..ae36e52 100644 --- a/emailwiz.sh +++ b/emailwiz.sh @@ -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 _ _ | \ | | _____ ___