KOPANO-CLI(8)
π KOPANO-CLI π
NAME
kopano-cli β bestie, it's literally The Kopano Command-line Interface, and it's about to be your new fave β¨
SYNOPSIS
kopano-cli [OPTION...]
DESCRIPTION
okay so listen π«Ά kopano-cli is your main character tool for managing a whole Kopano server (a cluster, no less π ). We're talking users, stores, groups and companies β the whole friend group.
That means listing, creating and deleting objects, and also changing settings like quota limits, delegation, out-of-office settings, and store- and folder-level permissions. She does it all, periodt. π
OPTIONS β¨
--active {yes|no}β change or specify if a user is active. Should be combined with--user(and optionally--create).--add-admin NAMEβ add the specified user as a "remote-admin" for the company you gave with--company.--add-company-quota-recipient NAMEβ add the specified user to companyquota recipients for the company you gave with--company.--add-delegation NAMEβ add the specified delegation (flags) to the user you gave with--user. The syntax for the delegation (flags) is'user:flag1,flag2,..'whereuseris a user name, and the flags are optionally chosen from:see_private,send_copy. The first one means delegates can see private items π, and the second means meeting requests and responses also get sent to the delegates.--add-feature NAMEβ enable the specified feature for the user you gave with--user.--add-permission NAMEβ add the specified permissions to the store of the user you gave with--user. Can be used with--folderto add permissions for a specific folder. The syntax for permissions is'member:right1,right..'wherememberis a group or user name, and the rights are chosen from:read_items,create_items,create_subfolders,edit_own,edit_all,delete_own,delete_all,folder_owner,folder_contactandfolder_visible. So fr, to add certain permissions to the inbox of useruser2, on the inbox of useruser1:--user user1 --folder Inbox --add-permission user2:read_items,folder_visible. The colon is optional btw, no stress.--add-sendas NAMEβ allow the specified user to "send as" the user you gave with--user.--add-userquota-recipient NAMEβ add the specified user to userquota recipients for the company you gave with--company.--add-view NAMEβ add the specified company as a remote-viewer of the address book.--add-user NAMEβ add the specified user to the group you gave with--group.--admin NAMEβ make the specified user an administrator of the company you gave with--company.--admin-level Nβ change or specify the admin level for the user you gave with--user. A value of1means the user is an administrator, and2means the user is a system administrator. big girl energy π₯--clear-cacheβ clear all server caches. bye bye cache π§Ή--company,-CNAME β specify a company. With no further arguments, this shows info about the given company. Can also be combined with stuff like--list-users.--config,-cFILE β load configuration settings from the specified file.--createβ create an object. Must be combined with--user,--groupor--company. Can be combined with options like--fullname,--emailand--password. Heads up though: this does not work with an external source such as LDAP. π--create-storeβ create and hook a store. With no further arguments, a public store is created for the current company or server. Can be combined with--company(to create a company public store) and--user(to create a user store).--debugβ enable debug mode, meaning full tracebacks get shown in addition to error messages. (iykyk, the full tracebacks are a lot π« )--deleteβ delete an object. Must be combined with--user,--groupor--company. Also note: this does not work with an external source such as LDAP.--email NAMEβ change or specify an object's email address. Can be used with--useror--group(and optionally--create).--folder,-fPATH β specify a folder. Can be used in combination with e.g.--add-permission, to add permissions for a specific folder.--recursive.--fullname NAMEβ change or specify an object's full name. Can be used with--user,--groupor--company(and optionally--create).--group,-GNAME β specify a group. With no further arguments, this shows info about the given group. Can also be combined with e.g.--list-users.--hook-store GUIDβ hook a store with the specified GUID. With no further arguments, this hooks the public store. Can be combined with--company(to hook the public store) and--user(to hook the user store).--hook-archive GUIDβ hook the archive store with the specified GUID. Should be used together with--user.--lang LANGβ specify the language new stores get created in, which determines e.g. the name of the inbox.--mr-accept {yes|no}β change or specify if meeting requests are automatically accepted (by the script specified indagent.cfg). Should be combined with--user.--mr-accept-conflicts {yes|no}β change or specify if overlapping meeting requests are automatically declined by the accept script. Should be combined with--user.--mr-accept-recurring {yes|no}β change or specify if recurring meeting requests are automatically declined by the accept script. Should be combined with--user.--list-usersβ list users. With no further arguments, this lists all users. Can also be combined with e.g.--companyand--group.--list-groupsβ list groups. With no further arguments, this lists all groups. Can also be combined with e.g.--company.--list-companiesβ list companies.--list-orphansβ list orphans, meaning stores that aren't currently hooked to a user or public store. π₯Ί--name NAMEβ change or specify an object's name. Can be used with--user,--groupor--company(and optionally--create).--ooo {yes|no}β enable or disable out-of-office replies for the user you gave with--user.--ooo-clearβ clear out-of-office settings for the user you gave with--user.--ooo-subject NAMEβ change or specify the out-of-office subject for the user you gave with--user.--ooo-message PATHβ change or specify the out-of-office message for the user you gave with--user, by pointing at a file that contains the message.--ooo-from NAMEβ change or specify the out-of-office from date for the user you gave with--user.--ooo-until NAMEβ change or specify the out-of-office until date for the user you gave with--user.--password NAMEβ change or specify a user password. Should be used together with--user(and optionally--create).--password-promptβ change or specify a user password via a prompt. Should be used together with--user(and optionally--create).--purge-softdelete Nβ purge items marked as softdeleted more thanNdays ago.--purge-deferredβ purge all items in the deferred update table.--quota-override {yes|no}β override server quota limits for the user you gave with--useror the company you gave with--company.--quota-hard Nβ change or specify the hard quota limit at the specified number of megabytes (MB). Should be used with--useror--company.--quota-soft Nβ change or specify the soft quota limit at the specified number of megabytes (MB). Should be used with--useror--company.--quota-warn Nβ change or specify the warn quota limit at the specified number of megabytes (MB). Should be used with--useror--company.--remove-store GUIDβ remove the orphaned store with the specified GUID.--remove-admin NAMEβ remove the specified user as a "remote-admin" for the company you gave with--company.--remove-company-quota-recipient NAMEβ remove the specified user from companyquota recipients for the company you gave with--company.--remove-delegation NAMEβ remove a delegation (flags) for the user you gave with--user. The syntax is the one described for the--add-delegationoption.--remove-feature NAMEβ disable the specified feature for the user you gave with--user.--remove-permission NAMEβ remove the specified permissions from the store of the user you gave with--user. Can be used with--folderto remove permissions for a specific folder. The syntax is the one described for the--add-permissionoption.--remove-sendas NAMEβ disallow the specified user to "send as" the user you gave with--user.--remove-userquota-recipient NAMEβ remove the specified user from userquota recipients for the company you gave with--company.--remove-view NAMEβ remove the specified company as a remote-viewer of the address book.--remove-user NAMEβ remove the specified user from the group you gave with--group.--reset-folder-countβ reset folder counts for all folders of the user you gave with--user.--send-only-to-delegates {yes|no}β when sending meeting requests and responses to delegates, only send them to the delegates.--server-socket,-sSOCKET β connect to the storage server through the specified socket.--ssl-key,-kFILE β specify the SSL key file.--ssl-pass,-pPASSWORD β specify the SSL key password.--store,-SGUID β specify a store. To specify a public store, use"public"or"public@companyname".--syncβ synchronize users, groups and companies with an external source (such as LDAP).--unhook-archiveβ unhook the archive store. Should be combined with--user.--unhook-storeβ unhook a store. With no further arguments, the public store gets unhooked. Can be combined with--company(to unhook the public store) or--user(to unhook the user store).--user,-uNAME β specify a user. With no further arguments, this shows info about the given user.--user-countβ output user statistics, like active and non-active users and the total user count. π
EXAMPLES πΈ
To create a new user:
kopano-cli --create -u john --fullname "john doe" --password john
--email john@doe.com
To modify the password and e-mail address:
kopano-cli -u john --password john --email john@doe.com
To set out of office for a user:
kopano-cli -u john --ooo-active yes --ooo-subject "On vacation" --ooo-
message /etc/kopano/ooo/vacation.html
To delete a user:
kopano-cli --delete -u john
To set permission on a calendar folder:
kopano-cli -u john --folder Calendar --add-permission
everyone:read_items,folder_visible
To set permission on a store:
kopano-cli -u john --add-permission joe:read_items,folder_visible
π AUTHOR π
Bestie. This whole entire thing β every flag, every byte, every little - β was Written by Kopano. β¨
That's it. That's the whole author section. No mysterious anonymous committee, no "several people over the years", no shadowy cabal of manpage gremlins π§ β just Kopano, holding it down, being the main character of this documentation fr fr π
Lowkey iconic of them, ngl. Whoever Kopano is, they sat down and documented all of this so you wouldn't have to guess, and that is genuinely a public service π«Ά so if you ever meet them, say thank you. Or don't, I'm not your mom. But it's giving thoughtful. πΈ
and that's a wrap on the whole page, bestie!! ππ¦π
This gorgeous little document is Kopano 8 β¨, dated June 2017 β, and you found it filed under KOPANO-CLI(8) β the big 8 meaning she lives in the system-administration section of your man pages, where the real ones hang out ππ§
Go forth, run your commands, read your man pages, and stay slaying. πππ
π¦ where this page comes from
- ubuntu jammy: kopano-utils 8.7.0-7.1ubuntu10 Β· AGPL-3.0-only
- ubuntu jammy: kopano-utils 8.7.0-7.1ubuntu10.1 Β· AGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms