[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sup-devel] heliotrope-syncback
Hi Matthieu,
Reformatted excerpts from Matthieu Rakotojaona's message of 2011-11-02:
> I am playing around with heliotrope, and I've managed to writo a ruby
> script to sync changes you made there in your IMAP mailbox.
Cool!
> When you
> send a mail with GMail, it is automatically added in GMail "Sent"
> mail, so I thought heliotrope could automagically thread it, but I
> haven't tested yet.
That should work.
> The changes in thu imap folder happen like this :
> - search for a thread with the "subject" we are interested in
This is problematic. Message subjects are definitely not unique. You
should match up the Message-Id fields instead, if that's at all possible
with IMAP.
If it's not possible, well, IMAP does have a notion of a per-message
ids, but it's fraught with difficulties...
> I don't know about how the threading happens in heliotrope, but I hope
> both are the same
They will mostly be the same, but it's not guaranteed and you will see
some differences.
> - I've heard the ruby IMAP lib is buggy; what is it exactly ?
In my experience, I haven't found any large bugs, just hard-to-debug
issues in the error-handling, and general slowness (though that is
probably attributable to the IMAP protocol itself).
Keep up the good work!
--
William <wmorgan-sup@masanjin.net>
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel