List dovecot users only when LDAP disabled
This commit is contained in:
parent
5f93bb6e22
commit
cd258debd6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue