2019-05-17 19:45:20 +02:00
|
|
|
aerc(1)
|
|
|
|
|
|
|
|
# NAME
|
|
|
|
|
|
|
|
aerc - the world's best email client
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
2022-09-07 08:31:12 +02:00
|
|
|
_aerc_ [-v] [-a <account-name[,account-name]>] [mailto:...]
|
2019-05-17 19:45:20 +02:00
|
|
|
|
2019-06-05 02:32:05 +02:00
|
|
|
For a guided tutorial, use *:help tutorial* from aerc, or *man aerc-tutorial*
|
|
|
|
from your terminal.
|
2019-05-17 19:45:20 +02:00
|
|
|
|
2019-06-18 15:42:41 +02:00
|
|
|
# OPTIONS
|
|
|
|
|
|
|
|
*-v*
|
|
|
|
Prints the installed version of aerc and exits.
|
|
|
|
|
2022-08-22 17:38:24 +02:00
|
|
|
*-a <account-name[,account-name]>*
|
|
|
|
Load only the named accounts, as opposed to all configured accounts.
|
|
|
|
List must be comma separated, with no spaces. The account order will be
|
|
|
|
preserved.
|
|
|
|
|
2022-07-05 21:44:32 +02:00
|
|
|
*mailto:address[,address][?query[&query]]*
|
|
|
|
Opens the composer with the address(es) in the "to" field. These
|
|
|
|
addresses must not be percent encoded.
|
2020-07-18 13:37:23 +02:00
|
|
|
If _aerc_ is already running, the composer is started in this instance,
|
|
|
|
otherwise _aerc_ will be started.
|
2022-07-05 21:44:32 +02:00
|
|
|
The following (optional) query parameters are supported:
|
|
|
|
|
|
|
|
[[ *Query*
|
|
|
|
:[ *Description*
|
|
|
|
| subject=<text>
|
|
|
|
: Subject line will be completed with the text
|
|
|
|
| body=<text>
|
|
|
|
: Message body will be completed with the text
|
|
|
|
| cc=<address[,address]>
|
|
|
|
: CC header will be completed with the list of addresses
|
|
|
|
| bcc=<address[,address]>
|
|
|
|
: BCC header will be completed with the list of addresses
|
|
|
|
| in-reply-to=<\<message-id\>>
|
|
|
|
: In-reply-to header will be set to the message id
|
2022-07-27 13:34:46 +02:00
|
|
|
| account=<accountname>
|
|
|
|
: Specify the account (must be in accounts.conf; default is the selected account)
|
2022-07-05 21:44:32 +02:00
|
|
|
|
|
|
|
Note that reserved characters in the queries must be percent encoded.
|
|
|
|
|
2019-05-17 19:45:20 +02:00
|
|
|
# RUNTIME COMMANDS
|
|
|
|
|
2019-05-21 22:31:04 +02:00
|
|
|
To execute a command, press ':' to bring up the command interface. Commands may
|
|
|
|
also be bound to keys, see *aerc-config*(5) for details. In some contexts, such
|
2019-07-19 18:33:10 +02:00
|
|
|
as the terminal emulator, '<c-x>' is used to bring up the command interface.
|
2019-05-17 19:45:20 +02:00
|
|
|
|
|
|
|
Different commands work in different contexts, depending on the kind of tab you
|
|
|
|
have selected.
|
|
|
|
|
2019-07-23 18:52:33 +02:00
|
|
|
Aerc stores a history of commands, which can be cycled through in command mode.
|
|
|
|
Pressing the up key cycles backwards in history, while pressing down cycles
|
|
|
|
forwards.
|
|
|
|
|
2019-05-17 19:45:20 +02:00
|
|
|
## GLOBAL COMMANDS
|
|
|
|
|
|
|
|
These commands work in any context.
|
|
|
|
|
|
|
|
*cd* <directory>
|
|
|
|
Changes aerc's current working directory.
|
|
|
|
|
2022-09-05 09:43:17 +02:00
|
|
|
*z* <directory or zoxide query>
|
|
|
|
Changes aerc's current working directory using zoxide. If zoxide is not on
|
|
|
|
*$PATH*., the command will not be registered.
|
|
|
|
|
2019-07-26 23:41:13 +02:00
|
|
|
*change-tab* [+|-]<tab name or index>
|
2022-10-13 12:15:36 +02:00
|
|
|
*ct* [+|-]<tab name or index>
|
2019-07-26 23:41:13 +02:00
|
|
|
Changes the focus to the tab with the given name. If a number is given,
|
|
|
|
it's treated as an index. If + or - is specified, the number is interpreted
|
|
|
|
as a delta from the selected tab.
|
2019-07-26 10:32:59 +02:00
|
|
|
|
2019-07-09 00:19:08 +02:00
|
|
|
*exec* <command...>
|
2020-08-01 14:25:13 +02:00
|
|
|
Executes an arbitrary command in the background. Aerc will set the
|
2020-09-16 16:30:23 +02:00
|
|
|
environment variables *$account* and *$folder* when the command is
|
2020-08-01 14:25:13 +02:00
|
|
|
executed from an Account tab or an opened message.
|
2019-07-09 00:19:08 +02:00
|
|
|
|
|
|
|
*Note*: commands executed in this way are not executed with the shell.
|
|
|
|
|
2019-05-19 20:00:02 +02:00
|
|
|
*pwd*
|
|
|
|
Displays aerc's current working directory in the status bar.
|
|
|
|
|
2019-07-19 18:45:10 +02:00
|
|
|
*set* <category>.<option> <value>
|
2020-05-20 02:48:23 +02:00
|
|
|
Changes the value of a configuration parameter at runtime. The category is
|
2019-07-19 18:45:10 +02:00
|
|
|
the name of the [heading] for the config option you wish to change, and the
|
|
|
|
option is the name of the config option. For example, to change this option:
|
|
|
|
|
2019-07-19 18:46:19 +02:00
|
|
|
\[ui]++
|
2019-07-19 18:45:10 +02:00
|
|
|
index-format=before
|
|
|
|
|
|
|
|
Use :set ui.index-format after.
|
|
|
|
|
2019-05-17 19:45:20 +02:00
|
|
|
*term* [command...]
|
2022-10-13 12:15:36 +02:00
|
|
|
*terminal*
|
2019-05-17 19:45:20 +02:00
|
|
|
Opens a new terminal tab with a shell running in the current working
|
|
|
|
directory, or the specified command.
|
|
|
|
|
2020-03-02 20:54:42 +01:00
|
|
|
*move-tab* [+|-]<index>
|
|
|
|
Moves the selected tab to the given index. If + or - is specified, the
|
|
|
|
number is interpreted as a delta from the selected tab.
|
|
|
|
|
2019-05-17 19:45:20 +02:00
|
|
|
*prev-tab* [n], *next-tab* [n]
|
|
|
|
Cycles to the previous or next tab in the list, repeating n times
|
|
|
|
(default: 1).
|
|
|
|
|
2020-11-03 17:05:20 +01:00
|
|
|
*pin-tab*
|
|
|
|
Moves the current tab to the left of all non-pinned tabs and displays
|
|
|
|
the *pinned-tab-marker* (default: `) to the left of the tab title.
|
|
|
|
|
|
|
|
*unpin-tab*
|
|
|
|
Removes the *pinned-tab-marker* from the current tab and returns the tab
|
|
|
|
to its previous location.
|
|
|
|
|
2019-08-20 03:56:12 +02:00
|
|
|
*prompt* <prompt> <command...>
|
|
|
|
Displays the prompt on the status bar, waits for user input, then appends
|
|
|
|
that input as the last argument to the command and executes it. The input is
|
|
|
|
passed as one argument to the command, unless it is empty, in which case no
|
|
|
|
extra argument is added.
|
|
|
|
|
2020-04-24 11:36:16 +02:00
|
|
|
*choose* -o <key> <text> <command> [-o <key> <text> <command>]...
|
|
|
|
Prompts the user to choose from various options.
|
|
|
|
|
2022-07-11 20:23:41 +02:00
|
|
|
*quit* [-f]
|
2022-10-13 12:15:36 +02:00
|
|
|
*exit* [-f]
|
2022-07-11 20:23:41 +02:00
|
|
|
Exits aerc. If a task is being performed that should not be interrupted
|
|
|
|
(like sending a message), a normal quit call might fail. In this case,
|
|
|
|
closing aerc can be forced with the -f option.
|
2019-05-17 19:45:20 +02:00
|
|
|
|
2019-06-09 20:59:13 +02:00
|
|
|
## MESSAGE COMMANDS
|
|
|
|
|
|
|
|
These commands are valid in any context that has a selected message (e.g. the
|
|
|
|
message list, the message in the message viewer, etc).
|
2019-05-17 19:45:20 +02:00
|
|
|
|
2019-06-08 19:41:56 +02:00
|
|
|
*archive* <scheme>
|
|
|
|
Moves the selected message to the archive. The available schemes are:
|
|
|
|
|
|
|
|
*flat*: No special structure, all messages in the archive directory
|
|
|
|
|
|
|
|
*year*: Messages are stored in folders per year
|
|
|
|
|
|
|
|
*month*: Messages are stored in folders per year and subfolders per month
|
|
|
|
|
2022-05-24 07:36:07 +02:00
|
|
|
*accept*
|
|
|
|
Accepts an iCalendar meeting invitation.
|
|
|
|
|
|
|
|
*accept-tentative*
|
|
|
|
Accepts an iCalendar meeting invitation tentatively.
|
|
|
|
|
2019-05-17 19:45:20 +02:00
|
|
|
*copy* <target>
|
2022-10-13 12:15:36 +02:00
|
|
|
*cp* <target>
|
2019-05-17 19:45:20 +02:00
|
|
|
Copies the selected message to the target folder.
|
|
|
|
|
2022-05-24 07:36:07 +02:00
|
|
|
*decline*
|
|
|
|
Declines an iCalendar meeting invitation.
|
|
|
|
|
2019-06-09 20:59:13 +02:00
|
|
|
*delete*
|
2022-10-13 12:15:36 +02:00
|
|
|
*delete-message*
|
2019-05-17 19:45:20 +02:00
|
|
|
Deletes the selected message.
|
|
|
|
|
recall: allow recalling messages from any folder
Recall fails when called outside of the "postpone" folder (usually
"Drafts"). This makes sense for postponed messages. However, sometimes
the user would like to re-edit and re-send an old, possibly sent,
message, which would serve as a basis for the new one.
This patch allows recall to work outside the postpone folder, thus
allowing for re-edition of any message.
In the original recall function, if the recalled message is found in the
"postpone" folder, once the message has been recalled, re-edited and
sent, the original draft is deleted. With this patch, when the message
is not in the "postpone" folder, the original message is not deleted.
Signed-off-by: inwit <inwit@sindominio.net>
2021-12-13 11:28:01 +01:00
|
|
|
*recall* [-f]
|
2020-04-24 11:42:22 +02:00
|
|
|
Opens the selected message for re-editing. Messages can only be
|
recall: allow recalling messages from any folder
Recall fails when called outside of the "postpone" folder (usually
"Drafts"). This makes sense for postponed messages. However, sometimes
the user would like to re-edit and re-send an old, possibly sent,
message, which would serve as a basis for the new one.
This patch allows recall to work outside the postpone folder, thus
allowing for re-edition of any message.
In the original recall function, if the recalled message is found in the
"postpone" folder, once the message has been recalled, re-edited and
sent, the original draft is deleted. With this patch, when the message
is not in the "postpone" folder, the original message is not deleted.
Signed-off-by: inwit <inwit@sindominio.net>
2021-12-13 11:28:01 +01:00
|
|
|
recalled from the postpone directory. The original message is deleted.
|
|
|
|
|
|
|
|
*-f*: Open the message for re-editing even if it is not in the postpone
|
|
|
|
directory. The original message will be deleted only if it is in the
|
|
|
|
postpone directory.
|
2020-04-24 11:42:22 +02:00
|
|
|
|
2022-06-28 23:42:08 +02:00
|
|
|
*forward* [-A | -F] [-T <template-file>] [address...]
|
2019-05-26 02:33:36 +02:00
|
|
|
Opens the composer to forward the selected message to another recipient.
|
|
|
|
|
2022-06-28 23:42:08 +02:00
|
|
|
*-A*: Forward the message and all attachments.
|
|
|
|
|
|
|
|
*-F*: Forward the full message as an RFC 2822 attachment.
|
2019-08-18 11:33:15 +02:00
|
|
|
|
2022-01-19 20:57:48 +01:00
|
|
|
*-T* <template-file>
|
|
|
|
Use the specified template file for creating the initial
|
2022-06-28 23:42:08 +02:00
|
|
|
message body. Unless *-F* is specified, this defaults to what
|
2022-01-19 20:57:48 +01:00
|
|
|
is set as _forwards_ in the _[templates]_ section of
|
|
|
|
_aerc.conf_.
|
|
|
|
|
2019-05-17 19:45:20 +02:00
|
|
|
*move* <target>
|
2022-10-13 12:15:36 +02:00
|
|
|
*mv* <target>
|
2019-05-17 19:45:20 +02:00
|
|
|
Moves the selected message to the target folder.
|
|
|
|
|
2019-07-09 00:19:08 +02:00
|
|
|
*pipe* [-bmp] <cmd>
|
|
|
|
Downloads and pipes the selected message into the given shell command, and
|
|
|
|
opens a new terminal tab to show the result. By default, the selected
|
|
|
|
message part is used in the message viewer and the full message is used in
|
|
|
|
the message list.
|
|
|
|
|
2022-02-24 21:10:30 +01:00
|
|
|
Operates on multiple messages when they are marked. When piping multiple
|
|
|
|
messages, aerc will write them with mbox format separators.
|
|
|
|
|
2019-07-09 00:19:08 +02:00
|
|
|
*-b*: Run the command in the background instead of opening a terminal tab
|
2019-07-09 00:19:43 +02:00
|
|
|
|
2019-07-09 00:19:08 +02:00
|
|
|
*-m*: Pipe the full message
|
2019-07-09 00:19:43 +02:00
|
|
|
|
2019-07-09 00:19:08 +02:00
|
|
|
*-p*: Pipe just the selected message part, if applicable
|
|
|
|
|
2020-01-09 20:55:56 +01:00
|
|
|
*reply* [-aq] [-T <template-file>]
|
2019-06-09 20:59:13 +02:00
|
|
|
Opens the composer to reply to the selected message.
|
|
|
|
|
|
|
|
*-a*: Reply all
|
|
|
|
|
|
|
|
*-q*: Insert a quoted version of the selected message into the reply editor
|
|
|
|
|
2022-01-19 20:57:48 +01:00
|
|
|
*-T* <template-file>
|
|
|
|
Use the specified template file for creating the initial
|
|
|
|
message body. If *-q* is specified, defaults to what is set as
|
|
|
|
_quoted-reply_ in the _[templates]_ section of _aerc.conf_.
|
2020-01-09 20:55:56 +01:00
|
|
|
|
2020-07-05 16:29:52 +02:00
|
|
|
*read* [-t]
|
2019-12-22 12:05:28 +01:00
|
|
|
Marks the marked or selected messages as read.
|
2019-06-09 20:59:13 +02:00
|
|
|
|
2019-12-22 12:05:28 +01:00
|
|
|
*-t*: Toggle the messages between read and unread.
|
2019-07-15 19:51:07 +02:00
|
|
|
|
2020-07-05 16:29:52 +02:00
|
|
|
*unread* [-t]
|
2019-12-22 12:05:28 +01:00
|
|
|
Marks the marked or selected messages as unread.
|
2019-07-23 18:52:33 +02:00
|
|
|
|
2019-12-22 12:05:28 +01:00
|
|
|
*-t*: Toggle the messages between read and unread.
|
2019-06-09 20:59:13 +02:00
|
|
|
|
2020-07-05 16:29:52 +02:00
|
|
|
*flag* [-t] [-a | -x <flag>]
|
|
|
|
Sets (enables) a certain flag on the marked or selected messages.
|
|
|
|
|
|
|
|
*-t*: Toggle the flag instead of setting (enabling) it.
|
|
|
|
|
|
|
|
*-a*: Mark message as answered/unanswered.
|
|
|
|
|
|
|
|
*-x <flag>*: Mark message with specific flag.
|
|
|
|
|
|
|
|
The available flags are (adapted from RFC 3501, section 2.3.2):
|
|
|
|
|
|
|
|
Seen
|
|
|
|
Message has been read
|
|
|
|
|
|
|
|
Answered
|
|
|
|
Message has been answered
|
|
|
|
|
|
|
|
Flagged
|
|
|
|
Message is flagged for urgent/special attention
|
|
|
|
|
|
|
|
*unflag* [-t] <flag>
|
|
|
|
Operates exactly like *flag*, defaulting to unsetting (disabling) flags.
|
|
|
|
|
2019-09-11 21:01:05 +02:00
|
|
|
*modify-labels* <[+-]label>...
|
2022-10-13 10:24:01 +02:00
|
|
|
*tag* <[+-]label>...
|
2019-09-11 21:01:05 +02:00
|
|
|
Modify message labels (e.g. notmuch tags). Labels prefixed with a '+' are
|
|
|
|
added, those prefixed with a '-' removed. As a convenience, labels without
|
|
|
|
either operand add the specified label.
|
|
|
|
|
|
|
|
Example: `modify-labels +inbox -spam unread` adds the labels inbox and unread
|
|
|
|
and removes spam
|
|
|
|
|
2019-07-04 17:01:07 +02:00
|
|
|
*unsubscribe*
|
|
|
|
Attempt to automatically unsubscribe the user from the mailing list through
|
|
|
|
use of the List-Unsubscribe header. If supported, aerc may open a compose
|
|
|
|
window pre-filled with the unsubscribe information or open the unsubscribe
|
|
|
|
URL in a web browser.
|
|
|
|
|
2019-06-09 20:59:13 +02:00
|
|
|
## MESSAGE LIST COMMANDS
|
|
|
|
|
2022-04-16 00:22:20 +02:00
|
|
|
*clear* [-s]
|
2019-07-17 09:35:50 +02:00
|
|
|
Clears the current search or filter criteria.
|
|
|
|
|
2022-04-16 00:22:20 +02:00
|
|
|
By default, the selected message will be kept. To clear the selected
|
|
|
|
message and move cursor to the top of the message list, use the -s flag.
|
|
|
|
|
|
|
|
*-s*
|
|
|
|
Selects the message at the top of the message list after clearing.
|
|
|
|
|
2019-06-09 20:59:13 +02:00
|
|
|
*cf* <folder>
|
|
|
|
Change the folder shown in the message list.
|
|
|
|
|
2022-07-29 20:30:02 +02:00
|
|
|
*check-mail*
|
|
|
|
Check for new mail on the selected account. Non-imap backends require
|
|
|
|
check-mail-cmd in order to check for new mail. Issuing a manual
|
|
|
|
:check-mail command will reset the timer for automatic checking.
|
|
|
|
|
2022-01-19 20:57:48 +01:00
|
|
|
*compose* [-H] [<body>] [-T <template-file>]
|
2019-06-09 20:59:13 +02:00
|
|
|
Open the compose window to send a new email. The new email will be sent with
|
2019-07-19 18:45:10 +02:00
|
|
|
the current account's outgoing transport configuration. For details on
|
|
|
|
configuring outgoing mail delivery consult *aerc-config*(5).
|
2019-06-09 20:59:13 +02:00
|
|
|
|
2019-08-08 08:15:59 +02:00
|
|
|
*-H* <header>
|
|
|
|
Add the specified header to the message, e.g. 'compose -H "X-Custom: custom
|
|
|
|
value"'
|
2022-01-19 20:57:48 +01:00
|
|
|
*-T* <template-file>
|
|
|
|
Use the specified template file for creating the initial
|
|
|
|
message body.
|
2019-08-08 08:15:59 +02:00
|
|
|
|
2019-07-17 09:35:50 +02:00
|
|
|
*filter* [options] <terms...>
|
|
|
|
Similar to *search*, but filters the displayed messages to only the search
|
|
|
|
results. See the documentation for *search* for more details.
|
|
|
|
|
2019-06-10 01:21:26 +02:00
|
|
|
*mkdir* <name>
|
|
|
|
Creates a new folder for this account and changes to that folder.
|
|
|
|
|
2020-08-18 22:27:23 +02:00
|
|
|
This is not supported on the 'notmuch' backend.
|
|
|
|
|
|
|
|
*rmdir* [-f]
|
|
|
|
Removes the current folder.
|
|
|
|
|
|
|
|
By default, it will fail if the directory is non-empty (see *-f*).
|
|
|
|
|
|
|
|
*-f*
|
|
|
|
Remove the directory even if it contains messages.
|
|
|
|
|
|
|
|
This is not supported on the 'notmuch' backend.
|
|
|
|
|
|
|
|
Some programs that sync maildirs may recover deleted directories (e.g.
|
|
|
|
offlineimap). These can either be specially configured to properly
|
|
|
|
handle directory deletion, or special commands need to be run to delete
|
|
|
|
directories (e.g. 'offlineimap --delete-folder').
|
|
|
|
|
|
|
|
It is possible, with a slow connection and the 'imap' backend, that new
|
|
|
|
messages arrive in the directory before they show up - using 'rmdir' at
|
|
|
|
this moment would delete the directory and such new messages before the
|
|
|
|
user sees them.
|
|
|
|
|
2019-07-19 18:45:10 +02:00
|
|
|
*next* <n>[%], *prev* <n>[%]
|
2022-10-13 12:15:36 +02:00
|
|
|
*next-message* <n>[%], *prev-message* <n>[%]
|
2019-05-17 19:45:20 +02:00
|
|
|
Selects the next (or previous) message in the message list. If specified as
|
|
|
|
a percentage, the percentage is applied to the number of messages shown on
|
|
|
|
screen and the cursor advances that far.
|
|
|
|
|
2019-07-17 09:35:50 +02:00
|
|
|
*next-folder* <n>, *prev-folder* <n>
|
|
|
|
Cycles to the next (or previous) folder shown in the sidebar, repeated n
|
|
|
|
times (default: 1).
|
|
|
|
|
2022-02-21 00:18:43 +01:00
|
|
|
*expand-folder*, *collapse-folder*
|
|
|
|
Expands or collapses the current folder when the directory tree is
|
|
|
|
enabled.
|
|
|
|
|
2022-07-11 20:11:20 +02:00
|
|
|
*export-mbox* <file>
|
|
|
|
Exports all messages in the current folder to an mbox file.
|
|
|
|
|
2022-07-11 20:11:21 +02:00
|
|
|
*import-mbox* <file>
|
|
|
|
Imports all messages from an mbox file to the current folder.
|
|
|
|
|
2019-07-17 09:35:50 +02:00
|
|
|
*next-result*, *prev-result*
|
|
|
|
Selects the next or previous search result.
|
|
|
|
|
2019-08-28 06:39:07 +02:00
|
|
|
*search*
|
|
|
|
Searches the current folder.
|
2020-05-20 02:48:23 +02:00
|
|
|
The search syntax is dependent on the underlying backend.
|
2019-08-28 06:39:07 +02:00
|
|
|
Refer to *aerc-search*(1) for details
|
2019-07-17 09:35:50 +02:00
|
|
|
|
2019-06-09 20:59:13 +02:00
|
|
|
*select* <n>
|
2022-10-13 12:15:36 +02:00
|
|
|
*select-message* <n>
|
2019-05-17 19:45:20 +02:00
|
|
|
Selects the nth message in the message list (and scrolls it into view if
|
|
|
|
necessary).
|
|
|
|
|
2019-09-20 00:37:45 +02:00
|
|
|
*sort* [[-r] <criterion>]...
|
|
|
|
Sorts the message list by the given criteria. *-r* sorts the
|
|
|
|
immediately following criterion in reverse order.
|
|
|
|
|
|
|
|
Available criteria:
|
|
|
|
|
|
|
|
[[ *Criterion*
|
|
|
|
:- *Description*
|
|
|
|
| arrival
|
|
|
|
:- Date and time of the messages arrival
|
|
|
|
| cc
|
|
|
|
:- Addresses in the "cc" field
|
|
|
|
| date
|
|
|
|
:- Date and time of the message
|
|
|
|
| from
|
|
|
|
:- Addresses in the "from" field
|
|
|
|
| read
|
|
|
|
:- Presence of the read flag
|
|
|
|
| size
|
|
|
|
:- Size of the message
|
|
|
|
| subject
|
|
|
|
:- Subject of the message
|
|
|
|
| to
|
|
|
|
:- Addresses in the "to" field
|
|
|
|
|
2022-02-24 00:41:13 +01:00
|
|
|
*toggle-threads*
|
|
|
|
Toggles between message threading and the normal message list.
|
|
|
|
|
2022-10-03 23:56:07 +02:00
|
|
|
*view* [-p]
|
2022-10-13 12:15:36 +02:00
|
|
|
*view-message* [-p]
|
2022-10-03 23:56:07 +02:00
|
|
|
Opens the message viewer to display the selected message. If the peek
|
|
|
|
flag -p is set, the message will not be marked as "seen" and ignores the
|
|
|
|
"auto-mark-read" config.
|
2019-05-17 19:45:20 +02:00
|
|
|
|
|
|
|
## MESSAGE VIEW COMMANDS
|
|
|
|
|
2019-08-13 03:55:50 +02:00
|
|
|
*close*
|
|
|
|
Closes the message viewer.
|
|
|
|
|
2019-07-19 18:45:10 +02:00
|
|
|
*next* <n>[%], *prev* <n>[%]
|
|
|
|
Selects the next (or previous) message in the message list. If specified as
|
|
|
|
a percentage, the percentage is applied to the number of messages shown on
|
|
|
|
screen and the cursor advances that far.
|
|
|
|
|
|
|
|
*next-part*, *prev-part*
|
|
|
|
Cycles between message parts being shown. The list of message parts is shown
|
|
|
|
at the bottom of the message viewer.
|
|
|
|
|
2021-01-30 11:33:31 +01:00
|
|
|
*open* [args...]
|
2022-09-30 14:12:07 +02:00
|
|
|
Saves the current message part to a temporary file, then opens it. If no
|
|
|
|
arguments are provided, it will open the current MIME part with the
|
|
|
|
matching command in the *[openers]* section of _aerc.conf_. When no match
|
|
|
|
is found in *[openers]*, it falls back to the default system handler.
|
|
|
|
|
|
|
|
When arguments are provided:
|
|
|
|
|
|
|
|
- The first argument must be the program to open the message part with.
|
|
|
|
Subsequent args are passed to that program.
|
|
|
|
- *{}* will be expanded as the temporary filename to be opened. If it is
|
|
|
|
not encountered in the arguments, the temporary filename will be
|
|
|
|
appened to the end of the command.
|
2019-06-16 22:52:44 +02:00
|
|
|
|
2022-03-24 09:26:06 +01:00
|
|
|
*save* [-fpa] <path>
|
2019-05-26 23:37:39 +02:00
|
|
|
Saves the current message part to the given path.
|
2020-01-19 20:22:56 +01:00
|
|
|
If the path is not an absolute path, general.default-save-path will be
|
|
|
|
prepended to the path given.
|
2022-03-24 09:26:06 +01:00
|
|
|
If path ends in a trailing slash or if a folder exists on disc or if -a
|
|
|
|
is specified, aerc assumes it to be a directory.
|
2020-01-19 20:22:56 +01:00
|
|
|
When passed a directory :save infers the filename from the mail part if
|
|
|
|
possible, or if that fails, uses "aerc_$DATE".
|
2019-05-26 23:37:39 +02:00
|
|
|
|
2020-01-19 20:22:56 +01:00
|
|
|
*-f*: Overwrite the destination whether or not it exists
|
2019-06-25 09:23:52 +02:00
|
|
|
|
2020-01-19 20:22:56 +01:00
|
|
|
*-p*: Create any directories in the path that do not exist
|
2019-06-11 20:26:13 +02:00
|
|
|
|
2022-03-24 09:26:06 +01:00
|
|
|
*-a*: Save all attachments. Individual filenames cannot be specified.
|
|
|
|
|
2022-08-08 22:21:45 +02:00
|
|
|
*mark* [-atvT]
|
2019-12-18 06:34:09 +01:00
|
|
|
Marks messages. Commands will execute on all marked messages instead of the
|
|
|
|
highlighted one if applicable. The flags below can be combined as needed.
|
|
|
|
|
|
|
|
*-a*: Apply to all messages in the current folder
|
|
|
|
|
|
|
|
*-t*: toggle the mark state instead of marking a message
|
|
|
|
|
|
|
|
*-v*: Enter / leave visual mark mode
|
|
|
|
|
2022-08-08 22:21:44 +02:00
|
|
|
*-V*: Same as -v but does not clear existing selection
|
|
|
|
|
2022-08-08 22:21:45 +02:00
|
|
|
*-T*: Marks the displayed message thread of the selected message.
|
|
|
|
|
2019-12-18 06:34:09 +01:00
|
|
|
*unmark* [-at]
|
|
|
|
Unmarks messages. The flags below can be combined as needed.
|
|
|
|
|
|
|
|
*-a*: Apply to all messages in the current folder
|
|
|
|
|
|
|
|
*-t*: toggle the mark state instead of unmarking a message
|
|
|
|
|
2022-06-11 00:24:12 +02:00
|
|
|
*remark*
|
|
|
|
Re-select the last set of marked messages. Can be used to chain commands
|
|
|
|
after a selection has been acted upon
|
|
|
|
|
2019-07-16 22:48:25 +02:00
|
|
|
## MESSAGE COMPOSE COMMANDS
|
|
|
|
|
2019-07-19 18:45:10 +02:00
|
|
|
*abort*
|
2020-05-20 02:48:23 +02:00
|
|
|
Close the composer without sending, discarding the message in progress.
|
2019-07-19 18:45:10 +02:00
|
|
|
|
2019-07-16 22:48:25 +02:00
|
|
|
*attach* <path>
|
2022-08-30 22:16:30 +02:00
|
|
|
Attaches the file at the given path to the email. The path can contain
|
|
|
|
globbing syntax described at https://godocs.io/path/filepath#Match.
|
2019-07-16 22:48:25 +02:00
|
|
|
|
2022-05-05 19:53:16 +02:00
|
|
|
*attach-key*
|
|
|
|
Attaches the public key for the configured account to the email.
|
|
|
|
|
2019-07-27 16:38:53 +02:00
|
|
|
*detach* [path]
|
|
|
|
Detaches the file with the given path from the composed email. If no path is
|
|
|
|
specified, detaches the first attachment instead.
|
|
|
|
|
2019-08-04 06:09:13 +02:00
|
|
|
*cc* [addresses], *bcc* [addresses]
|
2019-08-01 20:29:21 +02:00
|
|
|
Sets the Cc or Bcc header to the given addresses. If an editor for the header
|
|
|
|
is not currently visible in the compose window, a new one will be added.
|
|
|
|
|
2019-07-19 18:45:10 +02:00
|
|
|
*edit*
|
|
|
|
(Re-) opens your text editor to edit the message in progress.
|
|
|
|
|
|
|
|
*next-field*, *prev-field*
|
|
|
|
Cycles between input fields in the compose window.
|
|
|
|
|
2020-04-24 11:42:21 +02:00
|
|
|
*postpone*
|
|
|
|
Saves the current state of the message to the *postpone* folder for the
|
|
|
|
current account.
|
|
|
|
|
2019-07-19 18:45:10 +02:00
|
|
|
*save* [-p] <path>
|
|
|
|
Saves the selected message part to the specified path. If -p is selected,
|
|
|
|
aerc will create any missing directories in the specified path. If the path
|
|
|
|
specified is a directory or ends in /, aerc will use the attachment filename
|
|
|
|
if available or a generated name if not.
|
|
|
|
|
|
|
|
*send*
|
|
|
|
Sends the message using this accounts default outgoing transport
|
|
|
|
configuration. For details on configuring outgoing mail delivery consult
|
|
|
|
*aerc-config*(5).
|
|
|
|
|
2022-09-19 23:58:24 +02:00
|
|
|
*switch-account* <-n|-p|account-name>
|
|
|
|
Switches the account. Can be used to switch to a specific account from
|
|
|
|
its name or to cycle through accounts using the -p and -n flags.
|
|
|
|
|
|
|
|
*-p*: switch to previous account
|
|
|
|
*-n*: switch to next account
|
2022-08-15 21:58:43 +02:00
|
|
|
|
2020-04-26 11:50:25 +02:00
|
|
|
*header* [-f] <field> [value]
|
|
|
|
Add a new email header. If the header already exists, -f must be
|
|
|
|
specified to replace the given value.
|
|
|
|
|
2019-07-19 18:45:10 +02:00
|
|
|
*toggle-headers*
|
|
|
|
Toggles the visibility of the message headers.
|
|
|
|
|
2019-05-17 19:45:20 +02:00
|
|
|
## TERMINAL COMMANDS
|
|
|
|
|
2019-08-13 03:55:50 +02:00
|
|
|
*close*
|
|
|
|
Closes the terminal.
|
|
|
|
|
2019-06-12 18:20:49 +02:00
|
|
|
# LOGGING
|
|
|
|
|
|
|
|
Aerc does not log by default, but collecting log output can be useful for
|
|
|
|
troubleshooting and reporting issues. Redirecting stdout when invoking aerc will
|
|
|
|
write log messages to that file:
|
|
|
|
|
|
|
|
$ aerc > log
|
|
|
|
|
2019-05-17 19:45:20 +02:00
|
|
|
# SEE ALSO
|
|
|
|
|
2019-07-11 15:44:54 +02:00
|
|
|
*aerc-config*(5) *aerc-imap*(5) *aerc-smtp*(5) *aerc-maildir*(5)
|
2019-07-27 17:19:49 +02:00
|
|
|
*aerc-sendmail*(5) *aerc-tutorial*(7)
|
2019-05-17 19:45:20 +02:00
|
|
|
|
|
|
|
# AUTHORS
|
|
|
|
|
2022-01-26 11:41:20 +01:00
|
|
|
Originally created by Drew DeVault <sir@cmpwn.com> and maintained by Robin
|
2021-11-09 20:11:42 +01:00
|
|
|
Jarry <robin@jarry.cc> who is assisted by other open source contributors. For
|
|
|
|
more information about aerc development, see https://sr.ht/~rjarry/aerc/.
|