From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id B2B716DE023B for ; Tue, 27 Nov 2018 12:02:04 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[AWL=0.001, 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 fujwcnMo-ZDs for ; Tue, 27 Nov 2018 12:02:03 -0800 (PST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id A13FD6DE0232 for ; Tue, 27 Nov 2018 12:02:03 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1gRjYW-00040x-7E; Tue, 27 Nov 2018 15:02:00 -0500 Received: (nullmailer pid 11657 invoked by uid 1000); Tue, 27 Nov 2018 20:01:59 -0000 From: David Bremner To: Jorge , notmuch@notmuchmail.org Subject: Re: Notmuch tags when OfflineIMAP creates a new folder with the same messages In-Reply-To: <02f6dc712139021c08a8237b16bab3f6@disroot.org> References: <02f6dc712139021c08a8237b16bab3f6@disroot.org> Date: Tue, 27 Nov 2018 16:01:59 -0400 Message-ID: <875zwinvbc.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 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: Tue, 27 Nov 2018 20:02:04 -0000 "Jorge" writes: > Hi. I work at Dataprev (a Brazilian state-owned federal IT company), > and here we use an email implementation called Expresso 3.0. I access > it via OfflineIMAP 7.2.1 on Debian buster. Recently I have gained > access to a shared folder hierarchy called "demandas.dica" (with Drafts, > Sent and Trash subfolders). OfflineIMAP could not handle it because its > name contains a "." which is the default sep character. > > On the OfflineIMAP mailing list, Nicolas Sebrecht recommended I choose > another sep character. I would choose '+', but I have not yet > configured it. What is holding me back is the fear that, when I set > sep = "+", OfflineIMAP will create a new 'INBOX+Sent' folder in place of > the current 'INBOX.Sent' and ditto for lots of other folders. Nicolas > confirmed this is how OfflineIMAP will behave. > > So my last doubt is, will Notmuch recognize that the emails are the > same, and keep my tags? Then after Notmuch indexes the "new" (renamed > copies) folders, can I delete the original folders? I _think_ it should be OK. Notmuch 1) Tracks file renames 2) Attaches tags to message-ids, not to files. As a precaution, it is always worthwhile to have a "notmuch dump" and or full backup before attempting anything drastic. d