imap(1) General Commands Manual imap(1)

imap - IMAP-specific API

imap [-h|--help] <subcommands>

IMAP-specific API.

Gives access to the raw IMAP API. Each command matches the name of its IMAP counterpart (RFC 3501 and extensions), exposed as a flat command list like the protocol itself.

Print help (see a summary with '-h')

Get information about the IMAP server
Select the given mailbox (SELECT, RFC 3501)
Create the given mailbox (CREATE, RFC 3501)
Delete the given mailbox (DELETE, RFC 3501)
Rename the given mailbox (RENAME, RFC 3501)
Subscribe to the given mailbox (SUBSCRIBE, RFC 3501)
Unsubscribe from the given mailbox (UNSUBSCRIBE, RFC 3501)
List mailboxes (LIST / LSUB, RFC 3501)
Get the status of the given mailbox (STATUS, RFC 3501)
Close the selected mailbox (CLOSE, RFC 3501)
Unselect the selected mailbox (UNSELECT, RFC 3691)
Expunge the given mailbox (EXPUNGE, RFC 3501)
Search IMAP messages (SEARCH, RFC 3501)
Sort IMAP messages (SORT, RFC 5256)
Thread IMAP messages (THREAD, RFC 5256)
Store IMAP flags on message(s) (STORE, RFC 3501)
List the flags available in the given mailbox (SELECT response, RFC 3501)
Fetch IMAP message data items (FETCH, RFC 3501)
Append a message to a mailbox (APPEND, RFC 3501)
Copy IMAP message(s) to the given mailbox (COPY, RFC 3501)
Move IMAP message(s) to the given mailbox (MOVE, RFC 6851)
Send one or more raw IMAP commands and print the verbatim server response
Print this message or the help of the given subcommand(s)
imap