From bd5280753c866c9ab35a9270f4164678ba4a6c9b Mon Sep 17 00:00:00 2001 From: Suvayu Ali Date: Sat, 20 Jun 2015 00:20:17 +0200 Subject: [PATCH] Re: ANNOUNCE: muchsync 1 - share notmuch DB across machines --- 52/8cd10504378efac1747228db2e43d63fe9cced | 126 ++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 52/8cd10504378efac1747228db2e43d63fe9cced diff --git a/52/8cd10504378efac1747228db2e43d63fe9cced b/52/8cd10504378efac1747228db2e43d63fe9cced new file mode 100644 index 000000000..4ab823e2c --- /dev/null +++ b/52/8cd10504378efac1747228db2e43d63fe9cced @@ -0,0 +1,126 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 846BA6DE1399 + for ; Fri, 19 Jun 2015 15:20:23 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.719 +X-Spam-Level: +X-Spam-Status: No, score=-0.719 tagged_above=-999 required=5 tests=[AWL=0.101, + DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, + RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, + SPF_PASS=-0.001] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id BJU4QPdNRk44 for ; + Fri, 19 Jun 2015 15:20:21 -0700 (PDT) +Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com + [74.125.82.49]) by arlo.cworth.org (Postfix) with ESMTPS id 57A1E6DE0AC2 for + ; Fri, 19 Jun 2015 15:20:21 -0700 (PDT) +Received: by wgbhy7 with SMTP id hy7so99724589wgb.2 + for ; Fri, 19 Jun 2015 15:20:19 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=sender:date:from:to:cc:subject:message-id:mail-followup-to + :references:mime-version:content-type:content-disposition + :in-reply-to:user-agent; + bh=mOaH23HOe8bNas4PeGMxsgNI4kWTrxlPwkCCQoPITt4=; + b=0opMvG1XFNkDDlwnFIedvrbV+GwKaNY6LipL1AOAj+LUUcc7odiEd9sTXs7CtASpNM + /YAnWmGK1FtB/+0kYcBdmEbOjtjEzvn/ql7Vy6XSEuV6NJDM6YFdIQZ3W6gVpfo4vkI1 + IAoc11BWpl1NqkYPmXMxoqzRk5MpWF4xa9DcDFP3bUnU1Fq4Vs5dn89I4wN+4rKmLNZo + 47DgThT7PEJ1/VgR+44mQARTJd23n48Ni8s6Fn5/K9Ms9THgv6eAhmGNxngbPic11r77 + H1bmIDV8+1jvlu23KtWKAPkSquBQo6GAR7jRGPy4cgL/gnV1SjK9ROYPl/N5Wan8PvOy + YeqQ== +X-Received: by 10.180.11.200 with SMTP id s8mr10271778wib.17.1434752419659; + Fri, 19 Jun 2015 15:20:19 -0700 (PDT) +Received: from chitra.no-ip.org (ip82-139-115-46.lijbrandt.net. + [82.139.115.46]) + by mx.google.com with ESMTPSA id um5sm18781755wjc.1.2015.06.19.15.20.18 + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Fri, 19 Jun 2015 15:20:18 -0700 (PDT) +Sender: Suvayu Ali +Date: Sat, 20 Jun 2015 00:20:17 +0200 +From: Suvayu Ali +To: David Mazieres +Subject: Re: ANNOUNCE: muchsync 1 - share notmuch DB across machines +Message-ID: <20150619222017.GF6484@chitra.no-ip.org> +Mail-Followup-To: David Mazieres , + notmuch@notmuchmail.org +References: <87vbeuhhuo.fsf@ta.scs.stanford.edu> + <20150619213412.GB27020@bhishma.no-ip.org> + <87pp4r4b3s.fsf@ta.scs.stanford.edu> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +In-Reply-To: <87pp4r4b3s.fsf@ta.scs.stanford.edu> +User-Agent: Mutt/1.5.23.1 (2014-03-12) +Cc: notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Fri, 19 Jun 2015 22:20:23 -0000 + +On Fri, Jun 19, 2015 at 02:55:19PM -0700, David Mazieres wrote: +> Suvayu Ali writes: +> +> > I noticed that the configure script didn't notice notmuch-devel was not +> > installed on my system. I noticed it when the compilation failed. Bug? +> +> What OS and distribution are you using? notmuch-devel sounds like +> something a linux distribution might do, rather than anything that's +> part of notmuch itself. On arch linux, for example, there's just a +> notmuch package that includes notmuch. +> +> Obviously there's no way to compile muchsync without notmuch installed. +> But if you elaborate on what it is you saw and what you would like to +> see I might be able to address it in the next release. + +Sorry, I wasn't specific. I'm on Fedora. On Fedora, packages are split +into runtime dependencies and build dependencies. So installing notmuch +will give you the notmuch binary as well as libnotmuch. Whereas if you +want to compile, the you install notmuch-devel to get the headers. + +When I ran the configure script, it failed couple of times. The first +time it could not find sqlite headers, the second time I was missing +libcrypto related headers. I installed sqlite-devel and openssl-devel +to resolve these. The configure script succeeded after this, when it +should have failed since the notmuch headers were missing. I realised +it when compilation failed. Installing notmuch-devel resolved this. + +> > Besides that, I had a question. I would like to synchronize just the +> > tags, not the maildirs, I want to use OfflineIMAP for that. Is that +> > possible? +> +> Not really, no. You could run offlineimap followed by muchsync, but you +> run the risk that mail will be delivered in the meantime. You could +> also run offlineimap to fetch your mail in the first place, and then +> muchsync to sync it between your devices. +> +> Can I ask why you would want to do this, anyway? Muchsync should be +> faster than notmuch, particularly if you have a lot of mail directories +> and/or are going to pay the cost of tag synchronization anyway. + +I don't quite have a very reliable connection between my server & +laptop. So I prefer to download my emails from the source, Gmail, at +both locations. I usually read and respond to emails from my laptop, +but I do use the server sometimes. So I only need to synchronise the +tags. I also keep the server around to synchronize a few more maildirs, +the ones I read irregularly and would prefer does not occupy valuable +disk space on my laptop. + +Cheers, + +-- +Suvayu + +Open source is the future. It sets us free. -- 2.26.2