mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
parent
6fa06f4986
commit
f4fe5bf527
|
@ -464,7 +464,7 @@ Note: this SpamAssassin setting needs `ENABLE_SPAMASSASSIN=1`
|
||||||
|
|
||||||
##### SA_KILL
|
##### SA_KILL
|
||||||
|
|
||||||
- **6.31** => triggers spam evasive actions
|
- **10.0** => triggers spam evasive actions
|
||||||
|
|
||||||
!!! note "This SpamAssassin setting needs `ENABLE_SPAMASSASSIN=1`"
|
!!! note "This SpamAssassin setting needs `ENABLE_SPAMASSASSIN=1`"
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ function __environment_variables_general_setup
|
||||||
VARS[POSTGREY_TEXT]="${POSTGREY_TEXT:=Delayed by Postgrey}"
|
VARS[POSTGREY_TEXT]="${POSTGREY_TEXT:=Delayed by Postgrey}"
|
||||||
VARS[POSTSCREEN_ACTION]="${POSTSCREEN_ACTION:=enforce}"
|
VARS[POSTSCREEN_ACTION]="${POSTSCREEN_ACTION:=enforce}"
|
||||||
VARS[RSPAMD_LEARN]="${RSPAMD_LEARN:=0}"
|
VARS[RSPAMD_LEARN]="${RSPAMD_LEARN:=0}"
|
||||||
VARS[SA_KILL]=${SA_KILL:="6.31"}
|
VARS[SA_KILL]=${SA_KILL:="10.0"}
|
||||||
VARS[SA_SPAM_SUBJECT]=${SA_SPAM_SUBJECT:="***SPAM*** "}
|
VARS[SA_SPAM_SUBJECT]=${SA_SPAM_SUBJECT:="***SPAM*** "}
|
||||||
VARS[SA_TAG]=${SA_TAG:="2.0"}
|
VARS[SA_TAG]=${SA_TAG:="2.0"}
|
||||||
VARS[SA_TAG2]=${SA_TAG2:="6.31"}
|
VARS[SA_TAG2]=${SA_TAG2:="6.31"}
|
||||||
|
|
|
@ -71,7 +71,7 @@ function teardown_file() {
|
||||||
|
|
||||||
_run_in_container grep '\$sa_kill_level_deflt' "${AMAVIS_DEFAULTS_FILE}"
|
_run_in_container grep '\$sa_kill_level_deflt' "${AMAVIS_DEFAULTS_FILE}"
|
||||||
assert_success
|
assert_success
|
||||||
assert_output --partial '= 6.31'
|
assert_output --partial '= 10.0'
|
||||||
|
|
||||||
_run_in_container grep '\$sa_spam_subject_tag' "${AMAVIS_DEFAULTS_FILE}"
|
_run_in_container grep '\$sa_spam_subject_tag' "${AMAVIS_DEFAULTS_FILE}"
|
||||||
assert_success
|
assert_success
|
||||||
|
|
Loading…
Reference in a new issue