dotfiles/notes/linux/aerc.md
2023-12-23 20:13:52 -07:00

1.1 KiB

Aerc - Allegedly "the world's best email client"

A terminal email client that's pretty decent out-of-the-box. Configuration is divided between 3 files, the most important one is accounts.conf described here

please pacman -S aerc w3m dante

You'll need an app password to login. This can be put directly after the email. Gmail has one here for example

source   = `imaps://emiliko%40gmail.com:passwordhere123@imap.gmail.com:993`

Or alternatively use the source-cred-cmd to retrieve a password through a program like pass, as shown below

[Gmail]
source   = `imaps://emiliko%40gmail.com@imap.gmail.com:993`
source-cred-cmd = `pass show gmail/primary/app_password`
outgoing = `smtps+plain://emiliko%40gmail.com@smtp.gmail.com:465`
outgoing-cred-cmd = `pass show gmail/primary/app_password`
default  = INBOX
from     = Emiliko Mirror <emiliko@gmail.com>
copy-to  = Sent
check-mail = 1m

For other email providers, look up their server names and port, for example Fastmail has them listed here