[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sup-devel] Maildir synchronizing other labels



I think it would be nice if we at least support the :inbox label,
so that we can keep our inboxes tidy and our OfflineIMAP sync
times down.

Proposed implementation strategy:

    - Define a label/source mapping, as well as a default source for
      unrecognized labels and an ordering on labels if there is
      a conflict.  (Each Maildir folder is its own source.)

    - Implement moving messages between Maildir sources in Sup.
      Probably the easiest way is to do this:

        1. Copy message form old Maildir to new Maildir
        2. Add new Maildir copy to index (with all other tags
           and metadata added on)
        3. Delete old Maildir copy from index

      OfflineIMAP will then DTRT as long as SEARCH is supported,
      I think.

    - Hook in this behavior on the right places (label change,
      after message add)

    - Implement a script to go through old mail and move it.

Edward
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel