List dovecot users only when LDAP disabled

This commit is contained in:
Dennis Stumm 2016-11-11 13:27:37 +01:00
parent 5f93bb6e22
commit cd258debd6
1 changed files with 1 additions and 1 deletions

View File

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