aerc: Add accounts configuration template

Uses private from-email and email aliases fields.
This commit is contained in:
Marty Oehme 2025-09-23 09:58:29 +02:00
parent 9dcda2a53d
commit f88c80b129
Signed by: Marty
GPG key ID: 4E535BC19C61886E
3 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,21 @@
[Personal]
source = notmuch://~/documents/mail
maildir-store = ~/documents/mail
query-map = ~/.config/aerc/Personal.qmap
default = Inbox
folders-sort = Inbox,Drafts,Sent
check-mail-cmd = neomutt-syncmail
exclude-tags = spam
multi-file-strategy = act-dir-delete-rest
restrict-delete = true
outgoing = msmtp
from = {{with_default mail_aerc_from_email "Jane Doe <mail@jane.doe>"}}
{{#if mail_aerc_aliases_email}}
aliases = {{mail_aerc_aliases_email}}
{{/if}}
use-envelope-from = true
copy-to = Sent
pgp-opportunistic-encrypt = true
address-book-cmd = khard email --parsable --remove-first-line %s