From e0efdc0cdbc693e7e8a578b85c0ad42e8eaf2cc0 Mon Sep 17 00:00:00 2001 From: Edi Septriyanto Date: Sat, 11 Jan 2020 02:21:15 +0700 Subject: [PATCH] fix DKIM install error --- scripts/install_mailer.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/install_mailer.sh b/scripts/install_mailer.sh index 77cc993..f375331 100755 --- a/scripts/install_mailer.sh +++ b/scripts/install_mailer.sh @@ -261,7 +261,7 @@ function install_spf_dkim() { fi if [[ ${DO_INSTALL_SPFDKIM} == y* && "${INSTALL_SPFDKIM}" == true ]]; then - echo "Installing Dovecot IMAP and POP3 email server..." + echo "Installing SPF + DKIM email server..." # Installing SPF Policy Agent & OpenDKIM. if hash apt 2>/dev/null; then @@ -385,10 +385,12 @@ EOL # Publish Your Public Key in DNS Records. DKIM_KEY=$(cat "/etc/opendkim/keys/${SENDER_DOMAIN}/lemper.txt") - echo -e "Add this DKIM key to your DNS text record!\nDKIM Key: ${DKIM_KEY}" + echo -e "Add this DKIM key to your DNS TXT record!\nDKIM Key: ${DKIM_KEY}" # Test DKIM Key. - run opendkim-testkey -d "${SENDER_DOMAIN}" -s lemper -vvv + #run opendkim-testkey -d "${SENDER_DOMAIN}" -s lemper -vvv + echo -e "\nAfter then run this command to check your DNS record" + echo "opendkim-testkey -d "${SENDER_DOMAIN}" -s lemper -vvv" fi fi }