Revert " Enable spamassassin only, when amavis or rspamd is enabled."
This reverts commit b3ee62362e
.
This commit is contained in:
parent
b3ee62362e
commit
d5f672ad9c
|
@ -67,8 +67,8 @@ function __setup__security__postscreen() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function __setup__security__spamassassin() {
|
function __setup__security__spamassassin() {
|
||||||
if [[ ${ENABLE_AMAVIS} -ne 1 && ${ENABLE_RSPAMD} -ne 1 && ${ENABLE_SPAMASSASSIN} -eq 1 ]]; then
|
if [[ ${ENABLE_AMAVIS} -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.'
|
_log 'warn' 'Spamassassin does not work when Amavis is disabled. Enable Amavis to fix it.'
|
||||||
ENABLE_SPAMASSASSIN=0
|
ENABLE_SPAMASSASSIN=0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue