Change to offlineimap

This commit is contained in:
2025-10-14 02:25:15 -07:00
parent 12d8cc0e3e
commit fc6ab9dd9e

16
init.el
View File

@ -3166,12 +3166,12 @@ The name is compared with the field name using TESTFN (defaults to `equal')."
(advice-add 'mu4e--compose-setup-completion :after (advice-add 'mu4e--compose-setup-completion :after
'my/-mu4e-fix-cycle-threshold) 'my/-mu4e-fix-cycle-threshold)
(defvar my/mu4e-inbox-query (defvar my/mu4e-inbox-query
(concat "maildir:/protonmail/Inbox or maildir:/ucsc-gmail/Inbox")) (concat "maildir:/protonmail/INBOX or maildir:/ucsc-gmail/INBOX"))
(defvar my/mu4e-interesting-mail-query (defvar my/mu4e-interesting-mail-query
(concat "flag:unread AND NOT flag:trashed AND NOT " (concat "flag:unread AND NOT flag:trashed AND NOT "
"maildir:/protonmail/Trash AND NOT maildir:/protonmail/Spam AND NOT " "maildir:/protonmail/Trash AND NOT maildir:/protonmail/Spam AND NOT "
"maildir:/ucsc-gmail/[Gmail]/Trash AND NOT " "maildir:/ucsc-gmail/[Gmail].Trash AND NOT "
"maildir:/ucsc-gmail/[Gmail]/Spam") "maildir:/ucsc-gmail/[Gmail].Spam")
"Flag for mail which will appear as \"unread\" and will be notified.") "Flag for mail which will appear as \"unread\" and will be notified.")
(setq message-kill-buffer-on-exit t (setq message-kill-buffer-on-exit t
message-confirm-send t message-confirm-send t
@ -3185,7 +3185,7 @@ The name is compared with the field name using TESTFN (defaults to `equal')."
mu4e-attachment-dir "~/downloads/" mu4e-attachment-dir "~/downloads/"
mu4e-last-update-buffer " *mu4e-last-update*" mu4e-last-update-buffer " *mu4e-last-update*"
mu4e-index-update-error-warning nil mu4e-index-update-error-warning nil
mu4e-get-mail-command "mbsync -a" mu4e-get-mail-command "offlineimap"
mu4e-completing-read-function #'completing-read-default mu4e-completing-read-function #'completing-read-default
mu4e-compose-context-policy 'ask-if-none mu4e-compose-context-policy 'ask-if-none
mu4e-bookmarks `((:name "Inbox" mu4e-bookmarks `((:name "Inbox"
@ -3221,10 +3221,10 @@ The name is compared with the field name using TESTFN (defaults to `equal')."
(user-full-name . ,(my/get-private 'mu4e-name)) (user-full-name . ,(my/get-private 'mu4e-name))
(message-sendmail-extra-arguments . ("-a" "ucsc-gmail")) (message-sendmail-extra-arguments . ("-a" "ucsc-gmail"))
(message-signature . nil) (message-signature . nil)
(mu4e-refile-folder . "/protonmail/[Gmail]/All Mail") (mu4e-refile-folder . "/protonmail/[Gmail].All Mail")
(mu4e-sent-folder . "/ucsc-gmail/[Gmail]/Sent Mail") (mu4e-sent-folder . "/ucsc-gmail/[Gmail].Sent Mail")
(mu4e-drafts-folder . "/ucsc-gmail/[Gmail]/Drafts") (mu4e-drafts-folder . "/ucsc-gmail/[Gmail].Drafts")
(mu4e-trash-folder . "/ucsc-gmail/[Gmail]/Trash")))))) (mu4e-trash-folder . "/ucsc-gmail/[Gmail].Trash"))))))
(use-package mu4e-alert (use-package mu4e-alert
:after mu4e :after mu4e
:hook (after-init . mu4e-alert-enable-notifications) :hook (after-init . mu4e-alert-enable-notifications)