aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2020-01-31 17:08:43 -0400
committerJason Gunthorpe <jgg@mellanox.com>2020-01-31 17:08:43 -0400
commit131d182e00549ad617b979765354f9364e050211 (patch)
tree38c0cce5e4dc69b48f9dba6f819294eae6d6de73 /README.md
parent4d303a4ab6c839766785d24fd093142e8fef190e (diff)
downloadcloud_mdir_sync-131d182e00549ad617b979765354f9364e050211.tar.gz
cloud_mdir_sync-131d182e00549ad617b979765354f9364e050211.tar.bz2
cloud_mdir_sync-131d182e00549ad617b979765354f9364e050211.zip
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 <jgg@mellanox.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
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