mu4e is not indexing my emails

69 views
Skip to first unread message

miles christopher

unread,
Jan 5, 2021, 11:40:26 PM1/5/21
to mu4e

I have mu4e opened in Emacs, but mu4e is not indexing new emails. Does anybody
have this problem?

I have following option setted for update & index.

#+begin_src emacs-lisp
(setq mu4e-display-update-status-in-modeline t)
(setq mu4e-get-mail-command "proxychains getmail --rcfile numb...@gmail.com --rcfile stard...@outlook.com --rcfile stard...@qq.com")
;; background update & indexing
(setq mu4e-update-interval (* 60 30))
(setq mu4e-hide-index-messages t)
;; speed-up mu4e (re)index
(setq mu4e-index-lazy-check t)
#+end_src

But the new fetched emails is not shown up after a long time (2 or 3 hours).

I have to run command "=mu index=" to manually index new emails.

Here is my full mu4e config (you may want to check):

https://github.com/stardiviner/emacs.d/blob/develop/init/tools/init-mu4e.el

--
[ stardiviner ]
I try to make every word tell the meaning that I want to express.

Blog: https://stardiviner.github.io/
IRC(freenode): stardiviner, Matrix: stardiviner
GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Tassilo Horn

unread,
Jan 6, 2021, 1:29:38 AM1/6/21
to mu-di...@googlegroups.com
miles christopher <numb...@gmail.com> writes:

Hi Miles,

> I have mu4e opened in Emacs, but mu4e is not indexing new emails. Does
> anybody have this problem?

Nope. Or well, I think I've had this problem after upgrading from
stable 1.4.13 to beta 1.5.7. I've just thrown away the old DB and
re-indexed and since then it works fine.

> I have following option setted for update & index.
>
> ;; speed-up mu4e (re)index
> (setq mu4e-index-lazy-check t)

I'd try without this option. The docs say that it'll miss messages
modified outside of mu. Possibly your "proxychain getmail" message
receiving command doesn't update the maildir directory timestamps and
thusly mu with mu4e-index-lazy-check skips those.

(I for one find mu's indexing so increadibly fast that I don't see any
reason for performance optimizing options and I'm not on very high-end
hardware. Well, ok, I have an SSD which is probably the best
optimization for file access...)

Bye,
Tassilo

Christopher Miles

unread,
Jan 6, 2021, 10:08:09 AM1/6/21
to mu-di...@googlegroups.com, Tassilo Horn
Indeed, comment out this option and restart mu4e, then update, now mu4e index
new messages. Thanks a lot, Tassilo.
signature.asc
Reply all
Reply to author
Forward
0 new messages