this post was submitted on 01 Nov 2023
3 points (100.0% liked)

Emacs

313 readers
3 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

Trying to use mu for searching in gnus and never getting any results. No error messages, just empty search. mu find on the command line works fine and returns what is expected (and does in mu4e as well), but this does not give me anything in Gnus. Any suggestions? ...

(setq gnus-secondary-select-methods
  '((nnmaildir "mail"
	   (directory "/home/britt/.local/share/mail")
	   (gnus-search-engine gnus-search-mu))))
you are viewing a single comment's thread
view the rest of the comments
[–] thetemp_@alien.top 1 points 1 year ago (2 children)

I ended up installing dovecot, along with one of the search engines it can use for server side imap searching. It works really well, is really fast, and didn't require setting up user databases or any of that stuff.

[–] brittAnderson@alien.top 1 points 1 year ago (1 children)

Thanks. I was doing that for a while, but when my University moved to office365 and I had to add davmail to the mix my refreshing for new mail got very slow as it insisted on looking at all the folders. I was hoping to just use nnmaildir and drop dovecot from the mix, but maybe I will find it easier to fix dovecot than get mu working.

[–] thetemp_@alien.top 1 points 1 year ago

What clicked it for me was realizing how simple the configuration could be. You only need to change a single line in the dovecot config to get it working (not including a bit more for the search plugin).

There were some old guides online with the dovecot command to include in the Gnus config, but that has changed, so I had to figure out the updated command to use. I can post that later if you like.

Nnmaildir works great for archives, but when I tried using it for my inbox and other folders, it didn't work out very well. Can't remember exactly what the problems were right now though.