Archive of RubyForge sup-devel mailing list
 help / color / mirror / Atom feed
* [sup-devel] Maildir synchronizing other labels
@ 2012-08-21 14:35 Edward Z. Yang
  2012-08-22  5:45 ` [sup-devel] [PATCH] Implement moving message between Maildir sources based on label Edward Z. Yang
  0 siblings, 1 reply; 8+ messages in thread
From: Edward Z. Yang @ 2012-08-21 14:35 UTC (permalink / raw)
  To: Damien Leone; +Cc: sup-devel

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-08-23 18:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-21 14:35 [sup-devel] Maildir synchronizing other labels Edward Z. Yang
2012-08-22  5:45 ` [sup-devel] [PATCH] Implement moving message between Maildir sources based on label Edward Z. Yang
2012-08-22  5:54   ` Edward Z. Yang
2012-08-22 20:09     ` Edward Z. Yang
2012-08-23 14:40       ` Edward Z. Yang
2012-08-23 14:52         ` Alvaro Herrera
2012-08-23 15:28           ` Edward Z. Yang
2012-08-23 18:20           ` Edward Z. Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox