home · contact · privacy
Improve mail setup.
[config] / buster / home_files / user_eeepc / .emacs.d / init.el
index 389126ccc5717b60aa51a2c8d307631716389894..8717957e5aacd0e00ab22cd0b9e7236e6818a749 100644 (file)
 (setq smtpmail-smtp-service 465)
 (setq smtpmail-stream-type 'ssl)
 (setq smtpmail-smtp-user "plom")
-(setq mail-host-address "plomlompom.com")
+(setq mml-secure-openpgp-encrypt-to-self t)
+
+;; constructs From: domain if mail composer directly called (from without
+;; notmuch), but we don't actually intend to do that
+;(setq mail-host-address "plomlompom.com")
 
 ;; otherwise notmuch becomes extremely slow in some cases
 (setq-default notmuch-show-indent-content nil)
 
+;; this only works if we use notmuch-mua-send instead of message-send
+(setq notmuch-fcc-dirs '(("plom@plomlompom.com" . "maildir/Sent")))
+
 
 ;; org mode
 ;; ========