typo in updating DKIM, dont regenerate the DKIM private key each time setup is run

This commit is contained in:
Joshua Tauberer 2014-06-03 21:42:33 +00:00
parent 2a9349a64e
commit ea62c2419d
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ fi
# mail.private and mail.txt in $STORAGE_ROOT/mail/dkim. The former
# is the actual private key and the latter is the suggested DNS TXT
# entry which we'll want to include in our DNS setup.
if [ ! -z "$STORAGE_ROOT/mail/dkim/mail.private" ]; then
if [ ! -f "$STORAGE_ROOT/mail/dkim/mail.private" ]; then
# Should we specify -h rsa-sha256?
opendkim-genkey -r -s mail -D $STORAGE_ROOT/mail/dkim
fi