LWN: Comments on "A year with Notmuch mail" https://lwn.net/Articles/705856/ This is a special feed containing comments posted to the individual LWN article titled "A year with Notmuch mail". en-us Fri, 05 Sep 2025 16:07:58 +0000 Fri, 05 Sep 2025 16:07:58 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net A year with Notmuch mail https://lwn.net/Articles/730757/ https://lwn.net/Articles/730757/ mathstuf <div class="FormattedComment"> I run it as a systemd user service. That takes care of hangs nicely at least.<br> </div> Sun, 13 Aug 2017 02:41:55 +0000 A year with Notmuch mail https://lwn.net/Articles/730754/ https://lwn.net/Articles/730754/ lsl <div class="FormattedComment"> <font class="QuotedText">&gt; In older versions of offlineimap, it at least had the good behavior to bail out on ctrl-c, so I could just cancel/restart it on trouble, nowadays it blocks that in some weird attempt to "complete" the sync operation, when there's this extremely commonly known hang behavior.</font><br> <p> Recent versions let you force quit using an additional pair of INTs.<br> </div> Sat, 12 Aug 2017 23:13:20 +0000 A year with Notmuch mail https://lwn.net/Articles/707645/ https://lwn.net/Articles/707645/ donio <div class="FormattedComment"> I have close to a million emails in notmuch as well and found that two new features in recent notmuch and xapain versions have helped to make it even more responsive:<br> <p> 1. The new Glass backend in Xapian 1.4+ speeds up searches and reduces the index size. Switching to this requires re-indexing all the mail which took several hours but was well worth it. (Make sure to backup and restore your tags)<br> <p> 2. Recent notmuch versions can take advantage of the new XAPIAN_DB_RETRY_LOCK feature to wait for the xapian db lock instead of exiting with an error. This got rid of some annoying search failures that sometimes happened when indexing a large batch of new mail. Enabling this just requires a recent enough notmuch compiled against a recent enough libxapian.<br> <p> <p> </div> Wed, 30 Nov 2016 02:01:35 +0000 A year with Notmuch mail https://lwn.net/Articles/706559/ https://lwn.net/Articles/706559/ k8to <div class="FormattedComment"> It really just doesn't recover from any socket stalls. These can be reproduced with local suspend/resumes, depending upon various factors. It's also possible to get them with spotty networks, typically I see this with mobile IP where I go in and out of network accessibility.<br> <p> In older versions of offlineimap, it at least had the good behavior to bail out on ctrl-c, so I could just cancel/restart it on trouble, nowadays it blocks that in some weird attempt to "complete" the sync operation, when there's this extremely commonly known hang behavior. So I have to carry patches around to unbreak it.<br> <p> I didn't know about isync, probably will move to it if it works.<br> </div> Wed, 16 Nov 2016 15:59:39 +0000 A year with Notmuch mail https://lwn.net/Articles/706356/ https://lwn.net/Articles/706356/ mathstuf <div class="FormattedComment"> What "hang" behavior have you seen with offlineimap? The only thing I've noticed is when the machine loses the network while syncing (e.g., suspending and resuming on a different network).<br> </div> Mon, 14 Nov 2016 12:06:13 +0000 A year with Notmuch mail https://lwn.net/Articles/706350/ https://lwn.net/Articles/706350/ peterhoeg <div class="FormattedComment"> I can strongly recommend isync over offlineimap for the following reasons:<br> <p> 1) it is MUCH faster<br> <p> 2) it doesn't hang the way that offlineimap does<br> <p> It was item 2 that drove me to isync - item 1 was simply an unexpected benefit.<br> </div> Mon, 14 Nov 2016 09:33:50 +0000 A year with Notmuch mail https://lwn.net/Articles/706298/ https://lwn.net/Articles/706298/ lmb <div class="FormattedComment"> I've been using notmuch for a long time - my archive says 2012 -, based on the mutt integration. The indexing/searching has been proven really incredibly useful.<br> <p> For syncing mails, I currently use offlineimap (I need to evaluate isync), and for outgoing mails msmtp with those queuing scripts. That all works together with mobile clients too.<br> <p> But, yes, notmuch is awesome!<br> <p> </div> Sat, 12 Nov 2016 14:50:00 +0000 A year with Notmuch mail https://lwn.net/Articles/706151/ https://lwn.net/Articles/706151/ jani <div class="FormattedComment"> And in case anyone's wondering how all the various pieces fit together, this should give a rough idea: <a href="https://notmuchmail.org/ecosystem/">https://notmuchmail.org/ecosystem/</a><br> </div> Thu, 10 Nov 2016 20:49:32 +0000 A year with Notmuch mail https://lwn.net/Articles/706137/ https://lwn.net/Articles/706137/ sagi <div class="FormattedComment"> For those of us that do not (yet?) use emacs, I can wholeheartily recommend the alot frontend (<a href="https://github.com/pazz/alot">https://github.com/pazz/alot</a>). It is really awesome, and much like emacs heavily customizable (through its use of Python). I came from mutt, wanted more of the tagging paradigm than the mutt frontends could provide me (yes, there are multiple, also pretty mature last time I tried) and have not looked back.<br> <p> The only current notmuch nit I have is MDA integration, e.g. direct delivery from postfix with notmuch insert --keep to avoid having to "poll" using notmuch new. You run into the same locking issues there, worst case communicating back delivery failures. Though I reported a bug and wrote a hacky patch, I have been too lazy to finalize and upstream it.<br> <p> Afew is worth checking out for automated tags based on e.g. List-Id. It also provides functionality to move mails between folders based on tags, which makes your backup IMAP able to show say just your inbox.<br> </div> Thu, 10 Nov 2016 18:34:47 +0000 A year with Notmuch mail https://lwn.net/Articles/706095/ https://lwn.net/Articles/706095/ jani <div class="FormattedComment"> Couple of more comments I picked up from the #notmuch channel on freenode (usually a very helpful place btw):<br> <p> Please send your feature requests and bug reports to the Notmuch mailing list. We track them as email, naturally. (If the only tool you have is a mail client, all problems look like email.)<br> <p> You could try turning off notmuch-hello-auto-refresh option to speed up notmuch hello.<br> <p> </div> Thu, 10 Nov 2016 12:35:01 +0000 A year with Notmuch mail https://lwn.net/Articles/706083/ https://lwn.net/Articles/706083/ jani <div class="FormattedComment"> Thanks for writing this. Here are some general and specific comments.<br> <p> While working on Notmuch, I've perceived everyone has their very own and personal way of managing email. Instead of forcing people into some workflow, we need to give people tools to support their workflows. Mechanism, not policy, if possible. That said, I like to encourage people to try and improve their workflows when switching to Notmuch, because there's so much more to it than your traditional mail client. One of the things I keep repeating is, folders are so 90s, tags are so 00s, saved searches are 10s. Personally, I don't understand the desire to categorize and label and tag a lot of stuff up front, manually or automatically, when in the end you can often just search for it, and have aliases for those queries. Giving up the, in my experience, futile attempts to categorize the firehose of email pointed at my general direction has been very liberating. But, as I said, your mileage *does* vary.<br> <p> There's another alternative to remote access with the Notmuch Emacs interface. Because the UI uses the Notmuch command-line interface, you can create a wrapper for the notmuch binary that runs it over ssh. So you'll have the Notmuch UI in local Emacs, but have your mail store, Notmuch database and Notmuch CLI on a remote machine. This allows you to e.g. save attachments on the local machine transparently. I use this on a daily basis, and IMHO it really works quite well. Details at <a href="https://notmuchmail.org/remoteusage/">https://notmuchmail.org/remoteusage/</a>.<br> <p> I see the problem with the Notmuch Emacs main screen ("notmuch hello") being slow with plenty of searches. I think most of the developers have moved on to using the "jump menu" where you can access your saved searches using 'j' key binding from basically any Notmuch buffer, without going through hello. You can define the shortcut keys for the jump menu through the customization interface. That said, we should fix this. In the mean time, saved searches also allow you to define your own function to use for counting the number of matches in hello; depending on your elisp-fu, you can do clever things there.<br> <p> For viewing threads, there are two alternatives, called show view and tree view. The former is a bit Gmail like, with the thread structure done using indentation. You can change the indentation according to your preferences, also to 0 if you like a flat view like Gmail. The latter is similar to mutt, with a thread structure pane and a message pane for showing a single message at a time. You can usually switch between the two by hitting 'Z' or 'S'. See <a href="https://notmuchmail.org/screenshots/">https://notmuchmail.org/screenshots/</a>. Does this help with the thread structure woes?<br> <p> With Notmuch 0.23 I think you could hack up the mail queue thing. We've switched to using 'notmuch insert' for Fcc, which indexes the outgoing messages, and lets you tag them. So you could build something around that. But, as you know, only the Emacs interface sends mail, and all of that is offloaded to what's available in Emacs already.<br> <p> </div> Thu, 10 Nov 2016 09:57:53 +0000 A year with Notmuch mail https://lwn.net/Articles/706082/ https://lwn.net/Articles/706082/ kzar <div class="FormattedComment"> Agreed, notmuch has a really great, active and friendly community behind it.<br> </div> Thu, 10 Nov 2016 08:52:36 +0000 A year with Notmuch mail https://lwn.net/Articles/706077/ https://lwn.net/Articles/706077/ mones <div class="FormattedComment"> Devil is in the detail, but not need to remember everything, of course ;-)<br> <p> Anyway, these you wrote are interesting points, thanks!<br> </div> Thu, 10 Nov 2016 08:24:33 +0000 A year with Notmuch mail https://lwn.net/Articles/706075/ https://lwn.net/Articles/706075/ neilbrown <div class="FormattedComment"> You want details from over a year ago??? ☺<br> <p> The syntax for describing a search is rather cryptic. The pop-up cheat-sheet helped but I have a memory that it didn't always help enough. Possibly it didn't make clear to me how quoting works - i.e. how to search for a string containing a space.<br> <p> I like saved searches. Claws does provide a recent history in a drop-down which helps, but doesn't help very much.<br> I also would often like a search to cross-over mailboxes. I don't think Claws supports that.<br> You can set up a search, then move from mailbox to mailbox and keep the search active which is sometimes nice, and sometimes annoying. I think it is configurable whether the search stays active when you switch mailboxes. Sometimes I want it to, sometimes not. Sometimes when I switch away, then switch back I want the old search to still be active, sometimes not.<br> <p> If the window which listed all mailboxes included some widget which meant "select this and apply the current search", and if you selected anywhere else it would select the mailbox without the current search, that might have felt easier to work with.<br> </div> Thu, 10 Nov 2016 08:02:39 +0000 A year with Notmuch mail https://lwn.net/Articles/706074/ https://lwn.net/Articles/706074/ mones <div class="FormattedComment"> Just curious, what did you miss from Claws Mail search interface?<br> </div> Thu, 10 Nov 2016 07:02:59 +0000 A year with Notmuch mail https://lwn.net/Articles/706062/ https://lwn.net/Articles/706062/ drag <div class="FormattedComment"> non-destructive mail folders. :)<br> <p> That's what I would like to see.<br> <p> A IMAP server were the folders are logically constructed based on notmuch queries. No editing or moving or copying around of the original emails at all.<br> </div> Thu, 10 Nov 2016 02:36:59 +0000 notmuch and mail.runner https://lwn.net/Articles/706048/ https://lwn.net/Articles/706048/ tridge <div class="FormattedComment"> I also use notmuch, with the emacs interface. I'm pretty happy with it.<br> I use it with mail.runner, a shell script wrapper around rsync for grabbing mail efficiently over ssh<br> <a href="https://github.com/tridge/junkcode/blob/master/mail.runner">https://github.com/tridge/junkcode/blob/master/mail.runner</a><br> <p> </div> Wed, 09 Nov 2016 22:13:29 +0000 A year with Notmuch mail https://lwn.net/Articles/706043/ https://lwn.net/Articles/706043/ adirat <div class="FormattedComment"> I have to say I found the notmuch community one of the most pleasant, easy to work with and contribute to. I really wish all maintainers were like these guys. Great software, great people. <br> </div> Wed, 09 Nov 2016 20:31:48 +0000 bonus: integration with org-mode https://lwn.net/Articles/706039/ https://lwn.net/Articles/706039/ tnoo <div class="FormattedComment"> One of the main advantages of notmuch, except for the tagging and very fast search, is the integration into org-mode. Capturing a TODO item keeps a link to the message in the task list, so there is the context in the diary and the todo list (e.g. details of invitations, reqests etc.)<br> <p> As for asynchronous mail delivery: since notmuch does not deliver email, you could use something like msmtp, and the scripts to queue mail delivery. <br> <p> <p> </div> Wed, 09 Nov 2016 20:24:21 +0000 A year with Notmuch mail https://lwn.net/Articles/706037/ https://lwn.net/Articles/706037/ josh <div class="FormattedComment"> In terms of remote access, I'd love to see an IMAP server with fully integrated notmuch indexing, such that you can run notmuch queries and search folders via IMAP, from a normal IMAP client.<br> </div> Wed, 09 Nov 2016 20:03:36 +0000