[offlineimap] mbnames: add option to write the file once (#178)

Ben Boeckel notifications at github.com
Sun Mar 22 18:44:15 GMT 2015

The basic problem is in the context of syncing multiple accounts where
one is fast and the others are slower (due to the number of folders).
When the fast account completes, the other accounts are partially
through the list and if the file is read during this time, the list can
be useless. However, in the general case, the file is probably left
around from a previous run of offlineimap and is more correct, so add an
option to leave it alone until all syncing is done.

Incremental is still the default since this running offlineimap using
its own timer setup is likely the most common setup. Turning it off
works best with one-shot mode triggered by cron or systemd timers.

Signed-off-by: Ben Boeckel <mathstuf at gmail.com>
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * mbnames: add option to write the file once

-- File Changes --

    M offlineimap.conf (4)
    M offlineimap/accounts.py (2)
    M offlineimap/init.py (4)
    M offlineimap/mbnames.py (12)

-- Patch Links --


Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20150322/050175a4/attachment-0002.html>

More information about the OfflineIMAP-project mailing list