2019-05-17 17:45:20 +00:00
|
|
|
aerc-config(5)
|
|
|
|
|
|
|
|
# NAME
|
|
|
|
|
|
|
|
aerc-config - configuration file formats for *aerc*(1)
|
|
|
|
|
|
|
|
# CONFIGURATION
|
|
|
|
|
|
|
|
There are three aerc config files: *aerc.conf*, *binds.conf*, and
|
|
|
|
*accounts.conf*. The last one must be kept secret, as it may include your
|
|
|
|
account credentials. We look for these files in your XDG config home plus
|
|
|
|
"aerc", which defaults to ~/.config/aerc.
|
|
|
|
|
|
|
|
Examples of these config files are typically included with your installation of
|
|
|
|
aerc and are usually installed in /usr/share/aerc.
|
|
|
|
|
|
|
|
Each file uses the _ini_ format, and consists of sections with keys and values.
|
|
|
|
A line beginning with # is considered a comment and ignored, as are empty lines.
|
|
|
|
New sections begin with [section-name] on a single line, and keys and values are
|
|
|
|
separated with "=".
|
|
|
|
|
|
|
|
# AERC.CONF
|
|
|
|
|
|
|
|
This file is used for configuring the general appearance and behavior of aerc.
|
|
|
|
|
2019-06-25 07:23:52 +00:00
|
|
|
## GENERAL OPTIONS
|
|
|
|
|
|
|
|
These options are configured in the *[general]* section of aerc.conf.
|
|
|
|
|
|
|
|
*default-save-path*
|
|
|
|
Used as a default path for save operations if no other path is specified.
|
|
|
|
|
2022-04-25 13:30:44 +00:00
|
|
|
*pgp-provider*
|
|
|
|
If set to "gpg", aerc will use system gpg binary and keystore for all
|
2022-07-12 15:40:18 +00:00
|
|
|
crypto operations. Otherwise, the internal openpgp implementation will
|
|
|
|
be used.
|
2022-04-25 13:30:44 +00:00
|
|
|
|
|
|
|
Default: internal
|
|
|
|
|
2022-04-19 19:14:46 +00:00
|
|
|
*unsafe-accounts-conf*
|
|
|
|
By default, the file permissions of accounts.conf must be restrictive
|
|
|
|
and only allow reading by the file owner (_0600_). Set this option to
|
|
|
|
*true* to ignore this permission check. Use this with care as it may
|
|
|
|
expose your credentials.
|
|
|
|
|
|
|
|
Default: false
|
|
|
|
|
2019-05-17 17:45:20 +00:00
|
|
|
## UI OPTIONS
|
|
|
|
|
|
|
|
These options are configured in the *[ui]* section of aerc.conf.
|
|
|
|
|
|
|
|
*index-format*
|
|
|
|
Describes the format for each row in a mailbox view. This field is
|
2019-07-03 03:14:43 +00:00
|
|
|
compatible with mutt's printf-like syntax.
|
2019-05-17 17:45:20 +00:00
|
|
|
|
2019-06-07 19:35:23 +00:00
|
|
|
Default: %D %-17.17n %s
|
2019-05-17 17:45:20 +00:00
|
|
|
|
2019-07-03 03:14:43 +00:00
|
|
|
[- *Format specifier*
|
|
|
|
:[ *Description*
|
|
|
|
| %%
|
|
|
|
: literal %
|
|
|
|
| %a
|
|
|
|
: sender address
|
|
|
|
| %A
|
|
|
|
: reply-to address, or sender address if none
|
|
|
|
| %C
|
|
|
|
: message number
|
|
|
|
| %d
|
|
|
|
: formatted message timestamp
|
|
|
|
| %D
|
|
|
|
: formatted message timestamp converted to local timezone
|
|
|
|
| %f
|
|
|
|
: sender name and address
|
|
|
|
| %F
|
2019-11-12 11:50:00 +00:00
|
|
|
: author name, or recipient name if the message is from you.
|
2020-05-20 00:48:23 +00:00
|
|
|
The address is shown if no name part.
|
2019-12-23 11:51:58 +00:00
|
|
|
| %g
|
|
|
|
: message labels (for example notmuch tags)
|
2019-07-03 03:14:43 +00:00
|
|
|
| %i
|
|
|
|
: message id
|
|
|
|
| %n
|
2019-11-12 11:50:00 +00:00
|
|
|
: sender name, or sender address if none
|
2019-07-03 03:14:43 +00:00
|
|
|
| %r
|
|
|
|
: comma-separated list of formatted recipient names and addresses
|
|
|
|
| %R
|
|
|
|
: comma-separated list of formatted CC names and addresses
|
|
|
|
| %s
|
|
|
|
: subject
|
2019-07-21 20:01:51 +00:00
|
|
|
| %t
|
|
|
|
: the (first) address the new email was sent to
|
|
|
|
| %T
|
|
|
|
: the account name which received the email
|
2019-07-03 03:14:43 +00:00
|
|
|
| %u
|
|
|
|
: sender mailbox name (e.g. "smith" in "smith@example.net")
|
|
|
|
| %v
|
|
|
|
: sender first name (e.g. "Alex" in "Alex Smith <smith@example.net>")
|
|
|
|
| %Z
|
2019-12-18 05:34:07 +00:00
|
|
|
: flags (O=old, N=new, r=answered, D=deleted, !=flagged, \*=marked)
|
2019-07-03 03:14:43 +00:00
|
|
|
|
2019-05-17 17:45:20 +00:00
|
|
|
*timestamp-format*
|
2019-06-07 19:35:23 +00:00
|
|
|
See time.Time#Format at https://godoc.org/time#Time.Format
|
2019-05-17 17:45:20 +00:00
|
|
|
|
2021-11-13 14:46:17 +00:00
|
|
|
Default: "2006-01-02 03:04 PM" (ISO 8601 + 12 hour time)
|
2019-05-17 17:45:20 +00:00
|
|
|
|
2021-11-06 16:11:43 +00:00
|
|
|
*this-day-time-format*
|
2021-10-26 15:24:45 +00:00
|
|
|
Index-only time format for messages that were received/sent today.
|
|
|
|
If this is not specified, *timestamp-format* is used instead.
|
|
|
|
|
2021-11-13 14:46:17 +00:00
|
|
|
Default: "03:04 PM" (12 hour time)
|
2021-10-26 15:24:45 +00:00
|
|
|
|
2021-11-06 16:32:38 +00:00
|
|
|
*this-week-time-format*
|
|
|
|
Index-only time format for messages that were received/sent within the
|
|
|
|
last 7 days. If this is not specified, *timestamp-format* is used
|
|
|
|
instead.
|
|
|
|
|
2021-11-13 14:46:17 +00:00
|
|
|
Default: "Monday 03:04 PM" (Week day + 12 hour time)
|
2021-11-06 16:32:38 +00:00
|
|
|
|
2021-10-26 15:24:45 +00:00
|
|
|
*this-year-time-format*
|
|
|
|
Index-only time format for messages that were received/sent this year.
|
|
|
|
If this is not specified, *timestamp-format* is used instead.
|
|
|
|
|
2021-11-13 14:46:17 +00:00
|
|
|
Default: "January 02" (Month + month day)
|
2021-10-26 15:24:45 +00:00
|
|
|
|
2019-05-17 17:45:20 +00:00
|
|
|
*sidebar-width*
|
|
|
|
Width of the sidebar, including the border. Set to zero to disable the
|
|
|
|
sidebar.
|
|
|
|
|
|
|
|
Default: 20
|
|
|
|
|
|
|
|
*empty-message*
|
|
|
|
Message to display when viewing an empty folder.
|
|
|
|
|
|
|
|
Default: (no messages)
|
|
|
|
|
2019-06-12 06:31:52 +00:00
|
|
|
*empty-dirlist*
|
|
|
|
Message to display when no folders exists or are all filtered.
|
|
|
|
|
|
|
|
Default: (no folders)
|
|
|
|
|
2019-07-16 18:06:22 +00:00
|
|
|
*mouse-enabled*
|
|
|
|
Enable mouse events in the ui, e.g. clicking and scrolling with the mousewheel
|
|
|
|
|
|
|
|
Default: false
|
|
|
|
|
2019-07-29 14:50:02 +00:00
|
|
|
*new-message-bell*
|
|
|
|
Ring the bell when a new message is received.
|
|
|
|
|
|
|
|
Default: true
|
|
|
|
|
2020-03-07 16:42:41 +00:00
|
|
|
*pinned-tab-marker*
|
|
|
|
Marker to show before a pinned tab's name.
|
|
|
|
|
|
|
|
Default: `
|
|
|
|
|
2019-08-30 01:30:35 +00:00
|
|
|
*spinner*
|
|
|
|
Animation shown while loading, split by spinner-delimiter (below)
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
- spinner = "\-\_-,\_-\_"
|
|
|
|
- spinner = '. , .'
|
|
|
|
- spinner = "\,|,/,-"
|
|
|
|
|
|
|
|
Default: "[..] , [..] , [..] , [..] , [..], [..] , [..] , [..] "
|
|
|
|
|
|
|
|
*spinner-delimiter*
|
2020-05-20 00:48:23 +00:00
|
|
|
Spinner delimiter to split string into an animation
|
2019-08-30 01:30:35 +00:00
|
|
|
|
|
|
|
Default: ","
|
|
|
|
|
2019-09-19 22:37:45 +00:00
|
|
|
*sort*
|
|
|
|
List of space-separated criteria to sort the messages by, see *sort*
|
|
|
|
command in *aerc*(1) for reference. Prefixing a criterion with "-r "
|
|
|
|
reverses that criterion.
|
|
|
|
|
|
|
|
Example: "from -r date"
|
|
|
|
|
|
|
|
Default: ""
|
|
|
|
|
2019-09-11 16:37:21 +00:00
|
|
|
*dirlist-format*
|
|
|
|
Describes the format string to use for the directory list
|
|
|
|
|
|
|
|
Default: %n %>r
|
|
|
|
|
|
|
|
[- *Format specifier*
|
|
|
|
:[ *Description*
|
|
|
|
| %%
|
|
|
|
: literal %
|
|
|
|
| %n
|
|
|
|
: directory name
|
2022-04-28 20:09:53 +00:00
|
|
|
| %N
|
|
|
|
: compacted directory name
|
2019-09-11 16:37:21 +00:00
|
|
|
| %r
|
|
|
|
: recent/unseen/total message count
|
|
|
|
| %>X
|
|
|
|
: make format specifier 'X' be right justified
|
|
|
|
|
2022-01-28 09:17:13 +00:00
|
|
|
*dirlist-delay*
|
|
|
|
Delay after which the messages are actually listed when entering
|
|
|
|
a directory. This avoids loading messages when skipping over folders
|
|
|
|
and makes the UI more responsive. If you do not want that, set it to
|
|
|
|
0s.
|
|
|
|
|
|
|
|
Default: 200ms
|
|
|
|
|
2022-02-20 23:18:42 +00:00
|
|
|
*dirlist-tree*
|
2022-07-12 15:40:18 +00:00
|
|
|
Display the directory list as a foldable tree.
|
2022-02-20 23:18:42 +00:00
|
|
|
|
|
|
|
Default: false
|
|
|
|
|
2019-09-20 19:22:09 +00:00
|
|
|
*next-message-on-delete*
|
|
|
|
Moves to next message when the current message is deleted
|
|
|
|
|
|
|
|
Default: true
|
|
|
|
|
2019-12-20 18:21:33 +00:00
|
|
|
*completion-popovers*
|
|
|
|
Shows potential auto-completions for text inputs in popovers.
|
|
|
|
|
|
|
|
Default: true
|
|
|
|
|
|
|
|
*completion-delay*
|
|
|
|
How long to wait after the last input before auto-completion is triggered.
|
|
|
|
|
|
|
|
Default: 250ms
|
|
|
|
|
2021-11-29 22:48:35 +00:00
|
|
|
*border-char-vertical*
|
|
|
|
*border-char-horizontal*
|
|
|
|
Set stylable characters (via the 'border' element) for vertical and
|
|
|
|
horizontal borders.
|
|
|
|
|
|
|
|
Default: spaces
|
|
|
|
|
2020-07-27 08:03:55 +00:00
|
|
|
*stylesets-dirs*
|
2022-02-19 13:06:57 +00:00
|
|
|
The directories where the stylesets are stored. The config takes
|
|
|
|
a colon-separated list of dirs. If this is unset or if a styleset cannot
|
|
|
|
be found, the following paths will be used as a fallback in that order:
|
2020-07-27 08:03:55 +00:00
|
|
|
|
2022-02-19 13:06:57 +00:00
|
|
|
```
|
2022-03-02 03:38:59 +00:00
|
|
|
${XDG_CONFIG_HOME:-~/.config}/aerc/stylesets
|
|
|
|
${XDG_DATA_HOME:-~/.local/share}/aerc/stylesets
|
2022-02-19 13:06:57 +00:00
|
|
|
/usr/local/share/aerc/stylesets
|
|
|
|
/usr/share/aerc/stylesets
|
|
|
|
```
|
|
|
|
|
|
|
|
Default: ""
|
2020-07-27 08:03:55 +00:00
|
|
|
|
|
|
|
*styleset-name*
|
|
|
|
The name of the styleset to be used to style the ui elements. The
|
|
|
|
stylesets are stored in the 'stylesets' directory in the config
|
|
|
|
directory.
|
|
|
|
|
|
|
|
Default: default
|
|
|
|
|
2020-12-13 09:30:56 +00:00
|
|
|
Have a look at *aerc-stylesets*(7) as to how a styleset looks like.
|
2020-08-28 15:56:39 +00:00
|
|
|
|
2022-06-22 10:19:39 +00:00
|
|
|
*icon-unencrypted*
|
2022-06-22 10:19:40 +00:00
|
|
|
The icon to display for unencrypted mails. The status indicator is only
|
|
|
|
displayed if an icon is set.
|
2022-06-22 10:19:39 +00:00
|
|
|
|
|
|
|
Default: ""
|
|
|
|
|
|
|
|
*icon-encrypted*
|
|
|
|
The icon to display for encrypted mails.
|
|
|
|
|
|
|
|
Default: [e]
|
|
|
|
|
|
|
|
*icon-signed*
|
|
|
|
The icon to display for signed mails where the signature was
|
|
|
|
successfully validated.
|
|
|
|
|
|
|
|
Default: [s]
|
|
|
|
|
|
|
|
*icon-signed-encrypted*
|
|
|
|
The icon to display for signed and encrypted mails where the signature
|
2022-06-22 10:19:40 +00:00
|
|
|
was successfully verified. The combined icon is only used if set,
|
|
|
|
otherwise the signed and encrypted icons are displayed separately.
|
2022-06-22 10:19:39 +00:00
|
|
|
|
2022-06-22 10:19:40 +00:00
|
|
|
Default: ""
|
2022-06-22 10:19:39 +00:00
|
|
|
|
|
|
|
*icon-unknown*
|
|
|
|
The icon to display for signed mails which could not be verified due to
|
|
|
|
the key being unknown.
|
|
|
|
|
|
|
|
Default: [s?]
|
|
|
|
|
|
|
|
*icon-invalid*
|
|
|
|
The icon to display for signed mails where verification failed.
|
|
|
|
|
|
|
|
Default: [s!]
|
|
|
|
|
2022-03-06 02:58:07 +00:00
|
|
|
*fuzzy-complete*
|
|
|
|
When typing a command or option, the popover will now show not only the
|
|
|
|
items /starting/ with the string input by the user, but it will also show
|
|
|
|
instances of items /containing/ the string, starting at any position and
|
|
|
|
need not be consecutive characters in the command or option.
|
2022-01-31 16:32:19 +00:00
|
|
|
|
2021-11-12 17:12:02 +00:00
|
|
|
*threading-enabled*
|
2022-07-05 19:48:38 +00:00
|
|
|
Enable a threaded view of messages. If this is not supported by the
|
|
|
|
backend (IMAP server or notmuch), threads will be built by the client.
|
2022-04-16 16:17:56 +00:00
|
|
|
|
2021-11-12 17:12:02 +00:00
|
|
|
Default: false
|
|
|
|
|
2022-07-05 19:48:39 +00:00
|
|
|
*force-client-threads*
|
|
|
|
Force threads to be built client-side. Backends that don't support threading
|
|
|
|
will always build threads client side.
|
|
|
|
|
|
|
|
Default: false
|
|
|
|
|
2020-07-27 08:03:55 +00:00
|
|
|
|
2020-01-23 12:56:48 +00:00
|
|
|
## Contextual UI Configuration
|
|
|
|
|
|
|
|
The UI configuration can be specialized for accounts, specific mail
|
|
|
|
directories and message subjects. The specializations are added using
|
|
|
|
contextual config sections based on the context.
|
|
|
|
|
|
|
|
The contextual UI configuration is merged to the base UiConfig in the
|
|
|
|
following order:
|
|
|
|
*Base UIConfig > Account Context > Folder Context > Subject Context.*
|
|
|
|
|
|
|
|
*[ui:account=<AccountName>]*
|
|
|
|
Adds account specific configuration with the account name.
|
|
|
|
|
|
|
|
*[ui:folder=<FolderName>]*
|
|
|
|
Add folder specific configuration with the folder name.
|
|
|
|
|
|
|
|
*[ui:folder~<Regex>]*
|
|
|
|
Add folder specific configuration for folders whose names match the regular
|
|
|
|
expression.
|
|
|
|
|
|
|
|
*[ui:subject~<Regex>]*
|
|
|
|
Add specialized ui configuration for messages that match a given regular
|
|
|
|
expression.
|
|
|
|
|
|
|
|
Example:
|
|
|
|
```
|
|
|
|
[ui:account=Work]
|
|
|
|
sidebar-width=...
|
|
|
|
|
|
|
|
[ui:folder=Sent]
|
|
|
|
index-format=...
|
|
|
|
|
|
|
|
[ui:folder~Archive/\d+/.*]
|
|
|
|
index-format=...
|
|
|
|
|
|
|
|
[ui:subject~^\[PATCH]
|
|
|
|
index-format=...
|
|
|
|
```
|
|
|
|
|
2022-04-18 14:06:27 +00:00
|
|
|
## STATUSLINE
|
|
|
|
|
|
|
|
These options are configured in the *[statusline]* section of aerc.conf.
|
|
|
|
|
|
|
|
*render-format*
|
|
|
|
Describes the format string for the statusline format.
|
|
|
|
|
|
|
|
For a minimal statusline that only shows the current account and
|
|
|
|
the connection information, use [%a] %c.
|
|
|
|
|
|
|
|
To completely mute the statusline (except for push notficiations), use
|
|
|
|
%m only.
|
|
|
|
|
|
|
|
Default: [%a] %S %>%T
|
|
|
|
|
|
|
|
[- *Format specifier*
|
|
|
|
:[ *Description*
|
|
|
|
| %%
|
|
|
|
: literal %
|
|
|
|
| %a
|
|
|
|
: active account name
|
|
|
|
| %d
|
|
|
|
: active directory name
|
|
|
|
| %c
|
|
|
|
: connection state
|
|
|
|
| %m
|
|
|
|
: mute statusline and show only push notifications
|
|
|
|
| %S
|
|
|
|
: general status information (e.g. connection state, filter, search)
|
|
|
|
| %T
|
|
|
|
: general on/off information (e.g. passthrough, threading, sorting)
|
|
|
|
| %>
|
|
|
|
: does not print anything but all format specifier that follow will be right justified.
|
|
|
|
|
|
|
|
*separator*
|
|
|
|
Specifies the separator between grouped statusline elements (e.g. for
|
|
|
|
the %S and %T specifiers in *render-format*).
|
|
|
|
|
|
|
|
Default: " | "
|
|
|
|
|
|
|
|
*display-mode*
|
|
|
|
Defines the mode for displaying the status elements.
|
|
|
|
Options: text, icon
|
|
|
|
|
|
|
|
Default: text
|
|
|
|
|
2020-01-23 12:56:48 +00:00
|
|
|
|
2019-05-17 17:45:20 +00:00
|
|
|
## VIEWER
|
|
|
|
|
|
|
|
These options are configured in the *[viewer]* section of aerc.conf.
|
|
|
|
|
|
|
|
*pager*
|
|
|
|
Specifies the pager to use when displaying emails. Note that some filters
|
|
|
|
may add ANSI escape sequences to add color to rendered emails, so you may
|
|
|
|
want to use a pager which supports ANSI.
|
|
|
|
|
|
|
|
Default: less -R
|
|
|
|
|
|
|
|
*alternatives*
|
|
|
|
If an email offers several versions (multipart), you can configure which
|
|
|
|
mimetype to prefer. For example, this can be used to prefer plaintext over
|
|
|
|
HTML emails.
|
|
|
|
|
|
|
|
Default: text/plain,text/html
|
|
|
|
|
2019-07-15 18:56:44 +00:00
|
|
|
*header-layout*
|
|
|
|
Defines the default headers to display when viewing a message. To display
|
|
|
|
multiple headers in the same row, separate them with a pipe, e.g. "From|To".
|
|
|
|
Rows will be hidden if none of their specified headers are present in the
|
|
|
|
message.
|
|
|
|
|
msgviewer: parse and display authentication results
Parse the Authentication-Results header and display it in the message
viewer (not enabled by default). DKIM, SPF and DMARC authentication
methods are supported. Implement recommendation from RFC 7601 Sec 7.1 to
have an explicit list of trustworthy hostnames before displaying the
authentication results. Be aware that the authentication headers can be
forged.
To display the results for a specific authentication method, add the
corresponding name to the layout of headers in the viewer section of
aerc.conf, e.g. to display all three, use:
header-layout = From|To,Cc|Bcc,Date,Subject,DKIM|SPF|DMARC
More information will be displayed when "+" is appended to the
authentication method name, e.g. DKIM+ or SPF+ or DMARC+.
Also, add the trustworthy hosts per account with the trusted-authres
parameter, e.g.
trusted-authres = *
to trust every host or use regular expressions for a finer control.
Multiple hosts can be entered as a comma-separated list. Authentication
results will only be displayed when the host is listed in the
trusted-authres list.
Link: https://datatracker.ietf.org/doc/html/rfc7601
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Tested-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-05-29 22:20:41 +00:00
|
|
|
Authentication information from the Authentication-Results header can be
|
|
|
|
displayed by adding DKIM, SPF or DMARC. To show more information
|
|
|
|
than just the authentication result, append a plus sign (+) to the header name
|
|
|
|
(e.g. DKIM+).
|
|
|
|
|
2019-07-15 18:56:44 +00:00
|
|
|
Default: From|To,Cc|Bcc,Date,Subject
|
|
|
|
|
2019-07-17 18:50:31 +00:00
|
|
|
*show-headers*
|
|
|
|
Default setting to determine whether to show full headers or only parsed
|
|
|
|
ones in message viewer.
|
|
|
|
|
|
|
|
Default: false
|
|
|
|
|
2019-07-17 20:51:02 +00:00
|
|
|
*always-show-mime*
|
|
|
|
Whether to always show the mimetype of an email, even when it is just a single part.
|
|
|
|
|
|
|
|
Default: false
|
|
|
|
|
2022-06-14 19:10:48 +00:00
|
|
|
*parse-http-links*
|
|
|
|
Parses and extracts http links when viewing a message. Links can then be
|
|
|
|
accessed with the open-link command.
|
|
|
|
|
|
|
|
Default: true
|
|
|
|
|
2019-05-17 17:45:20 +00:00
|
|
|
## COMPOSE
|
|
|
|
|
2019-06-22 20:55:16 +00:00
|
|
|
These options are configured in the *[compose]* section of aerc.conf.
|
2019-05-17 17:45:20 +00:00
|
|
|
|
|
|
|
*editor*
|
|
|
|
Specifies the command to run the editor with. It will be shown in an
|
|
|
|
embedded terminal, though it may also launch a graphical window if the
|
|
|
|
environment supports it. Defaults to *$EDITOR*, or *vi*(1).
|
|
|
|
|
2019-07-22 23:29:07 +00:00
|
|
|
*header-layout*
|
|
|
|
Defines the default headers to display when composing a message. To display
|
|
|
|
multiple headers in the same row, separate them with a pipe, e.g. "To|From".
|
|
|
|
|
|
|
|
Default: To|From,Subject
|
|
|
|
|
2019-12-20 18:21:35 +00:00
|
|
|
*address-book-cmd*
|
|
|
|
Specifies the command to be used to tab-complete email addresses. Any
|
2022-01-07 04:54:28 +00:00
|
|
|
occurrence of "%s" in the address-book-cmd will be replaced with anything
|
|
|
|
the user has typed after the last comma.
|
2019-12-20 18:21:35 +00:00
|
|
|
|
|
|
|
The command must output the completions to standard output, one completion
|
|
|
|
per line. Each line must be tab-delimited, with an email address occurring as
|
|
|
|
the first field. Only the email address field is required. The second field,
|
|
|
|
if present, will be treated as the contact name. Additional fields are
|
|
|
|
ignored.
|
|
|
|
|
2022-07-11 09:11:37 +00:00
|
|
|
This parameter can also be set per account in accounts.conf.
|
|
|
|
|
2019-12-20 18:21:35 +00:00
|
|
|
Example:
|
2020-03-05 10:01:40 +00:00
|
|
|
khard email --remove-first-line --parsable '%s'
|
2019-12-20 18:21:35 +00:00
|
|
|
|
|
|
|
Default: none
|
|
|
|
|
2022-01-31 14:28:58 +00:00
|
|
|
*reply-to-self*
|
2022-07-12 15:40:18 +00:00
|
|
|
If set to false, do not mail yourself when replying (e.g., if replying
|
|
|
|
to emails previously sent by yourself, address your replies to the
|
|
|
|
original To: and Cc:).
|
2022-01-31 14:28:58 +00:00
|
|
|
|
|
|
|
Default: true
|
|
|
|
|
2019-05-17 17:45:20 +00:00
|
|
|
## FILTERS
|
|
|
|
|
|
|
|
Filters allow you to pipe an email body through a shell command to render
|
|
|
|
certain emails differently, e.g. highlighting them with ANSI escape codes.
|
|
|
|
They are configured in the *[filters]* section of aerc.conf.
|
|
|
|
|
|
|
|
The first filter which matches the email's mimetype will be used, so order
|
|
|
|
them from most to least specific.
|
|
|
|
|
|
|
|
You can also match on non-mimetypes, by prefixing with the header to match
|
|
|
|
against (non-case-sensitive) and a comma, e.g. subject,text will match a
|
|
|
|
subject which contains "text". Use header,~regex to match against a regex.
|
|
|
|
|
2019-06-07 15:56:48 +00:00
|
|
|
aerc ships with some default filters installed in the share directory (usually
|
|
|
|
_/usr/share/aerc/filters_). Note that these may have additional dependencies
|
|
|
|
that aerc does not have alone.
|
2019-05-17 17:45:20 +00:00
|
|
|
|
2022-08-01 12:43:42 +00:00
|
|
|
Note that said email body is converted into UTF-8 before being passed to
|
|
|
|
filters.
|
|
|
|
|
2019-07-21 20:01:51 +00:00
|
|
|
## TRIGGERS
|
|
|
|
|
|
|
|
Triggers specify commands to execute when certain events occur.
|
|
|
|
|
|
|
|
They are configured in the *[triggers]* section of aerc.conf.
|
|
|
|
|
|
|
|
*new-email*
|
|
|
|
Executed when a new email arrives in the selected folder.
|
|
|
|
|
|
|
|
e.g. new-email=exec notify-send "New email from %n" "%s"
|
|
|
|
|
|
|
|
Default: ""
|
|
|
|
|
|
|
|
Format specifiers from *index-format* are expanded with respect to the new
|
|
|
|
message.
|
|
|
|
|
2020-01-23 17:18:40 +00:00
|
|
|
## TEMPLATES
|
2019-11-03 12:51:14 +00:00
|
|
|
|
|
|
|
Templates are used to populate the body of an email. The compose, reply
|
|
|
|
and forward commands can be called with the -T flag with the name of the
|
|
|
|
template name.
|
|
|
|
|
|
|
|
aerc ships with some default templates installed in the share directory (usually
|
|
|
|
_/usr/share/aerc/templates_).
|
|
|
|
|
2020-01-23 17:18:40 +00:00
|
|
|
These options are configured in the *[templates]* section of aerc.conf.
|
|
|
|
|
2019-11-03 12:51:14 +00:00
|
|
|
*template-dirs*
|
2022-02-19 13:06:57 +00:00
|
|
|
The directory where the templates are stored. The config takes
|
|
|
|
a colon-separated list of dirs. If this is unset or if a template cannot
|
|
|
|
be found, the following paths will be used as a fallback in that order:
|
2019-11-03 12:51:14 +00:00
|
|
|
|
2022-02-19 13:06:57 +00:00
|
|
|
```
|
2022-03-02 03:38:59 +00:00
|
|
|
${XDG_CONFIG_HOME:-~/.config}/aerc/templates
|
|
|
|
${XDG_DATA_HOME:-~/.local/share}/aerc/templates
|
2022-02-19 13:06:57 +00:00
|
|
|
/usr/local/share/aerc/templates
|
|
|
|
/usr/share/aerc/templates
|
|
|
|
```
|
|
|
|
|
|
|
|
Default: ""
|
2019-11-03 12:51:14 +00:00
|
|
|
|
2022-01-19 20:28:06 +00:00
|
|
|
*new-message*
|
|
|
|
The default template to be used for new messages.
|
|
|
|
|
|
|
|
Default: "new_message"
|
|
|
|
|
2019-11-03 12:51:14 +00:00
|
|
|
*quoted-reply*
|
2022-01-19 19:57:48 +00:00
|
|
|
The default template to be used for quoted replies.
|
2019-11-03 12:51:14 +00:00
|
|
|
|
|
|
|
Default: "quoted_reply"
|
|
|
|
|
|
|
|
*forwards*
|
2022-01-19 19:57:48 +00:00
|
|
|
The default template to be used for forward as body.
|
2019-11-03 12:51:14 +00:00
|
|
|
|
|
|
|
Default: "forward_as_body"
|
|
|
|
|
2019-05-17 17:45:20 +00:00
|
|
|
# ACCOUNTS.CONF
|
|
|
|
|
|
|
|
This file is used for configuring each mail account used for aerc. Each section
|
|
|
|
is the name of an account you want to configure, and the keys & values in that
|
|
|
|
section specify details of that account's configuration. In addition to the
|
|
|
|
options documented here, specific transports for incoming and outgoing emails
|
|
|
|
may have additional configuration parameters, documented on their respective man
|
|
|
|
pages.
|
|
|
|
|
|
|
|
Note that many of these configuration options are written for you, such as
|
|
|
|
*source* and *outgoing*, when you run the account configuration wizard
|
|
|
|
(*:new-account*).
|
|
|
|
|
2019-06-08 17:41:56 +00:00
|
|
|
*archive*
|
|
|
|
Specifies a folder to use as the destination of the *:archive* command.
|
|
|
|
|
|
|
|
Default: Archive
|
|
|
|
|
2022-05-30 12:34:18 +00:00
|
|
|
*check-mail*
|
|
|
|
Specifies an interval to check for new mail. Mail will be checked at
|
|
|
|
startup, and every interval. IMAP accounts will check for mail in all
|
|
|
|
unselected folders, and the selected folder will continue to receive PUSH
|
|
|
|
mail notifications. Maildir/Notmuch folders must use *check-mail-cmd* in
|
|
|
|
conjunction with this option. See *aerc-maildir* and *aerc-notmuch* for
|
|
|
|
more information.
|
|
|
|
|
|
|
|
Setting this option to 0 will disable check-mail
|
|
|
|
|
|
|
|
Example: 5m
|
|
|
|
|
|
|
|
Default: 0
|
|
|
|
|
2019-05-17 17:45:20 +00:00
|
|
|
*copy-to*
|
|
|
|
Specifies a folder to copy sent mails to, usually "Sent".
|
|
|
|
|
|
|
|
Default: none
|
|
|
|
|
|
|
|
*default*
|
|
|
|
Specifies the default folder to open in the message list when aerc
|
|
|
|
configures this account.
|
|
|
|
|
|
|
|
Default: INBOX
|
|
|
|
|
|
|
|
*folders*
|
2019-08-16 07:11:37 +00:00
|
|
|
Specifies the comma separated list of folders to display in the sidebar.
|
2019-08-20 04:04:21 +00:00
|
|
|
Names prefixed with ~ are interpreted as regular expressions.
|
2019-05-17 17:45:20 +00:00
|
|
|
|
|
|
|
Default: all folders
|
|
|
|
|
2020-07-01 07:52:14 +00:00
|
|
|
*folders-exclude*
|
|
|
|
Specifies the comma separated list of folders to exclude from the sidebar.
|
|
|
|
Names prefixed with ~ are interpreted as regular expressions.
|
|
|
|
Note that this overrides anything from *folders*.
|
|
|
|
|
|
|
|
Default: no folders
|
|
|
|
|
2021-11-13 08:10:09 +00:00
|
|
|
*enable-folders-sort*
|
|
|
|
If true, folders are sorted, first by specified folders (see *folders-sort*),
|
|
|
|
then alphabetically.
|
|
|
|
|
|
|
|
Default: true
|
|
|
|
|
2019-12-03 19:20:21 +00:00
|
|
|
*folders-sort*
|
|
|
|
Specifies a comma separated list of folders to be shown at the top of the
|
|
|
|
list in the provided order. Remaining folders will be sorted alphabetically.
|
|
|
|
|
|
|
|
Default: none
|
|
|
|
|
2019-05-17 17:45:20 +00:00
|
|
|
*from*
|
|
|
|
The default value to use for the From header in new emails. This should be
|
|
|
|
an RFC 5322-compatible string, such as "Your Name <you@example.org>".
|
|
|
|
|
|
|
|
Default: none
|
|
|
|
|
2020-08-20 17:22:50 +00:00
|
|
|
*aliases*
|
|
|
|
All aliases of the current account. These will be used to fill in the From:
|
|
|
|
field. Make sure that your email server accepts this value, or for example
|
|
|
|
use *aerc-sendmail*(5) in combination with msmtp and --read-envelope-from.
|
|
|
|
|
|
|
|
Default: none
|
|
|
|
|
2019-05-17 17:45:20 +00:00
|
|
|
*outgoing*
|
|
|
|
Specifies the transport for sending outgoing emails on this account. It
|
|
|
|
should be a connection string, and the specific meaning of each component
|
|
|
|
varies depending on the protocol in use. See each protocol's man page for
|
|
|
|
more details:
|
|
|
|
|
|
|
|
- *aerc-smtp*(5)
|
|
|
|
|
2019-05-21 18:31:14 +00:00
|
|
|
*outgoing-cred-cmd*
|
2019-05-18 19:34:16 +00:00
|
|
|
Specifies an optional command that is run to get the outgoing account's
|
2019-05-21 18:31:14 +00:00
|
|
|
password. See each protocol's man page for more details.
|
2019-05-18 19:29:26 +00:00
|
|
|
|
2019-05-21 18:31:14 +00:00
|
|
|
Default: none
|
2019-05-18 19:29:26 +00:00
|
|
|
|
2022-05-05 17:53:14 +00:00
|
|
|
*pgp-auto-sign*
|
|
|
|
If true, all outgoing emails from this account will be signed (if a signing
|
|
|
|
key is available)
|
|
|
|
|
|
|
|
Default: false
|
|
|
|
|
2022-04-25 13:30:44 +00:00
|
|
|
*pgp-key-id*
|
|
|
|
Specify the key id to use when signing a message. Can be either short or
|
|
|
|
long key id. If unset, aerc will look up the key by email
|
|
|
|
|
2022-05-05 17:53:14 +00:00
|
|
|
*pgp-opportunistic-encrypt*
|
|
|
|
If true, any outgoing email from this account will be encrypted when all
|
|
|
|
recipients (including "cc" and "bcc" field) have a public key available in
|
|
|
|
the keyring
|
|
|
|
|
|
|
|
Default: false
|
|
|
|
|
2020-04-24 09:42:21 +00:00
|
|
|
*postpone*
|
2020-04-24 22:04:35 +00:00
|
|
|
Specifies the folder to save postponed messages to.
|
2020-04-24 09:42:21 +00:00
|
|
|
|
|
|
|
Default: Drafts
|
|
|
|
|
2019-05-17 17:45:20 +00:00
|
|
|
*source*
|
|
|
|
Specifies the source for reading incoming emails on this account. This key
|
|
|
|
is required for all accounts. It should be a connection string, and the
|
|
|
|
specific meaning of each component varies depending on the protocol in use.
|
|
|
|
See each protocol's man page for more details:
|
|
|
|
|
|
|
|
- *aerc-imap*(5)
|
2019-07-11 13:44:54 +00:00
|
|
|
- *aerc-maildir*(5)
|
2019-08-05 07:16:10 +00:00
|
|
|
- *aerc-notmuch*(5)
|
2019-05-17 17:45:20 +00:00
|
|
|
|
|
|
|
Default: none
|
|
|
|
|
2019-05-21 18:31:14 +00:00
|
|
|
*source-cred-cmd*
|
2019-05-18 19:34:16 +00:00
|
|
|
Specifies an optional command that is run to get the source account's
|
2019-05-21 18:31:14 +00:00
|
|
|
password. See each protocol's man page for more details.
|
2019-05-18 19:29:26 +00:00
|
|
|
|
2019-09-11 19:28:14 +00:00
|
|
|
*signature-file*
|
|
|
|
Specifies the file to read in order to obtain the signature to be added
|
|
|
|
to emails sent from this account.
|
|
|
|
|
|
|
|
*signature-cmd*
|
|
|
|
Specifies the command to execute in *sh* in order to obtain the
|
|
|
|
signature to be added to emails sent from this account. If the command
|
|
|
|
fails then *signature-file* is used instead.
|
2019-05-18 19:29:26 +00:00
|
|
|
|
msgviewer: parse and display authentication results
Parse the Authentication-Results header and display it in the message
viewer (not enabled by default). DKIM, SPF and DMARC authentication
methods are supported. Implement recommendation from RFC 7601 Sec 7.1 to
have an explicit list of trustworthy hostnames before displaying the
authentication results. Be aware that the authentication headers can be
forged.
To display the results for a specific authentication method, add the
corresponding name to the layout of headers in the viewer section of
aerc.conf, e.g. to display all three, use:
header-layout = From|To,Cc|Bcc,Date,Subject,DKIM|SPF|DMARC
More information will be displayed when "+" is appended to the
authentication method name, e.g. DKIM+ or SPF+ or DMARC+.
Also, add the trustworthy hosts per account with the trusted-authres
parameter, e.g.
trusted-authres = *
to trust every host or use regular expressions for a finer control.
Multiple hosts can be entered as a comma-separated list. Authentication
results will only be displayed when the host is listed in the
trusted-authres list.
Link: https://datatracker.ietf.org/doc/html/rfc7601
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Tested-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-05-29 22:20:41 +00:00
|
|
|
*trusted-authres*
|
|
|
|
Comma-separated list of trustworthy hostnames from which the
|
|
|
|
Authentication Results header will be displayed. Entries can be regular
|
|
|
|
expressions. If you want to trust any host (e.g. for debugging),
|
|
|
|
use the wildcard \*.
|
|
|
|
|
2019-05-17 17:45:20 +00:00
|
|
|
# BINDS.CONF
|
|
|
|
|
|
|
|
This file is used for configuring keybindings used in the aerc interactive
|
|
|
|
client. You may configure different keybindings for different contexts by
|
|
|
|
writing them into different *[sections]* of the ini file. The available contexts
|
|
|
|
are:
|
|
|
|
|
|
|
|
*[messages]*
|
|
|
|
keybindings for the message list
|
|
|
|
|
|
|
|
*[view]*
|
|
|
|
keybindings for the message viewer
|
|
|
|
|
2022-03-14 03:03:34 +00:00
|
|
|
*[view::passthrough]*
|
|
|
|
keybindings for the viewer, when in key passthrough mode
|
|
|
|
(toggled with :toggle-key-passthrough)
|
|
|
|
|
2019-05-17 17:45:20 +00:00
|
|
|
*[compose]*
|
|
|
|
keybindings for the message composer
|
|
|
|
|
|
|
|
*[compose::editor]*
|
|
|
|
keybindings for the composer, when the editor is focused
|
|
|
|
|
|
|
|
*[compose::review]*
|
|
|
|
keybindings for the composer, when reviewing the email before it's sent
|
|
|
|
|
|
|
|
*[terminal]*
|
|
|
|
keybindings for terminal tabs
|
|
|
|
|
2021-12-10 21:27:29 +00:00
|
|
|
You may also configure account specific key bindings for each context:
|
|
|
|
|
|
|
|
*[context:account=<AccountName>]*
|
|
|
|
keybindings for this context and account, where <AccountName> matches
|
|
|
|
the account name you provided in *accounts.conf*.
|
|
|
|
|
2022-06-19 21:41:15 +00:00
|
|
|
Folder-specific bindings can be configured for message lists:
|
|
|
|
|
|
|
|
*[messages:folder=<FolderName>]*
|
|
|
|
keybindings under this section will be specific to the folder named
|
|
|
|
<FolderName>. Keybindings from a *folder* specifier will take precedence
|
|
|
|
over *account* specifiers
|
|
|
|
|
2021-12-10 21:27:29 +00:00
|
|
|
Example:
|
|
|
|
```
|
|
|
|
[messages:account=Mailbox]
|
|
|
|
c = :cf path:mailbox/** and<space>
|
|
|
|
|
|
|
|
[compose::editor:account=Mailbox2]
|
2022-06-19 21:41:15 +00:00
|
|
|
|
|
|
|
[messages:folder=Drafts]
|
|
|
|
<Enter> = :recall<Enter>
|
2021-12-10 21:27:29 +00:00
|
|
|
...
|
|
|
|
```
|
|
|
|
|
2019-05-17 17:45:20 +00:00
|
|
|
You may also configure global keybindings by placing them at the beginning of
|
|
|
|
the file, before specifying any context-specific sections. For each *key=value*
|
|
|
|
option specified, the _key_ is the keystrokes pressed (in order) to invoke this
|
|
|
|
keybinding, and _value_ specifies keystrokes that aerc will simulate when the
|
|
|
|
keybinding is invoked. Generally this is used to execute commands, for example:
|
|
|
|
|
|
|
|
rq = :reply -q<Enter>
|
|
|
|
|
|
|
|
Pressing r, then q, will simulate typing in ":reply -q<Enter>", and execute
|
|
|
|
:reply -q accordingly. It is also possible to invoke keybindings recursively in
|
|
|
|
a similar fashion. Additionally, the following special options are available in
|
|
|
|
each binding context:
|
|
|
|
|
|
|
|
*$noinherit*
|
|
|
|
If set to "true", global keybindings will not be effective in this context.
|
|
|
|
|
|
|
|
Default: false
|
|
|
|
|
|
|
|
*$ex*
|
|
|
|
This can be set to a keystroke which will bring up the command input in this
|
|
|
|
context.
|
|
|
|
|
|
|
|
Default: <semicolon>
|
|
|
|
|
|
|
|
In addition to letters, special keys may be specified in <angle brackets>. The
|
|
|
|
following special keys are supported:
|
|
|
|
|
|
|
|
[[ *Name*
|
|
|
|
:- *Description*
|
|
|
|
| space
|
|
|
|
: " "
|
|
|
|
| semicolon
|
|
|
|
: ;
|
|
|
|
| tab
|
|
|
|
:
|
|
|
|
| enter
|
|
|
|
:
|
|
|
|
| up
|
|
|
|
:
|
2021-10-25 13:20:34 +00:00
|
|
|
| c-up
|
|
|
|
: Ctrl+Up
|
2019-05-17 17:45:20 +00:00
|
|
|
| down
|
|
|
|
:
|
2021-10-25 13:20:34 +00:00
|
|
|
| c-down
|
|
|
|
: Ctrl+Down
|
2019-05-17 17:45:20 +00:00
|
|
|
| right
|
|
|
|
:
|
2021-10-25 13:20:34 +00:00
|
|
|
| c-right
|
|
|
|
: Ctrl+Right
|
2019-05-17 17:45:20 +00:00
|
|
|
| left
|
|
|
|
:
|
2021-10-25 13:20:34 +00:00
|
|
|
| c-left
|
|
|
|
: Ctrl+Left
|
2019-05-17 17:45:20 +00:00
|
|
|
| pgup
|
|
|
|
:
|
2021-10-25 13:20:34 +00:00
|
|
|
| c-pgup
|
|
|
|
: Ctrl+PageUp
|
2019-05-17 17:45:20 +00:00
|
|
|
| pgdn
|
|
|
|
:
|
2021-10-25 13:20:34 +00:00
|
|
|
| c-pgdn
|
|
|
|
: Ctrl+PageUp
|
2019-05-17 17:45:20 +00:00
|
|
|
| home
|
|
|
|
:
|
|
|
|
| end
|
|
|
|
:
|
|
|
|
| insert
|
|
|
|
:
|
|
|
|
| delete
|
|
|
|
:
|
|
|
|
| exit
|
|
|
|
:
|
|
|
|
| cancel
|
|
|
|
:
|
|
|
|
| print
|
|
|
|
:
|
|
|
|
| pause
|
|
|
|
:
|
|
|
|
| backtab
|
2019-06-04 03:07:54 +00:00
|
|
|
:
|
2019-05-17 17:45:20 +00:00
|
|
|
| c-space
|
|
|
|
: Ctrl+Space
|
|
|
|
| c-a
|
|
|
|
: Ctrl+a
|
|
|
|
| c-b
|
|
|
|
: Ctrl+b
|
|
|
|
| c-c
|
|
|
|
: Ctrl+c
|
|
|
|
| c-d
|
|
|
|
: Ctrl+d
|
|
|
|
| c-e
|
|
|
|
: Ctrl+e
|
|
|
|
| c-f
|
|
|
|
: Ctrl+f
|
|
|
|
| c-g
|
|
|
|
: Ctrl+g
|
|
|
|
| c-h
|
|
|
|
: Ctrl+h
|
|
|
|
| c-i
|
|
|
|
: Ctrl+i
|
|
|
|
| c-j
|
|
|
|
: Ctrl+j
|
|
|
|
| c-k
|
|
|
|
: Ctrl+k
|
|
|
|
| c-l
|
|
|
|
: Ctrl+l
|
|
|
|
| c-m
|
|
|
|
: Ctrl+m
|
|
|
|
| c-n
|
|
|
|
: Ctrl+n
|
|
|
|
| c-o
|
|
|
|
: Ctrl+o
|
|
|
|
| c-p
|
|
|
|
: Ctrl+p
|
|
|
|
| c-q
|
|
|
|
: Ctrl+q
|
|
|
|
| c-r
|
|
|
|
: Ctrl+r
|
|
|
|
| c-s
|
|
|
|
: Ctrl+s
|
|
|
|
| c-t
|
|
|
|
: Ctrl+t
|
|
|
|
| c-u
|
|
|
|
: Ctrl+u
|
|
|
|
| c-v
|
|
|
|
: Ctrl+v
|
|
|
|
| c-w
|
|
|
|
: Ctrl+w
|
|
|
|
| c-x
|
|
|
|
: Ctrl+x
|
|
|
|
| c-y
|
|
|
|
: Ctrl+y
|
|
|
|
| c-z
|
|
|
|
: Ctrl+z
|
|
|
|
| c-]
|
|
|
|
: Ctrl+]
|
|
|
|
| c-[
|
|
|
|
: Ctrl+[
|
|
|
|
| c-^
|
|
|
|
: Ctrl+^
|
2020-06-12 21:12:46 +00:00
|
|
|
| c-\_
|
|
|
|
: Ctrl+\_
|
2019-05-17 17:45:20 +00:00
|
|
|
|
|
|
|
# SEE ALSO
|
|
|
|
|
2019-07-27 15:19:49 +00:00
|
|
|
*aerc*(1) *aerc-imap*(5) *aerc-smtp*(5) *aerc-maildir*(5) *aerc-sendmail*(5)
|
2020-12-13 09:30:56 +00:00
|
|
|
*aerc-notmuch*(5) *aerc-stylesets*(7)
|
2019-05-17 17:45:20 +00:00
|
|
|
|
|
|
|
# AUTHORS
|
|
|
|
|
2022-01-26 10:41:20 +00:00
|
|
|
Originally created by Drew DeVault <sir@cmpwn.com> and maintained by Robin
|
2021-11-09 19:11:42 +00: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/.
|