mail: Remove mail configuration for lacure

* user-config/mbsync/.mbsyncrc: Remove lacure mbsync configuration

* user-config/emacs/.emacs.d/config.org (Email - Mu4e): Remove mu4e configuration for lacure
This commit is contained in:
Collin J. Doering 2023-04-07 22:59:45 -04:00
parent faaf895d2a
commit c1c9e82806
Signed by: rekahsoft
GPG Key ID: 7B4DEB93212B3022
2 changed files with 2 additions and 69 deletions

View File

@ -1224,41 +1224,7 @@ Leverage [[https://github.com/seagle0128/all-the-icons-ibuffer][all-the-icons-ib
"Engineering Manager, NoRedInk\n"
"P: 519-500-0931\n"
"F: 844-667-3346\n"
"https://www.noredink.com\n\n"))))
,(make-mu4e-context
:name "Lacure"
:enter-func (lambda () (mu4e-message "Entering Lacure context"))
:leave-func (lambda () (mu4e-message "Leaving Lacure context"))
;; we match based on the contact-fields of the message
:match-func (lambda (msg)
(when msg
(mu4e-message-contact-field-matches msg :to "collin@lacure.com")))
:vars `((user-mail-address . "collin@lacure.com")
(user-full-name . "Collin J. Doering")
(mu4e-sent-folder . "/collin@lacure.com/Sent Items")
(mu4e-drafts-folder . "/collin@lacure.com/Drafts")
(mu4e-trash-folder . "/collin@lacure.com/Deleted Items")
(mu4e-refile-folder . "/collin@lacure.com/Archive")
(mu4e-maildir-shortcuts . (("/collin@lacure.com/Inbox" . ?i)
("/collin@lacure.com/Archive" . ?a)
("/collin@lacure.com/Sent Items" . ?s)
("/collin@lacure.com/Drafts" . ?d)
("/collin@lacure.com/Important" . ?f)
("/collin@lacure.com/Deleted Items" . ?t)
("/collin@lacure.com/Junk Email" . ?J)))
(mu4e-bookmarks . ((:name "Unread messages"
:query "flag:unread AND NOT flag:trashed AND maildir:/collin@lacure.com/*"
:key ?u)
(:name "Today's messages"
:query "date:today..now AND maildir:/collin@lacure.com/*"
:key ?t)
(:name "Last 7 days"
:query "date:7d..now AND maildir:/collin@lacure.com/*"
:key ?w)
(:name "Messages with images"
:query "mime:image/* AND maildir:/collin@lacure.com/*"
:key ?p)))
(mu4e-compose-signature . "Collin J. Doering - Lacure\n")))))
"https://www.noredink.com\n\n"))))))
;; Use imagemagick to display images (if available)
(when (fboundp 'imagemagick-register-types)
@ -1327,8 +1293,7 @@ Leverage [[https://github.com/seagle0128/all-the-icons-ibuffer][all-the-icons-ib
'(("collin@rekahsoft.ca" "Collin J. Doering" "smtp.migadu.com")
("collin.doering@gmail.com" "Collin J. Doering" "smtp.gmail.com")
("rekahsoft@gmail.com" "rekahsoft" "smtp.gmail.com")
("collin@noredink.com" "Collin J. Doering" "smtp.gmail.com")
("collin@lacure.com" "Collin J. Doering" "smtp.office365.com")))
("collin@noredink.com" "Collin J. Doering" "smtp.gmail.com")))
(defun my-change-smtp ()
(save-excursion

View File

@ -106,27 +106,6 @@ SubFolders Legacy
Path ~/.mail/collin@noredink.com/
Inbox ~/.mail/collin@noredink.com/Inbox
#
# collin@lacure.com
IMAPAccount collin@lacure.com
Host outlook.office365.com
User collin@lacure.com
PassCmd "pass professional/lacure/office365/app/EmacsMU4E"
SSLType IMAPS
SSLVersions TLSv1.2
CertificateFile /etc/ssl/certs/ca-certificates.crt
IMAPStore collin@lacure.com-remote
Account collin@lacure.com
MaildirStore collin@lacure.com-local
SubFolders Legacy
# The trailing "/" is important
Path ~/.mail/collin@lacure.com/
Inbox ~/.mail/collin@lacure.com/Inbox
#
# Channels
#
@ -182,14 +161,3 @@ Create Both
Expunge Both
# Save the synchronization state files in the relevant directory
SyncState *
Channel work-lacure
Far :collin@lacure.com-remote:
Near :collin@lacure.com-local:
# Include everything
Patterns *
# Automatically create missing mailboxes, both locally and on the server
Create Both
Expunge Both
# Save the synchronization state files in the relevant directory
SyncState *