genkey fix
This commit is contained in:
parent
145a5e95d1
commit
2d25040dec
@ -225,7 +225,7 @@ account required pam_unix.so" >> /etc/pam.d/dovecot
|
|||||||
# Create an OpenDKIM key in the proper place with proper permissions.
|
# Create an OpenDKIM key in the proper place with proper permissions.
|
||||||
echo "Generating OpenDKIM keys..."
|
echo "Generating OpenDKIM keys..."
|
||||||
mkdir -p /etc/postfix/dkim
|
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/*
|
chgrp opendkim /etc/postfix/dkim/*
|
||||||
chmod g+r /etc/postfix/dkim/*
|
chmod g+r /etc/postfix/dkim/*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user