From f4ee4773ff1a3f5d8006c37388d98fb76d0bd24e Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Sat, 20 Nov 2021 15:25:33 -0800 Subject: [PATCH] added filter to output --- bin/vmail-mboxes-get.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'"