1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
.. _imap-developer-thoughts-notes:
.. Note: This document was converted from the original by Nic Bernstein
(Onlight). Any formatting mistakes are my fault and not the
original author's. Converted via the pandoc tool from HTML.
Cyrus IMAP Server: Notes
========================
- appending: it's important that the index records for individual
messages make it to disk before the index header indicating that
they're there. so something like:
#. sync messages to disk (or depend on ``link()`` being atomic)
#. create new index records, flush to disk
#. create new header if necessary (adding new user flag), flush to
disk
#. flush cache file
#. update index header, flush to disk
|