| 1 |
AERC(1) |
| 2 |
|
| 3 |
# NAME |
| 4 |
|
| 5 |
aerc - a pretty good email client. |
| 6 |
|
| 7 |
# SYNOPSIS |
| 8 |
|
| 9 |
*aerc* [*-h*] [*-v*] [*-a* _<name>_] [*-C* _<file>_] [*-A* _<file>_] [*-B* |
| 10 |
_<file>_] [*-I*] [*mailto:*_<...>_ | *mbox:*_<file>_ | :_<command...>_] |
| 11 |
|
| 12 |
For a guided tutorial, use *:help tutorial* from aerc, or *man aerc-tutorial* |
| 13 |
from your terminal. |
| 14 |
|
| 15 |
# OPTIONS |
| 16 |
|
| 17 |
*-h*, *--help* |
| 18 |
Show aerc usage help and exit. |
| 19 |
|
| 20 |
*-v*, *--version* |
| 21 |
Print the installed version of aerc and exit. |
| 22 |
|
| 23 |
*-a* _<name>_++ |
| 24 |
*--account* _<name>_ |
| 25 |
Load only the named account, as opposed to all configured accounts. It |
| 26 |
can also be a comma separated list of names. This option may be |
| 27 |
specified multiple times. The account order will be preserved. |
| 28 |
|
| 29 |
*-C* _</path/to/aerc.conf>_++ |
| 30 |
*--aerc-conf* _</path/to/aerc.conf>_ |
| 31 |
Instead of using _$XDG_CONFIG_HOME/aerc/aerc.conf_ use the file at the |
| 32 |
specified path for configuring aerc. |
| 33 |
|
| 34 |
*-A* _</path/to/accounts.conf>_++ |
| 35 |
*--accounts-conf* _</path/to/accounts.conf>_ |
| 36 |
Instead of using _$XDG_CONFIG_HOME/aerc/accounts.conf_ use the file at the |
| 37 |
specified path for configuring accounts. |
| 38 |
|
| 39 |
*-B* _</path/to/binds.conf>_++ |
| 40 |
*--binds-conf* _</path/to/binds.conf>_ |
| 41 |
Instead of using _$XDG_CONFIG_HOME/aerc/binds.conf_ use the file at the |
| 42 |
specified path for configuring binds. |
| 43 |
|
| 44 |
*-I*, *--no-ipc* |
| 45 |
Run commands (*mailto:*_..._, *:*_<command...>_, *mbox:*_<file>_) directly |
| 46 |
in this instance rather than over IPC in an existing aerc instance. Also |
| 47 |
disable creation of an IPC server for subsequent aerc instances to |
| 48 |
communicate with this one. |
| 49 |
|
| 50 |
*mailto:*_address[,address][?query[&query]]_ |
| 51 |
Open the composer with the address(es) in the To field. These |
| 52 |
addresses must not be percent encoded. |
| 53 |
|
| 54 |
If aerc is already running (and IPC is not disabled), the composer is |
| 55 |
started in that instance; otherwise a new instance is started with the |
| 56 |
composer. |
| 57 |
|
| 58 |
The following (optional) query parameters are supported: |
| 59 |
|
| 60 |
[[ *Query* |
| 61 |
:[ *Description* |
| 62 |
| _subject=<text>_ |
| 63 |
: Subject line will be completed with the _<text>_ |
| 64 |
| _body=<text>_ |
| 65 |
: Message body will be completed with the _<text>_ |
| 66 |
| _cc=<address>[,<address>]_ |
| 67 |
: Cc header will be completed with the list of addresses |
| 68 |
| _bcc=<address>[,<address>]_ |
| 69 |
: Bcc header will be completed with the list of addresses |
| 70 |
| _in-reply-to=<message-id>_ |
| 71 |
: In-reply-to header will be set to the message id |
| 72 |
| _account=<accountname>_ |
| 73 |
: Specify the account (must be in _accounts.conf_; default is the selected account) |
| 74 |
| _template=<template-file>_ |
| 75 |
: Template sets the template file for creating the message |
| 76 |
|
| 77 |
Note that reserved characters in the queries must be percent encoded. |
| 78 |
|
| 79 |
*:*_<command...>_ |
| 80 |
Run an aerc-internal command as you would in Ex-Mode. See *RUNTIME |
| 81 |
COMMANDS* below. |
| 82 |
|
| 83 |
The command to be executed and its arguments can either be passed as |
| 84 |
separate arguments in the shell (e.g., _aerc :cmd arg1 arg2_) or as a single |
| 85 |
argument in the shell (e.g., _aerc ":cmd arg1 arg2"_). In the former case, |
| 86 |
aerc may add quotes to the command before it is parsed in an attempt to |
| 87 |
preserve arguments containing spaces and other special characters. In the |
| 88 |
latter case, aerc will parse the command verbatim, as if it had been typed |
| 89 |
directly on aerc's command line. This latter form can be helpful for |
| 90 |
commands that don't interpret quotes in their arguments. |
| 91 |
|
| 92 |
If aerc is already running (and IPC is not disabled), the command is run in |
| 93 |
that instance; otherwise a new instance is started with the command. |
| 94 |
|
| 95 |
*mbox:*_<file>_ |
| 96 |
Open the specified mbox file as a virtual temporary account. |
| 97 |
|
| 98 |
If aerc is already running (and IPC is not disabled), the file is opened in |
| 99 |
that instance; otherwise a new instance is started with the file. |
| 100 |
|
| 101 |
# RUNTIME COMMANDS |
| 102 |
|
| 103 |
To execute a command, press *:* to bring up the command interface. Commands may |
| 104 |
also be bound to keys, see *aerc-binds*(5) for details. In some contexts, such |
| 105 |
as the terminal emulator, *<c-x>* is used to bring up the command interface. |
| 106 |
|
| 107 |
Different commands work in different contexts, depending on the kind of tab you |
| 108 |
have selected. |
| 109 |
|
| 110 |
Dynamic arguments are expanded following *aerc-templates*(7) depending on the |
| 111 |
context. For example, if you have a message selected, the following command: |
| 112 |
|
| 113 |
``` |
| 114 |
:filter -f "{{index (.From | emails) 0}}" |
| 115 |
``` |
| 116 |
|
| 117 |
Will filter all messages sent by the same sender. |
| 118 |
|
| 119 |
Aerc stores a history of commands, which can be cycled through in command mode. |
| 120 |
Pressing the up key cycles backwards in history, while pressing down cycles |
| 121 |
forwards. |
| 122 |
|
| 123 |
## GLOBAL COMMANDS |
| 124 |
|
| 125 |
These commands work in any context. |
| 126 |
|
| 127 |
*:help* _<topic>_++ |
| 128 |
*:man* _<topic>_ |
| 129 |
Display one of aerc's man pages in the embedded terminal. |
| 130 |
|
| 131 |
*:help* *keys*++ |
| 132 |
*:man* *keys* |
| 133 |
Display the active key bindings in the current context. |
| 134 |
|
| 135 |
*:new-account* [*-t*] |
| 136 |
Start the new account wizard. |
| 137 |
|
| 138 |
*-t*: Create a temporary account. Do not modify _accounts.conf_. |
| 139 |
|
| 140 |
*:cd* _<directory>_ |
| 141 |
Changes aerc's current working directory. |
| 142 |
|
| 143 |
*:z* _<directory or zoxide query>_ |
| 144 |
Changes aerc's current working directory using zoxide. If zoxide is not on |
| 145 |
*$PATH*, the command will not be registered. |
| 146 |
|
| 147 |
*:change-tab* [*+*|*-*]_<tab name or index>_++ |
| 148 |
*:ct* [*+*|*-*]_<tab name or index>_ |
| 149 |
Changes the focus to the tab with the given name. If a number is given, |
| 150 |
it's treated as an index. If the number is prepended with *+* or *-*, the number |
| 151 |
is interpreted as a delta from the selected tab. If only a *-* is given, changes |
| 152 |
the focus to the previously selected tab. |
| 153 |
|
| 154 |
*:exec* _<command>_ |
| 155 |
Executes an arbitrary command in the background. Aerc will set the |
| 156 |
environment variables *$account* and *$folder* when the command is |
| 157 |
executed from an Account tab or an opened message. |
| 158 |
|
| 159 |
Note: commands executed in this way are not executed with the shell. |
| 160 |
|
| 161 |
*:echo* _<string>_ |
| 162 |
Resolve templates in _<string>_ and print it. |
| 163 |
|
| 164 |
*:eml* [_<path>_]++ |
| 165 |
*:preview* [_<path>_] |
| 166 |
Opens an eml file and displays the message in the message viewer. |
| 167 |
|
| 168 |
Can also be used in the message viewer to open an rfc822 attachment or |
| 169 |
in the composer to preview the message. |
| 170 |
|
| 171 |
*:pwd* |
| 172 |
Displays aerc's current working directory in the status bar. |
| 173 |
|
| 174 |
*:version* |
| 175 |
Displays the version of the running aerc instance. |
| 176 |
|
| 177 |
*:send-keys* _<keystrokes>_ |
| 178 |
Send keystrokes to the currently visible terminal, if any. Can be used to |
| 179 |
control embedded editors to save drafts or quit in a safe manner. |
| 180 |
|
| 181 |
Here's an example of quitting a Vim-like editor: |
| 182 |
|
| 183 |
*:send-keys* _<Esc>:wq!<Enter>_ |
| 184 |
|
| 185 |
Note: when used in _binds.conf_ (see *aerc-binds*(5)), angle brackets |
| 186 |
need to be escaped in order to make their way to the command: |
| 187 |
|
| 188 |
<C-q> = :send-keys \\<Esc\\>:wq!\\<Enter\\><Enter> |
| 189 |
|
| 190 |
This way the _<Esc>_ and the first _<Enter>_ keystrokes are passed to |
| 191 |
*:send-keys*, while the last _<Enter>_ keystroke is executed directly, |
| 192 |
committing the *:send-keys* command's execution. |
| 193 |
|
| 194 |
*:term* [_<command>..._]++ |
| 195 |
*:terminal* [_<command>..._] |
| 196 |
Opens a new terminal tab with a shell running in the current working |
| 197 |
directory, or the specified command. |
| 198 |
|
| 199 |
*:move-tab* [_+_|_-_]_<index>_ |
| 200 |
Moves the selected tab to the given index. If _+_ or _-_ is specified, the |
| 201 |
number is interpreted as a delta from the selected tab. |
| 202 |
|
| 203 |
*:prev-tab* [_<n>_]++ |
| 204 |
*:next-tab* [_<n>_] |
| 205 |
Cycles to the previous or next tab in the list, repeating _<n>_ times |
| 206 |
(default: _1_). |
| 207 |
|
| 208 |
*:pin-tab* |
| 209 |
Moves the current tab to the left of all non-pinned tabs and displays |
| 210 |
the *pinned-tab-marker* (default: _`_) to the left of the tab title. |
| 211 |
|
| 212 |
*:unpin-tab* |
| 213 |
Removes the *pinned-tab-marker* from the current tab and returns the tab |
| 214 |
to its previous location. |
| 215 |
|
| 216 |
*:prompt* _<prompt>_ _<command>..._ |
| 217 |
Displays the prompt on the status bar, waits for user input, then appends |
| 218 |
that input as the last argument to the command and executes it. The input is |
| 219 |
passed as one argument to the command, unless it is empty, in which case no |
| 220 |
extra argument is added. |
| 221 |
|
| 222 |
*:menu* [*-c* _"<shell-cmd>"_] [*-e*] [*-b*] [*-a*] [*-d*] [*-l*] [*-t* _"<title>"_] |
| 223 |
_<aerc-cmd ...>_ |
| 224 |
Opens a popover dialog running _sh -c "<shell-cmd>"_ (if not specified |
| 225 |
*[general].default-menu-cmd* will be used). When the command exits, all |
| 226 |
lines printed on its standard output will be appended to _<aerc-cmd ...>_ |
| 227 |
and executed as a standard aerc command like *xargs*(1) would do when |
| 228 |
used in a shell. A colon (*:*) prefix is supported for _<aerc-cmd ...>_ |
| 229 |
but is not required. |
| 230 |
|
| 231 |
*:menu* can be used without an external program by setting _<shell-cmd>_ |
| 232 |
to _-_. This also acts as a fallback in case where no _<shell-cmd>_ was |
| 233 |
specified at all or the executable in the _<shell-cmd>_ was not found. |
| 234 |
|
| 235 |
*-c* _"<shell-cmd>"_ |
| 236 |
Override *[general].default-menu-cmd*. See *aerc-config*(5) for |
| 237 |
more details. |
| 238 |
|
| 239 |
*-e*: Stop executing commands on the first error. |
| 240 |
|
| 241 |
*-b*: Do *NOT* spawn the popover dialog. Start the commands in the |
| 242 |
background (*NOT* in a virtual terminal). Use this if _<shell-cmd>_ is |
| 243 |
a graphical application that does not need a terminal. |
| 244 |
|
| 245 |
*-t*: Override the dialog title (otherwise derived from _<shell-cmd>_) |
| 246 |
|
| 247 |
_<shell-cmd>_ may be fed with input text using the following flags: |
| 248 |
*-a*: All account names, one per line. E.g.: |
| 249 |
|
| 250 |
'<account>' LF |
| 251 |
|
| 252 |
*-d*: All current account directory names, one per line. E.g.: |
| 253 |
|
| 254 |
'<directory>' LF |
| 255 |
|
| 256 |
*-ad*: All directories of all accounts, one per line. E.g.: |
| 257 |
|
| 258 |
'<account>' '<directory>' LF |
| 259 |
|
| 260 |
*-l*: All links extracted from the current message. |
| 261 |
|
| 262 |
Quotes may be added by aerc when either tokens contain special |
| 263 |
characters. The quotes should be preserved for _<aerc-cmd ...>_. |
| 264 |
|
| 265 |
Examples: |
| 266 |
|
| 267 |
``` |
| 268 |
:menu -adc fzf :cf -a |
| 269 |
:menu -c 'fzf --multi' :attach |
| 270 |
:menu -dc 'fzf --multi' :cp |
| 271 |
:menu -bc 'dmenu -l 20' :cf |
| 272 |
:menu -c 'ranger --choosefiles=%f' :attach |
| 273 |
:menu -lc fzf :open-link |
| 274 |
``` |
| 275 |
|
| 276 |
This may also be used in key bindings (see *aerc-binds*(5)): |
| 277 |
|
| 278 |
``` |
| 279 |
<C-p> = :menu -adc fzf :cf -a<Enter> |
| 280 |
``` |
| 281 |
|
| 282 |
*:choose* *-o* _<key>_ _<text>_ _<command>_ [*-o* _<key>_ _<text>_ _<command>_]... |
| 283 |
Prompts the user to choose from various options. |
| 284 |
|
| 285 |
*:reload* [*-B*] [*-C*] [*-s* _<styleset-name>_] |
| 286 |
Hot-reloads the config files for the key binds and general *aerc* config. |
| 287 |
Reloading of the account config file is not supported. |
| 288 |
|
| 289 |
If no flags are provided, _binds.conf_, _aerc.conf_, and the current |
| 290 |
styleset will all be reloaded. |
| 291 |
|
| 292 |
*-B*: Reload _binds.conf_. |
| 293 |
|
| 294 |
*-C*: Reload _aerc.conf_. |
| 295 |
|
| 296 |
*-s* _<styleset-name>_ |
| 297 |
Load the specified styleset. |
| 298 |
|
| 299 |
Sending the *SIGHUP* signal to the *aerc* process will cause *:reload* |
| 300 |
to be performed (with no flags). |
| 301 |
|
| 302 |
*:repeat* |
| 303 |
Repeats aerc's previously executed command when you last pressed *:*. |
| 304 |
|
| 305 |
*:suspend* |
| 306 |
Suspends the aerc process. Some ongoing connections may be terminated. |
| 307 |
|
| 308 |
*:quit* [*-f*]++ |
| 309 |
*:exit* [*-f*]++ |
| 310 |
*:q* [*-f*] |
| 311 |
Exits aerc. If a task is being performed that should not be interrupted |
| 312 |
(like sending a message), a normal quit call might fail. In this case, |
| 313 |
closing aerc can be forced with the *-f* option. |
| 314 |
|
| 315 |
*:redraw* |
| 316 |
Force a full redraw of the screen. |
| 317 |
|
| 318 |
## MESSAGE COMMANDS |
| 319 |
|
| 320 |
These commands are valid in any context that has a selected message (e.g. the |
| 321 |
message list, the message in the message viewer, etc). |
| 322 |
|
| 323 |
*:archive* [*-m* _<strategy>_] _<scheme>_ |
| 324 |
Moves the selected message to the archive. The available schemes are: |
| 325 |
|
| 326 |
_flat_: No special structure, all messages in the archive directory |
| 327 |
|
| 328 |
_year_: Messages are stored in folders per year |
| 329 |
|
| 330 |
_month_: Messages are stored in folders per year and subfolders per month |
| 331 |
|
| 332 |
The *-m* option sets the multi-file strategy. See *aerc-notmuch*(5) for more |
| 333 |
details. |
| 334 |
|
| 335 |
*:accept* [*-e*|*-E*] [*-s*] |
| 336 |
Accepts an iCalendar meeting invitation. This opens a compose window |
| 337 |
with a specially crafted attachment. Sending the email will let the |
| 338 |
inviter know that you accepted and will likely update their calendar as |
| 339 |
well. This will NOT add the meeting to your own calendar, that must be |
| 340 |
done as a separate manual step (e.g. by piping the text/calendar part to |
| 341 |
an appropriate script). |
| 342 |
|
| 343 |
*-e*: Forces *[compose].edit-headers* = _true_ for this message only. |
| 344 |
|
| 345 |
*-E*: Forces *[compose].edit-headers* = _false_ for this message only. |
| 346 |
|
| 347 |
*-s*: Skips the editor and goes directly to the review screen. |
| 348 |
|
| 349 |
*:accept-tentative* [*-e*|*-E*] [*-s*] |
| 350 |
Accepts an iCalendar meeting invitation tentatively. |
| 351 |
|
| 352 |
*-e*: Forces *[compose].edit-headers* = _true_ for this message only. |
| 353 |
|
| 354 |
*-E*: Forces *[compose].edit-headers* = _false_ for this message only. |
| 355 |
|
| 356 |
*-s*: Skips the editor and goes directly to the review screen. |
| 357 |
|
| 358 |
*:copy* [*-dp*] [*-a* _<account>_] [*-m* _<strategy>_] _<folder>_++ |
| 359 |
*:cp* [*-dp*] [*-a* _<account>_] [*-m* _<strategy>_] _<folder>_ |
| 360 |
Copies the selected message(s) to _<folder>_. |
| 361 |
|
| 362 |
*-d*: Decrypt the message before copying. |
| 363 |
|
| 364 |
*-p*: Create _<folder>_ if it does not exist. |
| 365 |
|
| 366 |
*-a*: Copy to _<folder>_ of _<account>_. If _<folder>_ does |
| 367 |
not exist, it will be created whether or not *-p* is used. |
| 368 |
|
| 369 |
*-m*: Set the multi-file strategy. See *aerc-notmuch*(5) for more details. |
| 370 |
|
| 371 |
*:decline* [*-e*|*-E*] [*-s*] |
| 372 |
Declines an iCalendar meeting invitation. |
| 373 |
|
| 374 |
*-e*: Forces *[compose].edit-headers* = _true_ for this message only. |
| 375 |
|
| 376 |
*-E*: Forces *[compose].edit-headers* = _false_ for this message only. |
| 377 |
|
| 378 |
*-s*: Skips the editor and goes directly to the review screen. |
| 379 |
|
| 380 |
*:delete* [*-m* _<strategy>_]++ |
| 381 |
*:delete-message* [*-m* _<strategy>_] |
| 382 |
Deletes the selected message. |
| 383 |
|
| 384 |
*-m*: Set the multi-file strategy. See *aerc-notmuch*(5) for more details. |
| 385 |
|
| 386 |
*:envelope* [*-h*] [*-s* _<format-specifier>_] |
| 387 |
Opens the message envelope in a dialog popup. |
| 388 |
|
| 389 |
*-h*: Show all header fields |
| 390 |
|
| 391 |
*-s* _<format-specifier>_ |
| 392 |
User-defined format specifier requiring two _%s_ for the key and |
| 393 |
value strings. Default format: _%-20.20s: %s_ |
| 394 |
|
| 395 |
*:recall* [*-f*] [*-e*|*-E*] [*-s*] |
| 396 |
Opens the selected message for re-editing. Messages can only be |
| 397 |
recalled from the postpone directory. |
| 398 |
|
| 399 |
*-f*: Open the message for re-editing even if it is not in the postpone |
| 400 |
directory. Aerc remembers the folder, so the further *:postpone* call will |
| 401 |
save the message back there. |
| 402 |
|
| 403 |
*-e*: Forces *[compose].edit-headers* = _true_ for this message only. |
| 404 |
|
| 405 |
*-E*: Forces *[compose].edit-headers* = _false_ for this message only. |
| 406 |
|
| 407 |
*-s*: Skips the editor and goes directly to the review screen. |
| 408 |
|
| 409 |
Original recalled messages are deleted if they are sent or postponed again. |
| 410 |
In both cases you have another copy of the message somewhere. Otherwise the |
| 411 |
recalled message is left intact. This happens if the recalled message is |
| 412 |
discarded after editing. It can be deleted with *:rm* if it is not needed. |
| 413 |
|
| 414 |
*:forward* [*-A*|*-F*] [*-T* _<template-file>_] [*-x* _<account>_] [*-e*|*-E*] [*-s*] [_<address>_...] |
| 415 |
Opens the composer to forward the selected message to another recipient. |
| 416 |
|
| 417 |
*-A*: Forward the message and all attachments. |
| 418 |
|
| 419 |
*-F*: Forward the full message as an RFC 2822 attachment. |
| 420 |
|
| 421 |
*-T* _<template-file>_ |
| 422 |
Use the specified template file for creating the initial |
| 423 |
message body. Unless *-F* is specified, this defaults to what |
| 424 |
is set as *forwards* in the *[templates]* section of |
| 425 |
_aerc.conf_. |
| 426 |
|
| 427 |
*-x*: _<account>_ |
| 428 |
Forward with the specified account instead of the current one. |
| 429 |
|
| 430 |
*-e*: Forces *[compose].edit-headers* = _true_ for this message only. |
| 431 |
|
| 432 |
*-E*: Forces *[compose].edit-headers* = _false_ for this message only. |
| 433 |
|
| 434 |
*-s*: Skips the editor and goes directly to the review screen. |
| 435 |
|
| 436 |
*:move* [*-p*] [*-a* _<account>_] [*-m* _<strategy>_] _<folder>_++ |
| 437 |
*:mv* [*-p*] [*-a* _<account>_] [*-m* _<strategy>_] _<folder>_ |
| 438 |
Moves the selected message(s) to _<folder>_. |
| 439 |
|
| 440 |
*-p*: Create _<folder>_ if it does not exist. |
| 441 |
|
| 442 |
*-a*: Move to _<folder>_ of _<account>_. If _<folder>_ does |
| 443 |
not exist, it will be created whether or not *-p* is used. |
| 444 |
|
| 445 |
*-m*: Set the multi-file strategy. See *aerc-notmuch*(5) for more details. |
| 446 |
|
| 447 |
*:patch* _<args ...>_ |
| 448 |
Patch management sub-commands. See *aerc-patch*(7) for more details. |
| 449 |
|
| 450 |
*:pipe* [*-bdmps*] _<cmd>_ |
| 451 |
Downloads and pipes the selected message into the given shell command |
| 452 |
(executed with _sh -c "<cmd>"_), and opens a new terminal tab to show |
| 453 |
the result. By default, the selected message part is used in the message |
| 454 |
viewer and the full message is used in the message list. In the compose |
| 455 |
review mode, pipes the composed message that is about to be sent. |
| 456 |
|
| 457 |
Operates on multiple messages when they are marked. When piping multiple |
| 458 |
messages, aerc will write them with mbox format separators. |
| 459 |
|
| 460 |
*-b*: Run the command in the background instead of opening a terminal tab |
| 461 |
|
| 462 |
*-d*: Pipe the (full) message but decrypt it first. |
| 463 |
|
| 464 |
*-m*: Pipe the full message |
| 465 |
|
| 466 |
*-p*: Pipe just the selected message part, if applicable |
| 467 |
|
| 468 |
*-s*: Silently close the terminal tab after the command is completed |
| 469 |
|
| 470 |
This can be used to apply patch series with git: |
| 471 |
|
| 472 |
*:pipe -m* _git am -3_ |
| 473 |
|
| 474 |
When at least one marked message subject matches a patch series (e.g. |
| 475 |
_[PATCH X/Y]_), all marked messages will be sorted by subject to ensure |
| 476 |
that the patches are applied in order. |
| 477 |
|
| 478 |
*:reply* [*-acflqs*] [*-T* _<template-file>_] [*-A* _<account>_] [*-e*|*-E*] |
| 479 |
Opens the composer to reply to the selected message. |
| 480 |
|
| 481 |
*-a*: Reply all |
| 482 |
|
| 483 |
*-c*: Close the view tab when replying. If the reply is not sent, reopen |
| 484 |
the view tab. |
| 485 |
|
| 486 |
*-f*: Reply to all addresses in From and Reply-To headers. |
| 487 |
|
| 488 |
*-l*: Reply to the mailing list in *List-Post* header. |
| 489 |
|
| 490 |
*-q*: Insert a quoted version of the selected message into the reply |
| 491 |
editor. This defaults to what is set as *quoted-reply* in the *[templates]* |
| 492 |
section of _aerc.conf_. |
| 493 |
|
| 494 |
*-s*: Skip opening the text editor and go directly to the review screen. |
| 495 |
|
| 496 |
*-T* _<template-file>_ |
| 497 |
Use the specified template file for creating the initial |
| 498 |
message body. |
| 499 |
|
| 500 |
*-A* _<account>_ |
| 501 |
Reply with the specified account instead of the current one. |
| 502 |
|
| 503 |
*-e*: Forces *[compose].edit-headers* = _true_ for this message only. |
| 504 |
|
| 505 |
*-E*: Forces *[compose].edit-headers* = _false_ for this message only. |
| 506 |
|
| 507 |
*:read* [*-t*] |
| 508 |
Marks the marked or selected messages as read. |
| 509 |
|
| 510 |
*-t*: Toggle the messages between read and unread. |
| 511 |
|
| 512 |
*:unread* [*-t*] |
| 513 |
Marks the marked or selected messages as unread. |
| 514 |
|
| 515 |
*-t*: Toggle the messages between read and unread. |
| 516 |
|
| 517 |
*:flag* [*-t*] [*-a*] [*-f*] [*-x* _<flag>_] |
| 518 |
Sets (enables) a certain flag on the marked or selected messages. |
| 519 |
|
| 520 |
*-t*: Toggle the flag instead of setting (enabling) it. |
| 521 |
|
| 522 |
*-a*: Mark message as answered/unanswered. |
| 523 |
|
| 524 |
*-f*: Mark message as forwarded/not-forwarded. |
| 525 |
|
| 526 |
*-x* _<flag>_: Mark message with specific flag. |
| 527 |
The available flags are (adapted from RFC 3501, section 2.3.2): |
| 528 |
|
| 529 |
_seen_ |
| 530 |
Message has been read |
| 531 |
_answered_ |
| 532 |
Message has been answered |
| 533 |
_forwarded_ |
| 534 |
Message has been forwarded |
| 535 |
_flagged_ |
| 536 |
Message is flagged for urgent/special attention |
| 537 |
_draft_ |
| 538 |
Message is a draft |
| 539 |
|
| 540 |
(Arbitrary IMAP keyword flags are managed using *:modify-labels* / *:tag*.) |
| 541 |
|
| 542 |
*:unflag* [*-t*] [*-a*] [*-f*] [*-x* _<flag>_] |
| 543 |
Operates exactly like *:flag*, defaulting to unsetting (disabling) flags. |
| 544 |
|
| 545 |
*:modify-labels* [_+_|_-_|_!_]_<label>_...++ |
| 546 |
*:tag* [_+_|_-_|_!_]_<label>_... |
| 547 |
Modify message labels (e.g. IMAP and notmuch tags, GMail or Proton labels). |
| 548 |
Labels prefixed with a *+* are added, those prefixed with a *-* are |
| 549 |
removed and those prefixed with a *!* are toggled (toggling is not |
| 550 |
supported for IMAP, GMail nor Proton). As a convenience, labels without either |
| 551 |
operand add the specified label. |
| 552 |
|
| 553 |
Example: add _inbox_ and _unread_ labels, remove _spam_ label. |
| 554 |
|
| 555 |
*:modify-labels* _+inbox_ _-spam_ _unread_ |
| 556 |
|
| 557 |
*:unsubscribe* [*-e*|*-E*] [*-s*] |
| 558 |
Attempt to automatically unsubscribe the user from the mailing list through |
| 559 |
use of the List-Unsubscribe header. If supported, aerc may open a compose |
| 560 |
window pre-filled with the unsubscribe information or open the unsubscribe |
| 561 |
URL in a web browser. |
| 562 |
|
| 563 |
*-e*: Forces *[compose].edit-headers* = _true_ for this message only. |
| 564 |
|
| 565 |
*-E*: Forces *[compose].edit-headers* = _false_ for this message only. |
| 566 |
|
| 567 |
*-s*: Skips the editor and goes directly to the review screen. |
| 568 |
|
| 569 |
## MESSAGE LIST COMMANDS |
| 570 |
|
| 571 |
*:align* _top|center|bottom_ |
| 572 |
Aligns the selected message. The available positions are: |
| 573 |
|
| 574 |
_top_: Top of the message list.++ |
| 575 |
_center_: Center of the message list.++ |
| 576 |
_bottom_: Bottom of the message list. |
| 577 |
|
| 578 |
*:disconnect*++ |
| 579 |
*:connect* |
| 580 |
Disconnect or reconnect the current account. This only applies to |
| 581 |
certain email sources. |
| 582 |
|
| 583 |
*:clear* [*-s*] |
| 584 |
Clears the current search or filter criteria. |
| 585 |
|
| 586 |
By default, the selected message will be kept. To clear the selected |
| 587 |
message and move cursor to the top of the message list, use the *-s* flag. |
| 588 |
|
| 589 |
*-s*: Selects the message at the top of the message list after clearing. |
| 590 |
|
| 591 |
*:cf* [*-a* _<account>_] _<folder>_ |
| 592 |
Change the folder shown in the message list to _<folder>_. |
| 593 |
|
| 594 |
*-a* _<account>_ |
| 595 |
Change to _<folder>_ of _<account>_ and focus its corresponding |
| 596 |
tab. |
| 597 |
|
| 598 |
*:check-mail* |
| 599 |
Check for new mail on the selected account. Non-IMAP backends require |
| 600 |
check-mail-cmd to be set in order for aerc to initiate a check for new mail. |
| 601 |
Issuing a manual *:check-mail* command will reset the timer for automatic checking. |
| 602 |
|
| 603 |
*:compose* [*-H* _"<header>: <value>"_] [*-T* _<template-file>_] [*-e*|*-E*] [*-s*] [_<body>_] |
| 604 |
Open the compose window to send a new email. The new email will be sent with |
| 605 |
the current account's outgoing transport configuration. For details on |
| 606 |
configuring outgoing mail delivery consult *aerc-accounts*(5). |
| 607 |
|
| 608 |
*-H* _"<header>: <value>"_ |
| 609 |
Add the specified header to the message, e.g: |
| 610 |
|
| 611 |
*:compose -H* _"X-Custom: custom value"_ |
| 612 |
|
| 613 |
*-T* _<template-file>_ |
| 614 |
Use the specified template file for creating the initial |
| 615 |
message body. |
| 616 |
|
| 617 |
*-e*: Forces *[compose].edit-headers* = _true_ for this message only. |
| 618 |
|
| 619 |
*-E*: Forces *[compose].edit-headers* = _false_ for this message only. |
| 620 |
|
| 621 |
*-s*: Skips the editor and goes directly to the review screen. |
| 622 |
|
| 623 |
_<body>_: The initial message body. |
| 624 |
|
| 625 |
*:bounce* [*-A* _<account>_] _<address>_ [_<address>_...]++ |
| 626 |
*:resend* [*-A* _<account>_] _<address>_ [_<address>_...] |
| 627 |
Bounce the selected message or all marked messages to the specified addresses, |
| 628 |
optionally using the specified account. This forwards the message while |
| 629 |
preserving all the existing headers. The new sender (*From*), date (*Date*), |
| 630 |
*Message-ID* and recipients (*To*) are prepended to the headers with the *Resent-* |
| 631 |
prefix. For more information please refer to section 3.6.6 of RFC 2822. Note |
| 632 |
that the bounced message is not copied over to the *sent* folder. |
| 633 |
|
| 634 |
Also please note that some providers (notably for instance Microsoft's |
| 635 |
O365) do not allow sending messages with the *From* header not matching |
| 636 |
any of the account's identities (even if *Resent-From* matches some). |
| 637 |
|
| 638 |
*:recover* [*-f*] [*-e*|*-E*] _<file>_ |
| 639 |
Resume composing a message that was not sent nor postponed. The file may |
| 640 |
not contain header data unless *[compose].edit-headers* was enabled when |
| 641 |
originally composing the aborted message. |
| 642 |
|
| 643 |
*-f*: Delete the _<file>_ after opening the composer. |
| 644 |
|
| 645 |
*-e*: Forces *[compose].edit-headers* = _true_ for this message only. |
| 646 |
|
| 647 |
*-E*: Forces *[compose].edit-headers* = _false_ for this message only. |
| 648 |
|
| 649 |
*:filter* [_<options>_] _<terms>_... |
| 650 |
Similar to *:search*, but filters the displayed messages to only the search |
| 651 |
results. The search syntax is dependent on the underlying backend. |
| 652 |
Refer to *aerc-search*(1) for details. |
| 653 |
|
| 654 |
*:mkdir* _<name>_ |
| 655 |
Creates a new folder for this account and changes to that folder. |
| 656 |
|
| 657 |
*:rmdir* [*-f*] [_<folder>_] |
| 658 |
Removes the folder _<folder>_, or the current folder if not specified. |
| 659 |
|
| 660 |
By default, it will fail if the directory is non-empty (see *-f*). |
| 661 |
|
| 662 |
*-f* |
| 663 |
Remove the directory even if it contains messages. |
| 664 |
|
| 665 |
Some programs that sync maildirs may recover deleted directories (e.g. |
| 666 |
*offlineimap*). These can either be specially configured to properly |
| 667 |
handle directory deletion, or special commands need to be run to delete |
| 668 |
directories (e.g. _offlineimap --delete-folder_). |
| 669 |
|
| 670 |
It is possible, with a slow connection and the IMAP backend, that new |
| 671 |
messages arrive in the directory before they show up - using *:rmdir* at |
| 672 |
this moment would delete the directory and such new messages before the |
| 673 |
user sees them. |
| 674 |
|
| 675 |
*:next* _<n>_[_%_]++ |
| 676 |
*:next-message* _<n>_[_%_]++ |
| 677 |
*:prev* _<n>_[_%_]++ |
| 678 |
*:prev-message* _<n>_[_%_] |
| 679 |
Selects the next (or previous) message in the message list. If specified as |
| 680 |
a percentage, the percentage is applied to the number of messages shown on |
| 681 |
screen and the cursor advances that far. |
| 682 |
|
| 683 |
*:next-folder* [*-u*] _<n>_++ |
| 684 |
*:prev-folder* [*-u*] _<n>_ |
| 685 |
Cycles to the next (or previous) folder shown in the sidebar, repeated |
| 686 |
_<n>_ times (default: _1_). |
| 687 |
|
| 688 |
*-u* |
| 689 |
Cycles to the next (or previous) folder shown in the sidebar with unseen |
| 690 |
emails. |
| 691 |
|
| 692 |
*:expand-folder* [_<folder>_]++ |
| 693 |
*:collapse-folder* [_<folder>_]++ |
| 694 |
*:toggle-folder* [_<folder>_] |
| 695 |
Expands, collapses, or toggles a folder when the directory tree is enabled. |
| 696 |
If no _<folder>_ argument is specified, the currently selected folder is |
| 697 |
acted upon. |
| 698 |
|
| 699 |
*:export-mbox* _<file>_ |
| 700 |
Exports messages in the current folder to an mbox file. If there are marked |
| 701 |
messages in the folder, only the marked ones are exported. Otherwise the |
| 702 |
whole folder is exported. |
| 703 |
|
| 704 |
*:import-mbox* _<path>_ |
| 705 |
Imports all messages from an (gzipped) mbox file to the current folder. |
| 706 |
_<path>_ can either be a path to a file or an URL. |
| 707 |
|
| 708 |
Examples: |
| 709 |
|
| 710 |
``` |
| 711 |
:import-mbox ~/messages.mbox |
| 712 |
:import-mbox https://lists.sr.ht/~rjarry/aerc-devel/patches/55634/mbox |
| 713 |
:import-mbox https://lore.kernel.org/all/[email protected]/t.mbox.gz |
| 714 |
``` |
| 715 |
|
| 716 |
*:next-result*++ |
| 717 |
*:prev-result* |
| 718 |
Selects the next or previous search result. |
| 719 |
|
| 720 |
*:query* [*-a* _<account>_] [*-n* _name_] [*-f*] _<notmuch query>_ |
| 721 |
Create a virtual folder using the specified top-level notmuch query. This |
| 722 |
command is exclusive to the notmuch backend. |
| 723 |
|
| 724 |
*-a* _<account>_ |
| 725 |
Change to _<folder>_ of _<account>_ and focus its corresponding |
| 726 |
tab. |
| 727 |
|
| 728 |
*-n* _<name>_ |
| 729 |
Specify the display name for the virtual folder. If not provided, |
| 730 |
_<notmuch query>_ is used as the display name. |
| 731 |
|
| 732 |
*-f* |
| 733 |
Load the query results into an already existing folder (messages |
| 734 |
in the original folder are not deleted). |
| 735 |
|
| 736 |
*:search* [_<options>_] _<terms>_... |
| 737 |
Searches the current folder for messages matching the given set of |
| 738 |
conditions. The search syntax is dependent on the underlying backend. |
| 739 |
Refer to *aerc-search*(1) for details. |
| 740 |
|
| 741 |
*:select* _<n>_++ |
| 742 |
*:select-message* _<n>_ |
| 743 |
Selects the _<n>_\th message in the message list (and scrolls it into |
| 744 |
view if necessary). |
| 745 |
|
| 746 |
*:hsplit* [[_+_|_-_]_<n>_] |
| 747 |
*:split* [[_+_|_-_]_<n>_] |
| 748 |
Creates a horizontal split, showing _<n>_ messages and a message view |
| 749 |
below the message list. If a _+_ or _-_ is prepended, the message list |
| 750 |
size will grow or shrink accordingly. The split can be cleared by |
| 751 |
calling *:[h]split* _0_, or just *:[h]split*. The split can be toggled |
| 752 |
by calling split with the same (absolute) size repeatedly. For example, |
| 753 |
*:[h]split* _10_ will create a split. Calling *:[h]split* _10_ again |
| 754 |
will remove the split. If not specified, _<n>_ is set to an estimation |
| 755 |
based on the user's terminal. Also see *:vsplit*. |
| 756 |
|
| 757 |
*:sort* [[*-r*] _<criterion>_]... |
| 758 |
Sorts the message list by the given criteria. *-r* sorts the |
| 759 |
immediately following criterion in reverse order. |
| 760 |
|
| 761 |
Available criteria: |
| 762 |
|
| 763 |
[[ *Criterion* |
| 764 |
:- *Description* |
| 765 |
| _arrival_ |
| 766 |
:- Date and time of the messages arrival |
| 767 |
| _cc_ |
| 768 |
:- Addresses in the Cc field |
| 769 |
| _date_ |
| 770 |
:- Date and time of the message |
| 771 |
| _from_ |
| 772 |
:- Addresses in the From field |
| 773 |
| _read_ |
| 774 |
:- Presence of the read flag |
| 775 |
| _flagged_ |
| 776 |
:- Presence of the flagged flag |
| 777 |
| _size_ |
| 778 |
:- Size of the message |
| 779 |
| _subject_ |
| 780 |
:- Subject of the message |
| 781 |
| _to_ |
| 782 |
:- Addresses in the To field |
| 783 |
|
| 784 |
*:toggle-threads* |
| 785 |
Toggles between message threading and the normal message list. |
| 786 |
|
| 787 |
*:toggle-sidebar* |
| 788 |
Toggles the sidebar on or off. |
| 789 |
|
| 790 |
*:fold* [*-at*]++ |
| 791 |
*:unfold* [*-at*] |
| 792 |
Collapse or un-collapse the thread children of the selected message. |
| 793 |
If the toggle flag *-t* is set, the folded status is changed. If the |
| 794 |
*-a* flag is set, all threads in the current view are affected. Folded |
| 795 |
threads can be identified by _{{.Thread\*}}_ template attributes |
| 796 |
in *[ui].index-columns*. See *aerc-config*(5) and *aerc-templates*(7) |
| 797 |
for more details. |
| 798 |
|
| 799 |
*:toggle-thread-context* |
| 800 |
Toggles between showing entire thread and only showing messages which |
| 801 |
match the current query / mailbox. Thread context is currently only |
| 802 |
supported by the notmuch backend. |
| 803 |
|
| 804 |
*:view* [*-pb*]++ |
| 805 |
*:view-message* [*-pb*] |
| 806 |
Opens the message viewer to display the selected message. If the peek |
| 807 |
flag *-p* is set, the message will not be marked as seen and ignores the |
| 808 |
*auto-mark-read* config. If the background flag *-b* is set, the message |
| 809 |
will be opened in a background tab. |
| 810 |
|
| 811 |
*:vsplit* [[_+_|_-_]_<n>_] |
| 812 |
Creates a vertical split of the message list. The message list will be |
| 813 |
_<n>_ columns wide, and a vertical message view will be shown to the |
| 814 |
right of the message list. If a _+_ or _-_ is prepended, the message |
| 815 |
list size will grow or shrink accordingly. The split can be cleared by |
| 816 |
calling *:vsplit* _0_, or just *:vsplit*. The split can be toggled by |
| 817 |
calling split with the same (absolute) size repeatedly. For example, |
| 818 |
*:vsplit* _10_ will create a split. Calling *:vsplit* _10_ again will |
| 819 |
remove the split. If not specified, _<n>_ is set to an estimation based |
| 820 |
on the user's terminal. Also see *:split*. |
| 821 |
|
| 822 |
## MESSAGE VIEW COMMANDS |
| 823 |
|
| 824 |
*:close* |
| 825 |
Closes the message viewer. |
| 826 |
|
| 827 |
*:next* _<n>_[_%_]++ |
| 828 |
*:prev* _<n>_[_%_] |
| 829 |
Selects the next (or previous) message in the message list. If specified as |
| 830 |
a percentage, the percentage is applied to the number of messages shown on |
| 831 |
screen and the cursor advances that far. |
| 832 |
|
| 833 |
*:next-part*++ |
| 834 |
*:prev-part* |
| 835 |
Cycles between message parts being shown. The list of message parts is shown |
| 836 |
at the bottom of the message viewer. |
| 837 |
|
| 838 |
*:open* [*-d*] [_<args...>_] |
| 839 |
Saves the current message part to a temporary file, then opens it. If no |
| 840 |
arguments are provided, it will open the current MIME part with the |
| 841 |
matching command in the *[openers]* section of _aerc.conf_. When no match |
| 842 |
is found in *[openers]*, it falls back to the default system handler. |
| 843 |
|
| 844 |
*-d*: Delete the temporary file after the opener exits |
| 845 |
|
| 846 |
When arguments are provided: |
| 847 |
|
| 848 |
- The first argument must be the program to open the message part with. |
| 849 |
Subsequent args are passed to that program. |
| 850 |
- _{}_ will be expanded as the temporary filename to be opened. If it is |
| 851 |
not encountered in the arguments, the temporary filename will be |
| 852 |
appended to the end of the command. |
| 853 |
|
| 854 |
*:copy-link* _<url>_ |
| 855 |
Copy the specified URL to the system clipboard. This uses the OSC52 |
| 856 |
escape sequence which must be supported by the terminal. |
| 857 |
|
| 858 |
*:open-link* _<url>_ [_<args...>_] |
| 859 |
Open the specified URL with an external program. The opening logic is |
| 860 |
the same as for *:open* but the opener program will be looked up |
| 861 |
according to the URL scheme MIME type: _x-scheme-handler/<scheme>_. |
| 862 |
|
| 863 |
*:save* [*-fpaA*] _<path>_ |
| 864 |
Saves the current message part to the given path. |
| 865 |
If the path is not an absolute path, *[general].default-save-path* from |
| 866 |
_aerc.conf_ will be prepended to the path given. |
| 867 |
If path ends in a trailing slash or if a folder exists on disc or if *-a* |
| 868 |
is specified, aerc assumes it to be a directory. |
| 869 |
When passed a directory *:save* infers the filename from the mail part if |
| 870 |
possible, or if that fails, uses _aerc\_$DATE_. |
| 871 |
|
| 872 |
*-f*: Overwrite the destination whether or not it exists |
| 873 |
|
| 874 |
*-p*: Create any directories in the path that do not exist |
| 875 |
|
| 876 |
*-a*: Save all attachments. Individual filenames cannot be specified. |
| 877 |
|
| 878 |
*-A*: Same as *-a* but saves all the named parts, not just attachments. |
| 879 |
|
| 880 |
*:mark* [*-atuUvVTsr*] _<filter>_ |
| 881 |
Marks messages. Commands will execute on all marked messages instead of the |
| 882 |
highlighted one if applicable. The flags below can be combined as |
| 883 |
needed. The existence of a filter implies *-a* unless *-T* has been |
| 884 |
specified. |
| 885 |
|
| 886 |
*-a*: Apply to all messages in the current folder |
| 887 |
|
| 888 |
*-t*: toggle the mark state instead of marking a message |
| 889 |
|
| 890 |
*-v*: Enter / leave visual mark mode |
| 891 |
|
| 892 |
*-V*: Same as *-v* but does not clear existing selection |
| 893 |
|
| 894 |
*-T*: Marks the displayed message thread of the selected message. |
| 895 |
|
| 896 |
*-s*: apply the filter to the From: header (does not work with *-v* or *-V*) |
| 897 |
|
| 898 |
*-r*: apply the filter to the To:, Cc:, Bcc: headers (does not work with |
| 899 |
*-v* or *-V*) |
| 900 |
|
| 901 |
*-u*: mark unread messages. Can be combined with other filters. |
| 902 |
|
| 903 |
*-U*: mark read messages. Can be combined with other filters. |
| 904 |
|
| 905 |
*:unmark* [*-atTsr*] _<filter>_ |
| 906 |
Unmarks messages. The flags below can be combined as needed. The |
| 907 |
existence of a filter implies *-a* unless *-T* has been specified. |
| 908 |
|
| 909 |
*-a*: Apply to all messages in the current folder |
| 910 |
|
| 911 |
*-t*: toggle the mark state instead of unmarking a message |
| 912 |
|
| 913 |
*-T*: Marks the displayed message thread of the selected message. |
| 914 |
|
| 915 |
*-s*: apply the filter to the From: header (does not work with *-v* or *-V*) |
| 916 |
|
| 917 |
*-r*: apply the filter to the To:, Cc:, Bcc: headers (does not work with |
| 918 |
*-v* or *-V*) |
| 919 |
|
| 920 |
*:remark* |
| 921 |
Re-select the last set of marked messages. Can be used to chain commands |
| 922 |
after a selection has been acted upon |
| 923 |
|
| 924 |
*:toggle-headers* |
| 925 |
Toggles the visibility of the message headers. |
| 926 |
|
| 927 |
*:toggle-key-passthrough* |
| 928 |
Enter or exit the *[view::passthrough]* key bindings context. See |
| 929 |
*aerc-binds*(5) for more details. |
| 930 |
|
| 931 |
## MESSAGE COMPOSE COMMANDS |
| 932 |
|
| 933 |
*:abort* |
| 934 |
Close the composer without sending, discarding the message in progress. |
| 935 |
|
| 936 |
If the text editor exits with an error (e.g. *:cq* in *vim*(1)), the |
| 937 |
message is immediately discarded. |
| 938 |
|
| 939 |
*:attach* _<path>_++ |
| 940 |
*:attach* *-m* [_<arg>_]++ |
| 941 |
*:attach* *-r* <name> <cmd> |
| 942 |
Attaches the file at the given path to the email. The path can contain |
| 943 |
globbing syntax described at https://godocs.io/path/filepath#Match. |
| 944 |
|
| 945 |
*-m* [_<arg>_] |
| 946 |
Runs the *file-picker-cmd* to select files to be attached. |
| 947 |
Requires an argument when *file-picker-cmd* contains the _%s_ verb. |
| 948 |
|
| 949 |
*-r* <name> <cmd> |
| 950 |
Runs the <cmd>, reads its output and attaches it as <name>. The |
| 951 |
attachment MIME type is derived from the <name>'s extension. |
| 952 |
|
| 953 |
*:attach-key* |
| 954 |
Attaches the public key for the configured account to the email. |
| 955 |
|
| 956 |
*:detach* [_<path>_] |
| 957 |
Detaches the file with the given path from the composed email. If no path is |
| 958 |
specified, detaches the first attachment instead. The path can contain |
| 959 |
globbing syntax described at https://godocs.io/path/filepath#Match. |
| 960 |
|
| 961 |
*:cc* _<addresses>_++ |
| 962 |
*:bcc* _<addresses>_ |
| 963 |
Sets the Cc or Bcc header to the given addresses. If an editor for the header |
| 964 |
is not currently visible in the compose window, a new one will be added. |
| 965 |
|
| 966 |
*:edit* [*-e*|*-E*] |
| 967 |
(Re-)opens your text editor to edit the message in progress. This will |
| 968 |
also allow editing the message headers. Only available from the review |
| 969 |
screen. |
| 970 |
|
| 971 |
*-e*: Forces *[compose].edit-headers* = _true_ for this message only. |
| 972 |
|
| 973 |
*-E*: Forces *[compose].edit-headers* = _false_ for this message only. |
| 974 |
|
| 975 |
*:multipart* [*-d*] _<mime/type>_ |
| 976 |
Converts the message to multipart/alternative and adds the specified |
| 977 |
_<mime/type>_ part. Only the MIME types that are configured in the |
| 978 |
*[multipart-converters]* section of _aerc.conf_ are supported and their |
| 979 |
related commands will be used to generate the alternate part. |
| 980 |
|
| 981 |
*-d*: |
| 982 |
Remove the specified alternative _<mime/type>_ instead of |
| 983 |
adding it. If no alternative parts are left, make the message |
| 984 |
text/plain (i.e. not multipart/alternative). |
| 985 |
|
| 986 |
*:next-field*++ |
| 987 |
*:prev-field* |
| 988 |
Cycles between input fields in the compose window. Only available when |
| 989 |
the text editor is visible and *[compose].edit-headers* = _false_. |
| 990 |
|
| 991 |
*:postpone* [*-t* _<folder>_] |
| 992 |
Saves the current state of the message to the *postpone* folder (from |
| 993 |
_accounts.conf_) for the current account by default. Only available from |
| 994 |
the review screen. |
| 995 |
|
| 996 |
*-t*: Overrides the target folder for saving the message |
| 997 |
|
| 998 |
If the message was force-recalled with *:recall -f* from a different folder, |
| 999 |
the *:postpone* command will save it back to that folder instead of the |
| 1000 |
default *postpone* folder configured in settings. Use *-t* to override that |
| 1001 |
or use *:mv* to move the saved message to a different folder. |
| 1002 |
|
| 1003 |
*:send* [*-a* _<scheme>_] [*-t* _<folder>_] [*-r*|*-R*] [*--dsn*] |
| 1004 |
Sends the message using this accounts default outgoing transport |
| 1005 |
configuration. For details on configuring outgoing mail delivery consult |
| 1006 |
*aerc-accounts*(5). Only available from the review screen. |
| 1007 |
|
| 1008 |
*-a*: Archive the message being replied to. See *:archive* for schemes. |
| 1009 |
|
| 1010 |
*-t*: Overrides the Copy-To folder for saving the message. |
| 1011 |
|
| 1012 |
*-r*: Also save the sent message to the folder of the message being |
| 1013 |
replied to. |
| 1014 |
|
| 1015 |
*-R*: Do not save the sent message to the folder of the message being |
| 1016 |
replied to (overrides *copy-to-replied* account setting). |
| 1017 |
|
| 1018 |
*--dsn*: Request delivery status notification from the server. This |
| 1019 |
will request notification on successful delivery, delayed delivery, |
| 1020 |
and delivery failure. |
| 1021 |
|
| 1022 |
*:switch-account* _<account-name>_++ |
| 1023 |
*:switch-account* *-n*++ |
| 1024 |
*:switch-account* *-p* |
| 1025 |
Switches the account. Can be used to switch to a specific account from |
| 1026 |
its name or to cycle through accounts using the *-p* and *-n* flags. |
| 1027 |
|
| 1028 |
*-p*: switch to previous account |
| 1029 |
|
| 1030 |
*-n*: switch to next account |
| 1031 |
|
| 1032 |
*:header* [*-f*] _<name>_ [_<value>_] |
| 1033 |
*:header* [*-d*] _<name>_ |
| 1034 |
Add a new email header to the compose window. If the header is already |
| 1035 |
set and is not empty, *-f* must be used to overwrite its value. |
| 1036 |
|
| 1037 |
*-f*: Overwrite any existing header. |
| 1038 |
|
| 1039 |
*-d*: Remove the header instead of adding it. |
| 1040 |
|
| 1041 |
*:encrypt* |
| 1042 |
Encrypt the message to all recipients. If a key for a recipient cannot |
| 1043 |
be found the message will not be encrypted. |
| 1044 |
|
| 1045 |
*:sign* |
| 1046 |
Sign the message using the account's default key. If *pgp-key-id* is set |
| 1047 |
in _accounts.conf_ (see *aerc-accounts*(5)), it will be used in |
| 1048 |
priority. Otherwise, the *From* header address will be used to look for |
| 1049 |
a matching private key in the pgp keyring. |
| 1050 |
|
| 1051 |
## TERMINAL COMMANDS |
| 1052 |
|
| 1053 |
*:close* |
| 1054 |
Closes the terminal. |
| 1055 |
|
| 1056 |
# LOGGING |
| 1057 |
|
| 1058 |
Aerc does not log by default, but collecting log output can be useful for |
| 1059 |
troubleshooting and reporting issues. Redirecting stdout when invoking aerc will |
| 1060 |
write log messages to that file: |
| 1061 |
|
| 1062 |
$ aerc > aerc.log |
| 1063 |
|
| 1064 |
Persistent logging can be configured via the *log-file* and *log-level* settings |
| 1065 |
in _aerc.conf_. |
| 1066 |
|
| 1067 |
# SEE ALSO |
| 1068 |
|
| 1069 |
*aerc-config*(5) *aerc-imap*(5) *aerc-jmap*(5) *aerc-notmuch*(5) *aerc-smtp*(5) |
| 1070 |
*aerc-maildir*(5) *aerc-sendmail*(5) *aerc-search*(1) *aerc-stylesets*(7) |
| 1071 |
*aerc-templates*(7) *aerc-accounts*(5) *aerc-binds*(5) *aerc-tutorial*(7) |
| 1072 |
*aerc-patch*(7) |
| 1073 |
|
| 1074 |
# AUTHORS |
| 1075 |
|
| 1076 |
Originally created by Drew DeVault and maintained by Robin Jarry who is assisted |
| 1077 |
by other open source contributors. For more information about aerc development, |
| 1078 |
see _https://sr.ht/~rjarry/aerc/_. |