Search K
Appearance
Appearance
doveadm [GLOBAL OPTIONS] obox command [arguments]
doveadm obox can be used to run actions that interact with and modify Dovecot's obox mailbox format.
doveadm [GLOBAL OPTIONS] obox user delete [-A | -u user | -F file | --no-userdb-lookup] [-S socket_path]
Delete all data associated with a user from obox storage and metacache.
Additionally, doveadm metacache remove
should be executed after this command is performed.
INFO
Data in fscache, and userdb information is not removed.
WARNING
This command can erase ALL data associated with a user!
WARNING
If Dictmap is used, the same user must not be created back within fs_dictmap_delete_timestamp
. Otherwise new Cassandra writes will have timestamps that are still older than the deleted keys, which causes the writes to be ignored.
doveadm [GLOBAL OPTIONS] obox user wait [-A | -u user | -F file | --no-userdb-lookup] [-S socket_path] [-t secs]
Wait until there are no more sessions (imap, lmtp, etc.) accessing the user. If there are still sessions after secs seconds, fail with exit code 65.
Delete all data for user 'bob'.
doveadm obox user delete -u bob