genkey fix

This commit is contained in:
Luke Smith 2020-06-22 14:26:54 -04:00
parent 145a5e95d1
commit 2d25040dec
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

View File

@ -225,7 +225,7 @@ account required pam_unix.so" >> /etc/pam.d/dovecot
# Create an OpenDKIM key in the proper place with proper permissions.
echo "Generating OpenDKIM keys..."
mkdir -p /etc/postfix/dkim
opendkim-genkey -D /etc/postfix/dkim/ -d $ "$domain" -s "$subdom"
opendkim-genkey -D /etc/postfix/dkim/ -d "$domain" -s "$subdom"
chgrp opendkim /etc/postfix/dkim/*
chmod g+r /etc/postfix/dkim/*