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))))
  • thetemp_@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    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.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      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.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        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.