dkellner-email.el 828 B

1234567891011121314151617181920212223
  1. ;; dkellner-email.el --- mail config
  2. ;; TODO: find a better way
  3. (add-to-list 'load-path "/nix/store/7j13zbx88i8vd4w0dq05yfkw5dp8rn91-notmuch-0.26.2/share/emacs/site-lisp")
  4. (require 'notmuch)
  5. (global-set-key (kbd "C-c m") #'notmuch)
  6. (setq sendmail-program "msmtp"
  7. message-kill-buffer-on-exit t
  8. message-send-mail-function 'message-send-mail-with-sendmail
  9. message-sendmail-extra-arguments '("--read-envelope-from")
  10. message-sendmail-f-is-evil t
  11. notmuch-fcc-dirs '(("dominik.kellner@fotopuzzle.de"
  12. . "puzzleandplay/.sent")
  13. (".*" . "dkellner/.sent")))
  14. ;; Sometimes I still use mutt, e.g. for S/MIME-encrypted mails:
  15. (add-to-list 'auto-mode-alist '("/tmp/mutt-" . mail-mode))
  16. (add-hook 'mail-mode-hook #'turn-on-auto-fill)
  17. (provide 'dkellner-email)