Rename environment variable ENABLE_MANAGE_SIEVE to ENABLE_MANAGESIEVE.

This commit is contained in:
André Stein 2016-04-29 17:09:48 +02:00
parent 69b66d55bc
commit 9f63fa2ef4
4 changed files with 4 additions and 4 deletions

View file

@ -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 \

View file

@ -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

View file

@ -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

View file

@ -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 ]
}