Revert " Enable spamassassin only, when amavis or rspamd is enabled."

This reverts commit b3ee62362e.
This commit is contained in:
casperklein 2024-03-20 10:24:40 +01:00
parent b3ee62362e
commit d5f672ad9c
1 changed files with 2 additions and 2 deletions

View File

@ -67,8 +67,8 @@ function __setup__security__postscreen() {
}
function __setup__security__spamassassin() {
if [[ ${ENABLE_AMAVIS} -ne 1 && ${ENABLE_RSPAMD} -ne 1 && ${ENABLE_SPAMASSASSIN} -eq 1 ]]; then
_log 'warn' 'Spamassassin does not work when not at least Amavis or Rspamd is running. Enable either Amavis or Rspamd to fix it.'
if [[ ${ENABLE_AMAVIS} -ne 1 && ${ENABLE_SPAMASSASSIN} -eq 1 ]]; then
_log 'warn' 'Spamassassin does not work when Amavis is disabled. Enable Amavis to fix it.'
ENABLE_SPAMASSASSIN=0
fi