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 F29896DE01BB for ; Mon, 5 Nov 2018 11:35:26 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -1.987 X-Spam-Level: X-Spam-Status: No, score=-1.987 tagged_above=-999 required=5 tests=[AWL=0.514, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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 8z7L8Fku3BTj for ; Mon, 5 Nov 2018 11:35:24 -0800 (PST) Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) by arlo.cworth.org (Postfix) with ESMTPS id 42D416DE00E6 for ; Mon, 5 Nov 2018 11:35:23 -0800 (PST) Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id A3BBD21271 for ; Mon, 5 Nov 2018 20:35:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1541446520; bh=50Z3YvAKwjvxIoss/Hdyeu43rN2wZwSo4z2vyZK50Hs=; h=From:To:Subject:Date:From; b=FAk9Cph3zRRl5XTwz9//fEoKzKE/mPjCDP7T/X4tHUygQ1nzw8Am6+iSzVf0R/RRc QdzqnUPtkn1w9X5nqoNO59l12AXhd1Mqjcov7+3Id0mE6jWCzXJ6JDE2P9CbVu/4nN xC7u3x3CB2HdT8wc8m1eEINlxy7g1GFdPjHnrUnAKneP25PPxRMJs7q9CMa8WAEJQ1 mwz2nwEOHTkRsbP0zFs9ONy638cPuc2bqBXhcptvJFAqyI2FXiB6M19DyajmcEdNkw 9dVM2fD8juzcMQDg5Lgi+LZwSXNOelvKm4TfoS6rDdxsuZlSlR03RkVe69dMBehsKt 6/svnHroNYRrA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 42pjZG20BXz6tmD; Mon, 5 Nov 2018 20:35:18 +0100 (CET) From: Tomas Nordin To: Vika Shleina , Notmuch mailing list Subject: Re: How do you sync your mail constantly? In-Reply-To: <154106218751.5999.17198424295053125022@sakura> References: <154106218751.5999.17198424295053125022@sakura> Date: Mon, 05 Nov 2018 20:35:17 +0100 Message-ID: <87y3a7xqq2.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> 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: Mon, 05 Nov 2018 19:35:27 -0000 Hello Vika Vika Shleina writes: > Hello list! I encountered a bit of an UX issue, I think. How do you > synchronize mail constantly and index it with notmuch? I use offlineimap for syncing. Works perfect for me. I am syncing two mail accounts this way, using some mail service providers. Offlineimap works by keep running and I have it configured to sync every 4 minutes. Then I have a hook (postsynchook) in the offlineimap config that calls a script where I index and tag stuff with notmuch. It shouldn't be difficult to move messages between folders during that script, I guess before indexing with notmuch. > My current setup is mbsync in pre-hook, then post hook: alot + alot > move-mode + mbsync + notifymuch. All of this is run manually. The thing > is - I need to sync all folders since I move mails (so my INBOX would > not get clogged by mailing list messages when I'm viewing it on mobile). I do some refiling of mailing-list items, but semi-manually. I have key-bindings to mark messages with a tag 'rfile' and then in the 'hello' buffer I have a another key-binding to trigger the actual move between folders. I put those list-messages in a folder 'archive' which is not synced and hence gets deleted from server. (Not sure if this was also your concern but anyway). Happy Notmuching -- Tomas