mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-06-26 18:59:14 +02:00
chore(ci): Linting Improved (#2000)
This commit is contained in:
parent
a0f4a37512
commit
abdf681d02
7 changed files with 60 additions and 56 deletions
|
@ -1454,7 +1454,7 @@ function _setup_security_stack
|
|||
sed -i "s|\$final_spam_destiny.*=.*$|\$final_spam_destiny = D_BOUNCE;|g" /etc/amavis/conf.d/49-docker-mailserver
|
||||
sed -i "s|\$final_bad_header_destiny.*=.*$|\$final_bad_header_destiny = D_BOUNCE;|g" /etc/amavis/conf.d/49-docker-mailserver
|
||||
|
||||
if ! ${SPAMASSASSIN_SPAM_TO_INBOX_IS_SET}
|
||||
if [[ ${VARS[SPAMASSASSIN_SPAM_TO_INBOX_SET]} == 'not set' ]]
|
||||
then
|
||||
_notify 'warn' 'Spam messages WILL NOT BE DELIVERED, you will NOT be notified of ANY message bounced. Please define SPAMASSASSIN_SPAM_TO_INBOX explicitly.'
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue