unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Vika Shleina <kisik21@fireburn.ru>
To: Notmuch mailing list <notmuch@notmuchmail.org>
Subject: How do you sync your mail constantly?
Date: Thu, 01 Nov 2018 11:49:47 +0300	[thread overview]
Message-ID: <154106218751.5999.17198424295053125022@sakura> (raw)

Hello list! I encountered a bit of an UX issue, I think. How do you
synchronize mail constantly and index it 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).
Probably INBOX can be put on IMAP PUSH, but other folders still need to
be synced manually.

The possible solutions are:

1. Put everything into some sort of cron job (systemd timer?). This
looks the easiest, but would sync mail only <X> minutes.

2. Get rid of first mbsync, make it only poll INBOX, then index it every
time a new message comes. Feels a bit impractical to run `notmuch new`
for every message, since I'm not that proficient in mbsync settings.
Also I'm using NixOS and home-manager to keep most of the setup working,
so maybe there would be a little more or a lot less config tweaking.

This setup also has a problem of overloading my mail server, which can
possibly crash it since I keep it on my RPi. Folder moves could probably
be run only every <X> minutes, but that would require somehow rewriting
my hooks.

3. Get rid of folder-moving. Would need to get rid of mobile mail access
too... probably.

4. Transfer the setup to mail server. Would take more time, but I would
be able to move and index messages even when my laptop is unavailable.
Also would require setting up Nix (since my server runs on Gentoo).

And to maybe think of alternative solution, I ask you - what do you use
to seamlessly sync your mail?

P. S. Is signature traditionally inserted with -- or with ---? just
wondering...

             reply	other threads:[~2018-11-01  8:49 UTC|newest]

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

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=154106218751.5999.17198424295053125022@sakura \
    --to=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).