From 4d303a4ab6c839766785d24fd093142e8fef190e Mon Sep 17 00:00:00 2001 From: Jason Gunthorpe Date: Fri, 31 Jan 2020 16:48:20 -0400 Subject: Document how to setup the Trash mode Signed-off-by: Jason Gunthorpe --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index c160da2..41989a2 100644 --- a/README.md +++ b/README.md @@ -147,6 +147,19 @@ With this design the maildir files are never disturbed. Even if the cloud side changes UIDs the content hash matching will keep the same filename for the maildir after re-downloading the message. +# Mail User Agent Configuration + +cloud-mdir-sync will work with any Maildir based MUA, however things will work +best if the MUA is configured to set the Trash flag on the message rather than +deleting them from the folder. Using the Trash flag allows cloud-mdir-sync to +keep track of changes in message flags during deletion. + +For mutt use the following configuration: + +``` +set maildir_trash = yes +``` + # Future Work/TODO - Use delta queries on mailboxes with MS Graph. Delta queries allow downloading only changed message meta-data and will accelerate polling of -- cgit v1.2.3