Rename environment variable ENABLE_MANAGE_SIEVE to ENABLE_MANAGESIEVE.
This commit is contained in:
parent
69b66d55bc
commit
9f63fa2ef4
2
Makefile
2
Makefile
|
@ -23,7 +23,7 @@ run:
|
||||||
-e SA_TAG2=2.0 \
|
-e SA_TAG2=2.0 \
|
||||||
-e SA_KILL=3.0 \
|
-e SA_KILL=3.0 \
|
||||||
-e SASL_PASSWD=testing \
|
-e SASL_PASSWD=testing \
|
||||||
-e ENABLE_MANAGE_SIEVE=1 \
|
-e ENABLE_MANAGESIEVE=1 \
|
||||||
-h mail.my-domain.com -t $(NAME)
|
-h mail.my-domain.com -t $(NAME)
|
||||||
sleep 20
|
sleep 20
|
||||||
docker run -d --name mail_pop3 \
|
docker run -d --name mail_pop3 \
|
||||||
|
|
|
@ -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.
|
Otherwise, `iptables` won't be able to ban IPs.
|
||||||
|
|
||||||
##### ENABLE_MANAGE_SIEVE
|
##### ENABLE_MANAGESIEVE
|
||||||
|
|
||||||
- **empty** => Managesieve service disabled
|
- **empty** => Managesieve service disabled
|
||||||
- 1 => Enables Managesieve on port 4190
|
- 1 => Enables Managesieve on port 4190
|
||||||
|
|
|
@ -237,7 +237,7 @@ cron
|
||||||
|
|
||||||
# Enable Managesieve service by setting the symlink
|
# Enable Managesieve service by setting the symlink
|
||||||
# to the configuration file Dovecot will actually find
|
# 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
|
mv /etc/dovecot/protocols.d/managesieved.protocol.disab /etc/dovecot/protocols.d/managesieved.protocol
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -420,7 +420,7 @@
|
||||||
[ "$output" = 1 ]
|
[ "$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"
|
run docker exec mail /bin/bash -c "nc -z 0.0.0.0 4190"
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue