diff --git a/bin/vmail-mboxes-get.sh b/bin/vmail-mboxes-get.sh index cbd22ef..1aec448 100755 --- a/bin/vmail-mboxes-get.sh +++ b/bin/vmail-mboxes-get.sh @@ -48,7 +48,7 @@ dbquery="SELECT vm_mboxes.mbox, vm_domains.domain" 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" +dbquery="$dbquery, vm_mboxes.status, vm_mboxes.quota, vm_mboxes.filter FROM vm_domains, vm_mboxes WHERE vm_domains.id=vm_mboxes.domain_id" if [ -n "$mbox" ] && [ -n "$domain" ]; then # search for specific email address dbquery="$dbquery AND vm_domains.domain='$domain' AND vm_mboxes.mbox='$mbox'"