diff --git a/Makefile b/Makefile index 4c960288..cf470aa9 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ run: -e SA_TAG2=2.0 \ -e SA_KILL=3.0 \ -e SASL_PASSWD=testing \ - -e ENABLE_MANAGE_SIEVE=1 \ + -e ENABLE_MANAGESIEVE=1 \ -h mail.my-domain.com -t $(NAME) sleep 20 docker run -d --name mail_pop3 \ diff --git a/README.md b/README.md index 54e7239e..4a7100cb 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ If you enable Fail2Ban, don't forget to add the following lines to your `docker- Otherwise, `iptables` won't be able to ban IPs. -##### ENABLE_MANAGE_SIEVE +##### ENABLE_MANAGESIEVE - **empty** => Managesieve service disabled - 1 => Enables Managesieve on port 4190 diff --git a/target/start-mailserver.sh b/target/start-mailserver.sh index 4d44c0ae..ca0be0f3 100644 --- a/target/start-mailserver.sh +++ b/target/start-mailserver.sh @@ -237,7 +237,7 @@ cron # Enable Managesieve service by setting the symlink # to the configuration file Dovecot will actually find -if [ "$ENABLE_MANAGE_SIEVE" = 1 ]; then +if [ "$ENABLE_MANAGESIEVE" = 1 ]; then mv /etc/dovecot/protocols.d/managesieved.protocol.disab /etc/dovecot/protocols.d/managesieved.protocol fi diff --git a/test/tests.bats b/test/tests.bats index 0141beec..4a6eaf51 100644 --- a/test/tests.bats +++ b/test/tests.bats @@ -420,7 +420,7 @@ [ "$output" = 1 ] } -@test "checking manage sieve: server is ready when ENABLE_MANAGE_SIEVE has been set" { +@test "checking manage sieve: server is ready when ENABLE_MANAGESIEVE has been set" { run docker exec mail /bin/bash -c "nc -z 0.0.0.0 4190" [ "$status" -eq 0 ] }