~rjarry/aerc

e3bd0771b2286952b38bac9bc5786be708d9f253 — Bence Ferdinandy a month ago d78c240 wiki
notmuch: document copy-to with maildir+notmuch

Signed-off-by: Bence Ferdinandy <bence@ferdinandy.com>
Reviewed-by: inwit <inwit@sindominio.net>
Acked-by: Robin Jarry <robin@jarry.cc>
1 files changed, 9 insertions(+), 1 deletions(-)

M configurations/notmuch.md
M configurations/notmuch.md => configurations/notmuch.md +9 -1
@@ 2,11 2,19 @@
title: "aerc-wiki: Configurations/Notmuch"
---

# Emulating copy-to for the notmuch backend
# copy-to for the notmuch backend

Currently, the notmuch backend does not support the `copy-to` setting in
`accounts.conf`.

## current best practice

In more recent versions, it's possible to set in `accounts.conf`
a `maildir-store` for notmuch (see `aerc-notmuch(5)`), which makes it what we
call "notmuch+maildir".  With this set, the `copy-to` setting will work.

## older solution

One way to work around this is to leverage `notmuch insert`. It works by
inserting the email being sent in the notmuch database and the maildir backing
it, which can then be synchronized to the remote IMAP server using your