mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
SPAM_TO_INBOX=1; add info about SA_KILL (#3360)
This commit is contained in:
parent
7af7546d88
commit
0e592aa911
|
@ -126,6 +126,7 @@ function __setup__security__spamassassin
|
||||||
if [[ ${SPAMASSASSIN_SPAM_TO_INBOX} -eq 1 ]]
|
if [[ ${SPAMASSASSIN_SPAM_TO_INBOX} -eq 1 ]]
|
||||||
then
|
then
|
||||||
_log 'trace' 'Configuring Spamassassin/Amavis to send SPAM to inbox'
|
_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_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
|
sed -i "s|\$final_bad_header_destiny.*=.*$|\$final_bad_header_destiny = D_PASS;|g" /etc/amavis/conf.d/49-docker-mailserver
|
||||||
|
|
Loading…
Reference in a new issue