Aerc

From Alpine Linux
Revision as of 19:34, 17 July 2023 by Witcher (talk | contribs) (Add first draft of the aerc wiki page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 could look like this:

Contents of $XDG_CONFIG_HOME/aerc/accounts.conf

[primary] check-mail-cmd = mbsync primary copy-to = Sent from = Full Name <name@example.com> outgoing = msmtp -a primary source = maildirpp://~/mail/primary

The full configuration file format reference can be found in aerc-accounts(5).

See also