Week Notes 2026.39
First steps with mu4e #
After last week’s trouble configuring Thunderbird I decided to ditch it in favour of a more user-friendly email client, so did some quick research into how people access their email with Emacs these days. It seems there are two main options: mu4e and notmuch.
I opted for mu4e because one of the blog posts I read suggested this was the easier of the two to use. The official documentation is great and I found these blog posts helpful:
- Mail in Emacs with mu4e and mbsync
- How I Configured Doom Emacs as an Email Client
- How To Use Email Within Emacs
I’m using it in conjunction with
mbsync to synchronise local
mailboxes with remote IMAP servers. On Ubuntu, this is installed via apt-get install isync. I ran into a permissions error trying to run it which I eventually
tracked down to this AppArmor error in syslog:
2026-09-19T15:23:40.967605+01:00 undesirable-alien kernel: audit: type=1400 audit(1789827820.965:2902): apparmor="DENIED" operation="open" class="file" profile="mbsync" name="/home/ray/Mail/" pid=122137 comm="mbsync" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Looking at /etc/apparmor.d/mbsync I saw it had permissions for owner @{HOME}/Mail/**/ rw, but not for @{HOME}/Mail itself, so I ran:
sudo sed -i -e '/owner @{HOME}\/.mbsyncrc r,/a\ owner @{HOME}/Mail/ rw,' /etc/apparmor.d/mbsync
sudo systemctl restart apparmor.service
With that small change mbsync started working.
First impression: it’s great! It took less than 2 minutes to do the initial indexing of more than 40,000 messages and search results are returned pretty much instantly. The keyboard shortcuts (bookmarks for searches and maildirs) make navigation a doddle. This could make reading email fun again and I’m wondering why I didn’t start using this years ago.
A Personal Search Engine #
A project I had in mind for some time was to write a personal search engine: implement a crawler to visit all the sites and documentation I find useful and build a full-text search index. Well, someone has beaten me to it: check out Hister. It can even import URLs to index from your Linkding bookmarks.
Listening #
- The King’s Peace (audiobook)
- Smashing Security: These researchers got drunk to hack an LG TV (podcast)
- Better in Person: How to Be a Double Unicorn (podcast)
- Cautionary Tales: The DeLorean Saga (podcast)
- Linux Dev Time: Episode 159 (podcast)
- Functional Design in Clojure: Episode 119 (podcast)
- Black Box - The Chatbots: Happy Accident (podcast)
- BSD Now: UNIX still powering the world (podcast)
- The Rest is Science: How Codes Were Used To Hack The Telegram (podcast)
- Better Offline: Stopping the AI Safety Cult (podcast)
- Black Box - The Chatbots: Life Raft (podcast)
- Linux After Dark: Episode 131 (podcast)
- Late Night Linux: Episode 405 (podcast)