fix permission for dkim to allow sending of emails
This commit is contained in:
		@@ -178,7 +178,7 @@ passdb {
 | 
				
			|||||||
mail_location = maildir:~/Mail:INBOX=~/Mail/Inbox:LAYOUT=fs
 | 
					mail_location = maildir:~/Mail:INBOX=~/Mail/Inbox:LAYOUT=fs
 | 
				
			||||||
namespace inbox {
 | 
					namespace inbox {
 | 
				
			||||||
	inbox = yes
 | 
						inbox = yes
 | 
				
			||||||
	
 | 
					
 | 
				
			||||||
	mailbox Drafts {
 | 
						mailbox Drafts {
 | 
				
			||||||
		special_use = \\Drafts
 | 
							special_use = \\Drafts
 | 
				
			||||||
		auto = subscribe
 | 
							auto = subscribe
 | 
				
			||||||
@@ -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
 | 
				
			||||||
 _   _
 | 
					 _   _
 | 
				
			||||||
| \ | | _____      ___
 | 
					| \ | | _____      ___
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user