unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Tomas Nordin <tomasn@posteo.net>
To: Vika Shleina <kisik21@fireburn.ru>,
	Notmuch mailing list <notmuch@notmuchmail.org>
Subject: Re: How do you sync your mail constantly?
Date: Mon, 05 Nov 2018 20:35:17 +0100	[thread overview]
Message-ID: <87y3a7xqq2.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <154106218751.5999.17198424295053125022@sakura>

Hello Vika

Vika Shleina <kisik21@fireburn.ru> 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

      parent reply	other threads:[~2018-11-05 19:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-01  8:49 How do you sync your mail constantly? Vika Shleina
2018-11-03  7:23 ` William Casarin
2018-11-05 19:35 ` Tomas Nordin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y3a7xqq2.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me \
    --to=tomasn@posteo.net \
    --cc=kisik21@fireburn.ru \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).