grommunio-admin-exmdb(1)

Name
grommunio-admin exmdb — User or domain store management

Synopsis

grommunio-admin exmdb TARGET folder create [--comment COMMENT] [-t TYPE] NAME [PARENTID]
grommunio-admin exmdb TARGET folder delete [-a] [--clear] FOLDERSPEC
grommunio-admin exmdb TARGET folder find [-x] NAME [ID]
grommunio-admin exmdb TARGET folder grant [-f] [-r] ID USERNAME PERMISSION [PERMISSION ...]
grommunio-admin exmdb TARGET folder list [-r] [--format FORMAT] [ID]
grommunio-admin exmdb TARGET folder revoke [-r] ID USERNAME [PERMISSION ...]
grommunio-admin exmdb TARGET store delete PROPSPEC [PROPSPEC ...]
grommunio-admin exmdb TARGET store get [--format FORMAT] [--separator SEPARATOR] [PROPSPEC ...]
grommunio-admin exmdb TARGET store set [PROPSPEC=VALUE ...]

Description
Subcommand to access and modify a domain's or user's store via exmdb protocol.

Commands

  Folder subcommand

create
    Create a new folder

delete
    Delete folder by ID or name.

find
    Find folders with given name

grant
    Grant permissions on this folder to a user

list
    List subfolders of a folder. If no folder ID is specified, list subfolders of root folder.

revoke
    Revoke permissions on this folder from a user. If not permission is specified, revoke all permissions.

  Store subcommand

delete
    Delete properties

get Get store properties

set Set store properties

Options

ID  ID of the folder

FOLDERSPEC
    ID or name of the folder

NAME
    Name of the folder

PARENTID
    ID of the parent folder

PERMISSION
    Name or numeric value of the permission

PROPSPEC
    Name or numeric value of the property

TARGET
    Name of the domain or e-mail address of the user

USERNAME
    E-Mail address of a user

-a, --all
    Do not stop if target is ambiguous but apply to all.

--clear
    Delete folder contents. Required for non-empty folders.

--comment COMMENT
    Folder comment

-f, --force
    Grant permissions to non-existing user

--format FORMAT
    Output format. Can be one of csv, json-flat, json-kv, json-object, json-structured and pretty. Default is pretty.

-r, --recursive
    Apply recursively to subfolders

--separator SEPARATOR
    String to use for column separation (csv and pretty only). Must have length 1 if format is csv. Default is "," for csv and " " for pretty.

-t TYPE, --type TYPE
    CONTAINERCLASS property, defaults to "IPF.Note"

-x, --exact
    Only match exact folder names instead of case-insensitive substrings

Notes

•   Folder IDs and permissions can be given in decimal, hexadecimal (0x-prefix), octal (0-prefix) or binary (0b-prefix).

•   Currently, the permission value echoed by the grant and revoke commands is the one sent to the server and might differ from the value actually assigned.

•   The create, find and list commands operate on the IPMSUBTREE folders (0x9 for users, 0x2 for domains) by default, which can be overridden by the ID parameter.

See Also
grommunio-admin(1), grommunio-admin-domain(1), grommunio-admin-service(1), grommunio-admin-user(1)