aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-05-29 10:45:27 +0800
committerAaron LI <aly@aaronly.me>2017-05-29 10:45:27 +0800
commit68d61a33ab78a6e43582e8ff49fd44210e80be93 (patch)
treebb8cd35305c643d01d58b65d48264d4740eb7c00
parent4c87dfe07a8ac32e053b95d71dd6cd9f53d57803 (diff)
downloaddotfiles-68d61a33ab78a6e43582e8ff49fd44210e80be93.tar.bz2
spacemacs/mu4e: Do not invoke program to get mail, but only update index
-rw-r--r--_spacemacs.d/config/my-mu4e.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/_spacemacs.d/config/my-mu4e.el b/_spacemacs.d/config/my-mu4e.el
index 1c2daee..13478e6 100644
--- a/_spacemacs.d/config/my-mu4e.el
+++ b/_spacemacs.d/config/my-mu4e.el
@@ -215,10 +215,11 @@
message-sendmail-extra-arguments '("--read-envelope-from")
sendmail-program "msmtp")
- ;; allow for fetch mail and update index using 'U' in the main view
- (setq mu4e-get-mail-command "mbsync -a")
- ;; get mail and update index periodically in the background (unit: seconds)
- (setq mu4e-update-interval 900)
+ ;; Allow for fetch mail and update index using 'U' in the main view
+ ;; NOTE: I use own cron/shell task to get/sync email
+ (setq mu4e-get-mail-command "true")
+ ;; Get mail and update index periodically in the background (unit: seconds)
+ (setq mu4e-update-interval 300)
;; set shortcuts for frequent mail folders (also used by moving messages)
;; NOTE: do not use shortcut `o' as it is used for `[o]ther'