added filter to output
This commit is contained in:
parent
c55e2644a8
commit
f4ee4773ff
|
@ -48,7 +48,7 @@ dbquery="SELECT vm_mboxes.mbox, vm_domains.domain"
|
||||||
if [ -n "$verbose" ]; then
|
if [ -n "$verbose" ]; then
|
||||||
dbquery="$dbquery, vm_mboxes.passwd"
|
dbquery="$dbquery, vm_mboxes.passwd"
|
||||||
fi
|
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
|
if [ -n "$mbox" ] && [ -n "$domain" ]; then
|
||||||
# search for specific email address
|
# search for specific email address
|
||||||
dbquery="$dbquery AND vm_domains.domain='$domain' AND vm_mboxes.mbox='$mbox'"
|
dbquery="$dbquery AND vm_domains.domain='$domain' AND vm_mboxes.mbox='$mbox'"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user