To enable:
systemctl --user enable mbsync.timer
systemctl --user start mbsync.timer
Also, use 'pick-first for mu4e-context-policy
--- /dev/null
+[Unit]
+Description=Mailbox synchronization service
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/mbsync -Va
+StandardOutput=syslog
+StandardError=syslog
--- /dev/null
+[Unit]
+Description=Mailbox synchronization timer
+
+[Timer]
+OnCalendar=*:0/5
+Persistent=true
+Unit=mbsync.service
+
+[Install]
+WantedBy=timers.target
:config
(progn
(setq mu4e-maildir "~/mail"
:config
(progn
(setq mu4e-maildir "~/mail"
- mu4e-get-mail-command "mbsync -aq" ;; or fetchmail, or ...
+ mu4e-get-mail-command "mbsync -a" ;; or fetchmail, or ...
mu4e-update-interval 300 ;; update every 5 minutes
mu4e-view-show-addresses t
mu4e-headers-include-related t
mu4e-update-interval 300 ;; update every 5 minutes
mu4e-view-show-addresses t
mu4e-headers-include-related t
mu4e-drafts-folder "/amin/Drafts"
mu4e-trash-folder "/amin/Trash"
user-mail-address "amin@aminb.org"
mu4e-drafts-folder "/amin/Drafts"
mu4e-trash-folder "/amin/Trash"
user-mail-address "amin@aminb.org"
+ mu4e-context-policy 'pick-first
mu4e-contexts
(list (make-mu4e-context
:name "amin"
mu4e-contexts
(list (make-mu4e-context
:name "amin"