Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 30316431FBC for ; Thu, 14 Jan 2010 14:32:47 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.683 X-Spam-Level: X-Spam-Status: No, score=-1.683 tagged_above=-999 required=5 tests=[AWL=0.916, BAYES_00=-2.599] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QZKeE5uVlhKk for ; Thu, 14 Jan 2010 14:32:46 -0800 (PST) Received: from clegg.madduck.net (clegg.madduck.net [193.242.105.96]) by olra.theworths.org (Postfix) with ESMTP id 36CDC431FAE for ; Thu, 14 Jan 2010 14:32:46 -0800 (PST) Received: from lapse.rw.madduck.net (unknown [IPv6:2404:130:0:1000:20a:e4ff:fe30:4316]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "lapse.rw.madduck.net", Issuer "CAcert Class 3 Root" (verified OK)) by clegg.madduck.net (postfix) with ESMTPS id 237CA1D4097; Thu, 14 Jan 2010 23:32:38 +0100 (CET) Received: by lapse.rw.madduck.net (Postfix, from userid 1000) id D6EB02484; Fri, 15 Jan 2010 11:32:33 +1300 (NZDT) Date: Fri, 15 Jan 2010 11:32:33 +1300 From: martin f krafft To: mailtags discussion list , notmuch discussion list Message-ID: <20100114223233.GA22864@lapse.rw.madduck.net> Mail-Followup-To: mailtags discussion list , notmuch discussion list References: <20100111221909.GA30299@lapse.rw.madduck.net> <87hbqpfp47.fsf@yoom.home.cworth.org> <20100114080421.GA17305@lapse.rw.madduck.net> <87k4vke349.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: <87k4vke349.fsf@yoom.home.cworth.org> X-Motto: Keep the good times rollin' X-OS: Debian GNU/Linux squeeze/sid kernel 2.6.32-trunk-686 i686 X-Spamtrap: madduck.bogus@madduck.net X-Subliminal-Message: debian/rules! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.95.3 at clegg X-Virus-Status: Clean Subject: Re: [notmuch] Idea for storing tags X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Thu, 14 Jan 2010 22:32:47 -0000 --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable also sprach Carl Worth [2010.01.15.1124 +1300]: > > You might have marked a message 'read' on one machine and if the two > > get out of sync on another machine, you might have the same message > > unread there. >=20 > That's a different issue though. With two databases there's clearly the > opportunity for the two databases to be out of synch. >=20 > But you talked about the database being out of synch with respect to the > mailstore. And that's something I just don't understand, (given the > assumption that all tags are stored in the database---which was the > explicit description of the case of interest). Yes, we are talking about the situation where the tagstore is seperate from the mailstore, and that they are both synchronised with a server, or between machines, separately. If for some reason you only synchronise the mailstore =E2=80=94 say because the connection drops before the sync of the tagstore completes =E2=80=94 then you end up with an out-of-sync situation, because the mailstore-sync will have pulled in a new message, but not the associated tags. So if you had already read this message on another machine and tagged it 'done', then it would show up on this machine as 'new' without the 'done' tag, because the tags were not synchronised. The only way to really solve this is by transferring a message and its tags in a transactional way. > > Shouldn't this just be solved? I've had formail+procmail delete my > > duplicates for 10+ years, and while I don't like the fact that > > I usually get the CC before the list mail, and thus cannot filter on > > Delivered-To, I have never looked back. >=20 > Notmuch has access to all the information it needs to allow you to > delete the CC version once the list mail arrives. So you could do > notmuch-based deletion now and avoid losing the Delivered-To header if > you want. Of course. I hadn't thought that far. However, there are still benefits to formail, namely avoiding having to run duplicates through potentially expensive spamfilters. > I think that synchronizing the mail store and synchronizing the > tags information are tasks that have different requirements, and > for which we may well want different tools. Fair enough. Maybe I am just paranoid about the stores getting out of sync (see above). --=20 martin | http://madduck.net/ | http://two.sentenc.es/ =20 "we all know linux is great... it does infinite loops in 5 seconds." -- linus torvalds =20 spamtraps: madduck.bogus@madduck.net --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature; name="digital_signature_gpg.asc" Content-Description: Digital signature (see http://martin-krafft.net/gpg/) Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEAREDAAYFAktPm34ACgkQIgvIgzMMSnUF7QCglzthX01OAmAEUQjwRZ0Wb0Wx YY8AoM0uYHBcB/22YflVBcVb/OsAzw6j =FnB6 -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd--