From 67d95c58c09b67457a51ad780f9c7b5499036862 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Mon, 18 May 2020 11:33:04 -0400 Subject: [PATCH] no more mu --- config.el | 49 ++++++++++++++++++++++++++++++++----------------- 1 file changed, 32 insertions(+), 17 deletions(-) diff --git a/config.el b/config.el index 0c70b4420..12eca00ae 100644 --- a/config.el +++ b/config.el @@ -1163,13 +1163,6 @@ SCHEDULED: <%s>" (use-package! github-review :after forge) -(after! mu4e - (setq sendmail-program "/usr/bin/msmtp" - send-mail-function #'smtpmail-send-it - message-sendmail-f-is-evil t - message-sendmail-extra-arguments '("--read-envelope-from") - message-send-mail-function #'message-send-mail-with-sendmail)) - (defun grfn/org-add-db-connection-params () (interactive) (ivy-read @@ -1211,16 +1204,38 @@ SCHEDULED: <%s>" ) ) -(after! mu4e - (setq mu4e-contexts - `(,(make-mu4e-context - :name "work" - :vars - '()) - ,(make-mu4e-context - :name "personal" - :vars - '())))) +;; (use-package! mu4e +;; :config +;; (setq mu4e-contexts +;; `(,(make-mu4e-context +;; :name "work" +;; :match-func +;; (lambda (msg) +;; (when msg +;; (string-match-p "^/work" +;; (mu4e-message-field msg :maildir)))) +;; :vars +;; '((user-mail-address . "griffin@urbint.com"))) +;; ,(make-mu4e-context +;; :name "personal" +;; :match-func +;; (lambda (msg) +;; (when msg +;; (string-match-p "^/personal" +;; (mu4e-message-field msg :maildir)))) +;; :vars +;; '((user-mail-address . "root@gws.fyi")))) +;; mu4e-maildir (expand-file-name "mail" "~") +;; sendmail-program "msmtp" +;; send-mail-function #'smtpmail-send-it +;; message-sendmail-f-is-evil t +;; message-sendmail-extra-arguments '("--read-envelope-from") +;; message-send-mail-function #'message-send-mail-with-sendmail) + +;; (set-email-account! +;; "work" +;; '((user-mail-address . "griffin@urbint.com") +;; (smtmpmail-smtp-user . "griffin@urbint.com")))) (solaire-global-mode -1)