King0770-Notes-Account-Organization: Difference between revisions
(Created page with "Here's a command you can use to generate list of all accounts living on their respective <strong>mboxgroup</strong> databases. <code><pre> for i in `seq 1 100`; do echo "Datab...") |
(No difference)
|
Revision as of 01:17, 24 April 2019
Here's a command you can use to generate list of all accounts living on their respective mboxgroup databases.
for i in `seq 1 100`; do echo "Database: mboxgroup$i"; echo "---------------------"; mysql zimbra -NBe "select id,comment from mailbox where group_id=$i;"; echo; echo; done
</code
Excellent guide on the structure of zimbra accounts, see https://wiki.zimbra.com/wiki/Account_mailbox_database_structure