diff --git a/bin/vmail-mboxes-get.sh b/bin/vmail-mboxes-get.sh index 6d89b55..cbd22ef 100755 --- a/bin/vmail-mboxes-get.sh +++ b/bin/vmail-mboxes-get.sh @@ -45,7 +45,7 @@ fi # build query dbquery="SELECT vm_mboxes.mbox, vm_domains.domain" -if [ -n "$includepassword" ]; then +if [ -n "$verbose" ]; then dbquery="$dbquery, vm_mboxes.passwd" fi dbquery="$dbquery, vm_mboxes.status, vm_mboxes.quota FROM vm_domains, vm_mboxes WHERE vm_domains.id=vm_mboxes.domain_id"