diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2020-01-31 17:08:43 -0400 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-01-31 17:08:43 -0400 |
commit | 131d182e00549ad617b979765354f9364e050211 (patch) | |
tree | 38c0cce5e4dc69b48f9dba6f819294eae6d6de73 /README.md | |
parent | 4d303a4ab6c839766785d24fd093142e8fef190e (diff) | |
download | cloud_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.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |