From 131d182e00549ad617b979765354f9364e050211 Mon Sep 17 00:00:00 2001 From: Jason Gunthorpe Date: Fri, 31 Jan 2020 17:08:43 -0400 Subject: Add a --offline option This allows treating the local message flags as authoritative during program startup. Messages marked locally as deleted will be deleted on the server during startup. For safety, this never considers the absence of a message locally as a deletion. Signed-off-by: Jason Gunthorpe --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 41989a2..2390056 100644 --- a/README.md +++ b/README.md @@ -147,6 +147,14 @@ 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. +## Offline Mode + +The `--offline` command line argument will allow cloud-mdir-sync to trust the +local message flags. This mode is slightly dangerous as any dual-edit of +message flags (including deletion or undeletion!) will be resolved in favor of +the local state, not the cloud state. For message deletion to work with +offline mode the MUA must use the Trash flag. + # Mail User Agent Configuration cloud-mdir-sync will work with any Maildir based MUA, however things will work -- cgit v1.2.3