From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.236.47.138 with SMTP id t10cs47183yhb; Sun, 6 Nov 2011 22:59:33 -0800 (PST) Received: by 10.52.93.166 with SMTP id cv6mr25075302vdb.52.1320649171013; Sun, 06 Nov 2011 22:59:31 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org. [205.234.109.19]) by mx.google.com with ESMTP id s5si3916449vcw.104.2011.11.06.22.59.30; Sun, 06 Nov 2011 22:59:31 -0800 (PST) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 552441678364; Mon, 7 Nov 2011 01:59:28 -0500 (EST) Received: from masanjin.net (masanjin.net [209.20.72.13]) by rubyforge.org (Postfix) with ESMTP id 16A91167835D for ; Mon, 7 Nov 2011 01:37:53 -0500 (EST) Received: from w by masanjin.net with local (Exim 4.71) (envelope-from ) id 1RNJ8x-0002fT-23 for sup-devel@rubyforge.org; Mon, 07 Nov 2011 06:57:19 +0000 From: William Morgan To: sup-devel In-reply-to: References: Date: Mon, 07 Nov 2011 06:57:19 +0000 Message-Id: <1320648596-sup-2551@masanjin.net> User-Agent: Sup/git Subject: Re: [sup-devel] heliotrope-syncback X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Sup developer discussion List-Id: Sup developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org 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 _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel