diff --git a/target/scripts/helpers/ssl.sh b/target/scripts/helpers/ssl.sh index a928656d..172dcad9 100644 --- a/target/scripts/helpers/ssl.sh +++ b/target/scripts/helpers/ssl.sh @@ -351,7 +351,7 @@ function _setup_ssl ;; ( '' ) # No SSL/TLS certificate used/required, plaintext auth permitted over insecure connections - _log 'warn' "(INSECURE!) SSL configured with plain text access. DO NOT USE FOR PRODUCTION DEPLOYMENT." + _log 'warn' '!! INSECURE !! SSL configured with plain text access - DO NOT USE FOR PRODUCTION DEPLOYMENT' # Untested. Not officially supported. # Postfix configuration: diff --git a/target/scripts/startup/setup-stack.sh b/target/scripts/startup/setup-stack.sh index e5d03032..f4eaf0be 100644 --- a/target/scripts/startup/setup-stack.sh +++ b/target/scripts/startup/setup-stack.sh @@ -881,11 +881,11 @@ function _setup_security_stack # SpamAssassin if [[ ${ENABLE_SPAMASSASSIN} -eq 0 ]] then - _log 'warn' "Spamassassin is disabled. You can enable it with 'ENABLE_SPAMASSASSIN=1'" + _log 'debug' 'SpamAssassin is disabled' echo "@bypass_spam_checks_maps = (1);" >>"${DMS_AMAVIS_FILE}" elif [[ ${ENABLE_SPAMASSASSIN} -eq 1 ]] then - _log 'debug' "Enabling and configuring spamassassin" + _log 'debug' 'Enabling and configuring SpamAssassin' # shellcheck disable=SC2016 sed -i -r 's|^\$sa_tag_level_deflt (.*);|\$sa_tag_level_deflt = '"${SA_TAG}"';|g' /etc/amavis/conf.d/20-debian_defaults @@ -969,7 +969,7 @@ EOM # ClamAV if [[ ${ENABLE_CLAMAV} -eq 0 ]] then - _log 'info' "ClamAV is disabled" + _log 'debug' 'ClamAV is disabled' echo '@bypass_virus_checks_maps = (1);' >>"${DMS_AMAVIS_FILE}" elif [[ ${ENABLE_CLAMAV} -eq 1 ]] then