diff options
author | Thanos Apollo <[email protected]> | 2023-10-12 00:03:07 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-10-12 00:03:07 +0300 |
commit | 8694e843f6900d27a70a10d5afb034d98a1fb7bc (patch) | |
tree | 156d60ad60f045e4171556fb13678b53c760d006 /.emacs.d/modules/thanos-mu4e.el | |
parent | 9529c47d47a86b0843c4e2c556aa7397ea7f5ad2 (diff) |
emacs:(mu4e) Adjust for new values with uni's gmail account
Diffstat (limited to '.emacs.d/modules/thanos-mu4e.el')
-rw-r--r-- | .emacs.d/modules/thanos-mu4e.el | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/.emacs.d/modules/thanos-mu4e.el b/.emacs.d/modules/thanos-mu4e.el index e108ade..1ef42cd 100644 --- a/.emacs.d/modules/thanos-mu4e.el +++ b/.emacs.d/modules/thanos-mu4e.el @@ -31,9 +31,7 @@ (require 'smtpmail) - -(when is-zeus - (add-to-list 'load-path "/usr/share/emacs/site-lisp/mu4e/")) +(add-to-list 'load-path "/usr/share/emacs/site-lisp/mu4e/") (require 'mu4e) @@ -70,10 +68,10 @@ (setf mu4e-change-filenames-when-moving t) (setf mu4e-maildir-shortcuts - '(("/Public/Inbox" . ?I) - ("/Inbox" . ?i) + '(("/Inbox" . ?i) ("/Sent" . ?s) - ("/Emacs/dev" . ?e))) + ("/Emacs/dev" . ?e) + ("/MUSofia/[Gmail]/All Mail" . ?u))) (setf mu4e-contexts (list @@ -82,25 +80,27 @@ :match-func (lambda (msg) (when msg - (string-prefix-p "/" (mu4e-message-field msg :maildir)))) + (string-prefix-p "/Fastmail" (mu4e-message-field msg :maildir)))) :vars '((user-mail-address . "[email protected]") (user-full-name . "Thanos Apollo") + (smtpmail-smtp-server . "smtp.fastmail.com") + (smtpmail-smtp-service . 465) + (smtpmail-stream-type . ssl) (mu4e-drafts-folder . "/Drafts") (mu4e-sent-folder . "/Sent") (mu4e-refile-folder . "/Archive") (mu4e-trash-folder . "/Trash"))) (make-mu4e-context - :name "Fastmail" + :name "MUSofia" :match-func (lambda (msg) (when msg - (string-prefix-p "/" (mu4e-message-field msg :maildir)))) - :vars '((user-mail-address . "[email protected]") + (string-prefix-p "/MUSofia" (mu4e-message-field msg :maildir)))) + :vars '((user-mail-address . "[email protected]") (user-full-name . "Thanos Apollo") - (mu4e-drafts-folder . "/Drafts") - (mu4e-sent-folder . "/Sent") - (mu4e-refile-folder . "/Archive") - (mu4e-trash-folder . "/Trash"))))) + (smtpmail-smtp-server . "smtp.gmail.com") + (smtpmail-smtp-service . 465) + (smtpmail-stream-type . ssl))))) (setf message-send-mail-function 'smtpmail-send-it smtpmail-smtp-server "smtp.fastmail.com" |