From cd258debd6107df78e8cd27cef3268032ad8c4c5 Mon Sep 17 00:00:00 2001 From: Dennis Stumm Date: Fri, 11 Nov 2016 13:27:37 +0100 Subject: [PATCH] List dovecot users only when LDAP disabled --- target/start-mailserver.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/start-mailserver.sh b/target/start-mailserver.sh index 47a3a501..7d12f00a 100644 --- a/target/start-mailserver.sh +++ b/target/start-mailserver.sh @@ -521,7 +521,7 @@ if [ "$ENABLE_SASLAUTHD" = 1 ]; then /etc/init.d/saslauthd start fi -if [ "$SMTP_ONLY" != 1 ]; then +if [ "$SMTP_ONLY" != 1 -a "$ENABLE_LDAP" != 1 ]; then echo "Listing users" /usr/sbin/dovecot user '*' fi