Kolab Groupware command-line utilities that make rain go away.
.PP
The
.BR kolab (1)
utilities are of an administrative nature, meaning that actions will be executed with the highest level of privileges available. For example, listing the mailboxes a user is subscribed to logs on to IMAP as the Cyrus IMAP administrator (configured in the [cyrus-imap] section of
.BR kolab.conf (5)),
and authorize itself as the user before issuing the LSUB command.
.\"
.\"
.\" OPTIONS Section
.\"
.\"
.SH OPTIONS
.TP
.BI "-c " "config-file"
Use
.I config-file
instead of the system-wide configuration file
.IR /etc/kolab/kolab.conf .
.TP
.BI "-d " "debug-level"
Set the debug level to
.IR debug-level .
The default is 0.
.HP
.RS
Trace
.BR kolab (1)
itself with debug level 8.
The maximum debug level of 9 will cause
.BR kolab (1)
to perform protocol tracing (on IMAP, HTTP, LDAP, SMTP, LMTP, MANAGESIEVE and other protocols it uses).
.RE
.TP
.BI "-h, --help"
Display a short help on usage, including commands and a brief description for each.
.TP
.BI "-l, --loglevel " "log-level"
Set the
.BR kolab (1)
log level to
.I log-level
Valid log-levels include DEBUG, INFO, WARN, ERR, CRIT, EMERG.
.HP
.RS
.BR NOTE :
Setting the debug level to non-zero implies setting a log level of DEBUG.
.RE
.TP
.BI "-q, --quiet"
Be quiet \- suppresses output like headers for columns
.TP
.BI "-y, --yes"
Answer yes to all questions (that ask for confirmation).
.\"
.\"
.\" FILES Section
.\"
.\"
.SH FILES
.I /etc/kolab/kolab.conf
.RS
The system wide configuration file for Kolab Groupware. See
.BR kolab.conf (5)
for further details.
.RE
.\"
.\"
.\" ENVIRONMENT Section
.\"
.\"
.SH ENVIRONMENT
No environment variables impact the operations of
.BR kolab (1).
.\"
.\"
.\" COMMANDS Section
.\"
.\"
.SH COMMANDS
.TP
.BI "acl-cleanup " "aci-subject"
Clean up ACLs on mailboxes and mailfolders that refer to the ACI subject
.I aci-subject
in any of the ACEs.
.\" .TP
.\" .BI "add-domain "
.\" Add a domain name space
.\"
.\" .TP
.\" .BI "add-group "
.\" Add a group
.\"
.\" .TP
.\" .BI "add-user "
.\" Add a user
.\"
.TP
.BI "add-user-subscription " "user pattern"
Subscribe
.I user
to the mailboxes matching
.IR pattern .
See PATTERNS for more information on pattern matching.
should be a language identifier such as 'en_US', or 'de_CH'.
Omit the
.I language
parameter to retrieve a list of languages configured to be associated with the user type in the Kolab Web Administration Panel.
.PP
.BR NOTE :
The language associated with a user impacts the transliteration of their name components in to mail, alias, uid and other 7-bit ascii attributes. To see the full effect before applying this setting, use the Kolab Web Administration Panel.
.RE
.\" .TP
.\" .BI "set-mail"
.\"
.\" .TP
.\" .BI "set-mailbox-metadata"
.\"
.\" .TP
.\" .BI "sq, set-quota"
.\"
.\" .TP
.\" .BI "sync"
.\"
.TP
.BI "transfer-mailbox " "mailbox imap-server"
Manually transfer
.I mailbox
to IMAP server
.IR imap-server .
.PP
.RS
In a Cyrus IMAP Murder environment, using LDAP attribute value 'mailHost', transfers a mailbox from one IMAP server to another IMAP server. The client that runs
.BR kolab (1)
MUST be able to connect to the current IMAP backend server in order for the transfer to succeed.
.PP
.BR NOTE :
In default Kolab Groupware deployments, the mailHost LDAP attribute will need to match the IMAP server FQDN the user's INBOX resides on. This command does not update the mailHost LDAP attribute value.
.PP
This command can be used to move a sub-folder to a different server (note that a separate quota root may need to be created), or to correct an environment out-of-sync.
Undeletes (restores) the previously deleted mailbox
.I mailbox
(if
.B delete_mode
is set to
.I delayed
in
.BR imapd.conf (5)).
If
.I target-mailbox
is specified, uses
.I target-mailbox
as the root folder to restore the previously deleted mailbox to.
Otherwise, restores the mailbox
.I mailbox
to its original location (from which it was deleted).
.RE
.\" .TP
.\" .BI "user-info"
.\"
.SS SIEVE COMMANDS
.BR kolab (1)
includes a set of sub-commands for Sieve script management.
.TP
.BI "list " "user"
List the Sieve scripts for user
.IR user .
.PP
.RS
Lists the names of the Sieve scripts for user
.IR user ,
and indicates which script is activated (the script that is executed on LMTP mail delivery to the user's mailbox).
.PP
.BR NOTE :
This script does NOT check the syntax of each script, nor does it determine which scripts reside in the user's personal Sieve namespace but are not active AND not included in any other script. See the