Aerc: Difference between revisions
(Add first draft of the aerc wiki page) |
m (Specify what mbsync is being used for in the example configuration) |
||
Line 12: | Line 12: | ||
Settings specific to accounts (e.g. IMAP configuration) are stored in {{Path|$XDG_CONFIG_HOME/aerc/accounts.conf}} which should only be readable and writable by the owning user (permissions <code>600</code>) as it may store sensitive data like passwords in clear text. | Settings specific to accounts (e.g. IMAP configuration) are stored in {{Path|$XDG_CONFIG_HOME/aerc/accounts.conf}} which should only be readable and writable by the owning user (permissions <code>600</code>) as it may store sensitive data like passwords in clear text. | ||
An example account configration using [[Msmtp|msmtp]] for sending email and [[Mbsync|mbsync]] could look like this: | An example account configration using [[Msmtp|msmtp]] for sending email and [[Mbsync|mbsync]] for fetching email to a local maildirpp store could look like this: | ||
{{Cat|$XDG_CONFIG_HOME/aerc/accounts.conf|<nowiki>[primary] | {{Cat|$XDG_CONFIG_HOME/aerc/accounts.conf|<nowiki>[primary] |
Revision as of 19:35, 17 July 2023
aerc is a terminal email client (MUA) originally written by ~sircmpwn and now maintained by ~rjarry. It supports multiple accounts, mail synchronisation, GPG integration and more.
Installation
aerc is available in the Community repository.
# apk add aerc
Configuration
Configuration for aerc is stored in $XDG_CONFIG_HOME/aerc, with $XDG_CONFIG_HOME falling back to ~/.config if it is unset.
Settings specific to accounts (e.g. IMAP configuration) are stored in $XDG_CONFIG_HOME/aerc/accounts.conf which should only be readable and writable by the owning user (permissions 600
) as it may store sensitive data like passwords in clear text.
An example account configration using msmtp for sending email and mbsync for fetching email to a local maildirpp store could look like this:
Contents of $XDG_CONFIG_HOME/aerc/accounts.conf
The full configuration file format reference can be found in aerc-accounts(5)
.