aboutsummaryrefslogtreecommitdiffstats
path: root/worker/imap/imap.go
diff options
context:
space:
mode:
authorJulian Pidancet <julian.pidancet@oracle.com>2022-10-26 22:29:04 +0200
committerRobin Jarry <robin@jarry.cc>2022-10-27 21:45:24 +0200
commitc7bfe4e490fb1fcf779edceb23c96301eb763b47 (patch)
tree27de60f42275414bb392a853166714d1c6b24672 /worker/imap/imap.go
parentea10b329ddd18573fdb066a1a3293c839d839fbd (diff)
downloadaerc-c7bfe4e490fb1fcf779edceb23c96301eb763b47.tar.gz
notmuch: add maildir support
By associating the notmuch database with a maildir store, we can add the Copy/Move/Delete operations on messages to the notmuch backend. This change assumes that the notmuch database location is also the root of the maildir store. In a previous change, we added the ability to dynamically add and remove message files to the notmuch DB. This change uses this facility to synchronize the database with the filesystem operations on maildir files. While it's still possible to use the query-map file to create virtual folders from notmuch search queries, the sidebar is now loaded with the folders found in the maildir store. With notmuch, two identical but distinct message files can be indexed in the database with the same key. This change takes extra care of only deleting or removing message files from the maildir corresponding to the folder that is currently selected (if any). Implements: https://todo.sr.ht/~rjarry/aerc/88 Fixes: https://todo.sr.ht/~rjarry/aerc/73 Signed-off-by: Julian Pidancet <julian.pidancet@oracle.com> Acked-by: Robin Jarry <robin@jarry.cc> Acked-by: Tim Culverhouse <tim@timculverhouse.com>
Diffstat (limited to 'worker/imap/imap.go')
0 files changed, 0 insertions, 0 deletions