summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-03-14 15:02:38 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-03-14 15:05:15 +0100
commitc5ed75e20848d5318b5677cc9574dc5339a78320 (patch)
tree8303b0d921edd2559448919b4fef31a15e830bc6
parentb5720e72cc49bf673e3531cb2c401e80cf720303 (diff)
email: Use mbsync instead of offlineimap.
-rw-r--r--init.org8
1 files changed, 6 insertions, 2 deletions
diff --git a/init.org b/init.org
index 6233867..4912121 100644
--- a/init.org
+++ b/init.org
@@ -951,10 +951,10 @@ TODO: this is a big blob of email configuration. Document this properly!
(setq shr-color-visible-luminance-min 30)
-(setq mu4e-get-mail-command "offlineimap"
+(setq mu4e-get-mail-command "/home/rekado/.guix-home/profile/bin/mbsync -c /home/rekado/.config/mbsync.conf -a"
mu4e-compose-signature-auto-include nil
mu4e-compose-dont-reply-to-self t
- mu4e-update-interval 60
+ mu4e-update-interval nil
mu4e-headers-include-related t)
(setq mu4e-use-fancy-chars t)
@@ -965,6 +965,10 @@ TODO: this is a big blob of email configuration. Document this properly!
;; manually with "g".
(setq mu4e-headers-auto-update nil)
+;; Rename files when moving. This is NEEDED when using mbsync or else
+;; there is a problem of duplicate UIDs!
+(setq mu4e-change-filenames-when-moving t)
+
(setq mu4e-view-show-addresses t)
(setq mu4e-hide-index-messages t)
(setq mu4e-html2text-command 'mu4e-shr2text)