delmsg

Name

delmsg — MAPI message deletion from the command-line

Synopsis

/usr/libexec/gromox/delmsg {-dmailboxdir|-u u@d.de} -ffolder_id message_id[,…]

Description

delmsg deletes messages from a store. This utility does not perform a “surgical” operation on the SQLite database directly, but connects to an exmdb server and issues the delete_messages RPC. This deletes not only messages, but also updates the foloder structure for the sake of Cached Mode clients.

The folder and message IDs taken as arguments on the command-line should be of the GC-value form, i.e. as they appear in the the SQLite database, though.

Options

–soft
Perform a soft deletion. Soft deletion is not the same as moving to wastebasket; soft deletion sets a deleted flag and the mail stays in its folder (albeit invisibly).
-d/var/lib/gromox/user/1/2
Lookup the mailbox parameters from the associated filesystem location.
-uu@d.de
Lookup the mailbox parameters from the associated username.

See also

gromox(7)