AERC-JMAP(5) | File Formats Manual | AERC-JMAP(5) |
NAME
aerc-jmap - JMAP configuration for aerc(1)
SYNOPSIS
aerc implements the JMAP protocol as specified by RFCs 8620 and 8621.
CONFIGURATION
Basic JMAP configuration may be done interactively with the :new-account command.
In accounts.conf (see aerc-accounts(5)), the following JMAP-specific options are available:
source = <scheme>://[<username>][:<password>@]<hostname>[:<port>]/<path>
<hostname>[:<port>]/<path> is the HTTPS JMAP session resource as specified in RFC 8620 section 2 without the leading https:// scheme.
Possible values of <scheme> are:
jmap
jmap+oauthbearer
The username is ignored and may be left empty. If specifying the password, make sure to prefix it with : to make it explicit that the username is empty. Or set the username to any random value. E.g.:
source = jmap+oauthbearer://:s3cr3t@example.com/jmap/session source = jmap+oauthbearer://me:s3cr3t@example.com/jmap/session
Your source credentials must have the urn:ietf:params:jmap:mail capability.
source-cred-cmd = <command>
Example:
outgoing = jmap://
Your source credentials must have the urn:ietf:params:jmap:submission capability.
cache-state = true|false
The cached data should remain small, in the order of a few megabytes, even for very large email stores. Aerc will make its best to purge deleted/outdated information. It is safe to delete that folder when aerc is not running and it will be recreated from scratch on next startup.
Default: false
cache-blobs = true|false
Aerc will not purge the cached blobs automatically. Even when their related emails are destroyed permanently from the server. If required, you may want to run some periodic cleanup based on file creation date in a crontab, e.g.:
Default: false
use-labels = true|false
:archive flat may still be used to effectively "tag" messages with the hidden Archive mailbox so that they appear in the all-mail virtual folder. When the all-mail virtual folder is selected, :archive flat should not be used and will have no effect. The messages will be grayed out but will never be refreshed until aerc is restarted.
Also, this enables support for the :modify-labels (alias :tag) command.
Default: false
all-mail = <name>
Default: All mail
server-ping = <duration>
NOTES
JMAP messages can be seen as "labels" or "tags". Every message must belong to one or more mailboxes (folders in aerc). Each mailbox has a "role" as described in https://www.iana.org/assignments/imap-mailbox-name-attributes/.
When deleting messages that belong only to the selected mailbox, aerc will attempt to "move" these messages to a mailbox with the trash role. If it cannot find such mailbox or if the selected mailbox is the trash mailbox, it will effectively destroy the messages from the server.
:delete removes messages from the selected mailbox and effectively does the same thing than :tag -<selected_folder>.
:cp <foo> is an alias for :tag <foo> or :tag +<foo>.
:mv <foo> is a compound of :delete and :mv and can be seen as an alias of :tag -<selected_folder> +<foo>.
:archive flat is an alias for :tag -<selected_folder> +<archive>.
SEE ALSO
AUTHORS
Originally created by Drew DeVault and maintained by Robin Jarry who is assisted by other open source contributors. For more information about aerc development, see https://sr.ht/~rjarry/aerc/.
2024-07-30 |