From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.213.28.69 with SMTP id l5cs330976ebc; Sun, 17 Jan 2010 09:53:25 -0800 (PST) Received: by 10.224.87.100 with SMTP id v36mr1262658qal.159.1263750804236; Sun, 17 Jan 2010 09:53:24 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 6si10185914qwd.56.2010.01.17.09.53.23; Sun, 17 Jan 2010 09:53:24 -0800 (PST) Received-SPF: pass (google.com: domain of sup-talk-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-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id B6A0F18582E5; Sun, 17 Jan 2010 12:53:23 -0500 (EST) X-Greylist: delayed 88294 seconds by postgrey-1.31 at rubyforge.org; Sun, 17 Jan 2010 12:52:57 EST Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.216.182]) by rubyforge.org (Postfix) with ESMTP id B149C185826F for ; Sun, 17 Jan 2010 12:52:57 -0500 (EST) Received: by pxi12 with SMTP id 12so2635929pxi.33 for ; Sun, 17 Jan 2010 09:52:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.188.31 with SMTP id l31mr2455698waf.119.1263750776795; Sun, 17 Jan 2010 09:52:56 -0800 (PST) In-Reply-To: <1263740027-sup-751@masanjin.net> References: <1262776632-sup-1333@deepthought> <1262780979-sup-2146@changeling.local> <1262804701-sup-8673@deepthought> <6c0c31751001160921y6efe36cft6614df8e46175a57@mail.gmail.com> <1263672001-sup-2219@tilus.net> <1263740027-sup-751@masanjin.net> Date: Sun, 17 Jan 2010 12:52:56 -0500 Message-ID: <6c0c31751001170952ne597517s3824b6de02ed25b1@mail.gmail.com> From: Scott Henson To: William Morgan Cc: sup-talk Subject: Re: [sup-talk] Questions about offlineimap+msmtp+maildir+gmail syncing X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0553549437==" Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org --===============0553549437== Content-Type: multipart/alternative; boundary=0016e64cce9422b47d047d5fe8eb --0016e64cce9422b47d047d5fe8eb Content-Type: text/plain; charset=ISO-8859-1 On Sun, Jan 17, 2010 at 9:54 AM, William Morgan wrote: > Reformatted excerpts from Tero Tilus's message of 2010-01-16: > > Why would you need to do that? Afaik storing the maildir id to index > > should be enough so that you can map sup index back to maildir. Am I > > overlooking somethin here? > > Yeah, there's a Maildir#filename_for_id that you should be able to use. > > Using the maildir id as the sup id allows sup to play a little fast and loose with the access of mail in the maildir. I've got a 15% speed increase (measured by sup-sync --all). This also allows sup to play nice with other mail clients accessing the maildir. I'm down to the last few issues with my new maildir sync back code, I just can't get sup to show me the deleted and spam messages. I'm working on the next branch, and it seems like it might be having problems with ruby 1.8 that comes with F12 and I seem to be unable to get ruby 1.9 installed. Once I get things working I'll publish the branch to github. -- Scott Henson --0016e64cce9422b47d047d5fe8eb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sun, Jan 17, 2010 at 9:54 AM, William Morgan <wmorgan-sup@masanjin.net> wrote:
Reformatted excerpts from Tero Tilus's message of 2010-01-16:
> Why would you need to do that? =A0Afaik storing the = maildir id to index
> should be enough so that you can map sup index back to maildir. =A0Am = I
> overlooking somethin here?

Yeah, there's a Maildir#filename_for_id that you should be able t= o use.


Using the maildir = id as the sup id allows sup to play a little fast and loose with the access= of mail in the maildir.=A0 I've got a 15% speed increase (measured by = sup-sync --all).=A0 This also allows sup to play nice with other mail clien= ts accessing the maildir.=A0

I'm down to the last few issues with my new maildir sync back code,= I just can't get sup to show me the deleted and spam messages.=A0 I= 9;m working on the next branch, and it seems like it might be having proble= ms with ruby 1.8 that comes with F12 and I seem to be unable to get ruby 1.= 9 installed.=A0 Once I get things working I'll publish the branch to gi= thub.


--
Scott Henson
--0016e64cce9422b47d047d5fe8eb-- --===============0553549437== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk --===============0553549437==--