From 0e592aa911e7018624d983e111cdcb2e7b2f73da Mon Sep 17 00:00:00 2001 From: Casper Date: Tue, 23 May 2023 19:32:09 +0200 Subject: [PATCH] SPAM_TO_INBOX=1; add info about SA_KILL (#3360) --- target/scripts/startup/setup.d/security/misc.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/target/scripts/startup/setup.d/security/misc.sh b/target/scripts/startup/setup.d/security/misc.sh index 7bd86606..76fa8f67 100644 --- a/target/scripts/startup/setup.d/security/misc.sh +++ b/target/scripts/startup/setup.d/security/misc.sh @@ -126,6 +126,7 @@ function __setup__security__spamassassin if [[ ${SPAMASSASSIN_SPAM_TO_INBOX} -eq 1 ]] then _log 'trace' 'Configuring Spamassassin/Amavis to send SPAM to inbox' + _log 'debug' 'SPAM_TO_INBOX=1 is set. SA_KILL will be ignored.' sed -i "s|\$final_spam_destiny.*=.*$|\$final_spam_destiny = D_PASS;|g" /etc/amavis/conf.d/49-docker-mailserver sed -i "s|\$final_bad_header_destiny.*=.*$|\$final_bad_header_destiny = D_PASS;|g" /etc/amavis/conf.d/49-docker-mailserver