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

Re: [sup-devel] [PATCH] Implement moving message between Maildir sources based on label.



Yes. The current plan is to snoop the message ID of newly added messages
in maildirs, and do moved message detection based on that.  If you have a
better idea I'm all ears. (Another possibility is to add sha1sum to the
index and compare that.)

Also note that it won't destroy the labels *unless you run OfflineIMAP*.
The trouble is OfflineIMAP reuploads your message and then reassigns
the UID based on the IMAP server, but doesn't communicate this back to Sup.

Edward

Excerpts from Alvaro Herrera's message of Thu Aug 23 10:52:21 -0400 2012:
> Excerpts from Edward Z. Yang's message of jue ago 23 10:40:22 -0400 2012:
> > It looks like the current patchset will *destroy* all labels you have
> > on messages, so be careful! (This was masked for me since most of my
> > labels are from before-add-message.rb, and that hook gets reapplied)
> 
> Thanks for the notice.  Most of my labels come from that hook too, but a
> few do not, so I could easily lose some!  I was planning on trying out
> your patch, but with this caveat I'm likely to refrain.  Are you
> planning on submitting a fixed version?
> 
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel