From ea62c2419d6d6b5d26f7bc2da96405596e5a294b Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Tue, 3 Jun 2014 21:42:33 +0000 Subject: [PATCH] typo in updating DKIM, dont regenerate the DKIM private key each time setup is run --- setup/dkim.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/dkim.sh b/setup/dkim.sh index 98322dba..78a38a76 100644 --- a/setup/dkim.sh +++ b/setup/dkim.sh @@ -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