home · contact · privacy
Minor fixes to Firefox setup.
[config] / buster / home_files / user_eeepc / .emacs.d / init.el
index b2118833ebccef616605325364df4b01320b2d7e..31a4dcba29e16a2cb2a8fa6d04789f6bf5dcd3af 100644 (file)
@@ -97,6 +97,7 @@
                          ("melpa-stable" . "https://stable.melpa.org/packages/")))
 
 ;; ensure certain packages are installed (actually, we use Debian repos here)
+;; credit to <https://stackoverflow.com/a/10093312>
 ;(setq package-list '(elfeed ledger-mode))
 ;(package-initialize)
 ;(dolist (package package-list)
 
 
 
+;; mail setup
+;; ==========
+
+(setq send-mail-function 'smtpmail-send-it)
+(setq smtpmail-smtp-server "core.plomlompom.com")
+(setq smtpmail-smtp-service 465)
+(setq smtpmail-stream-type 'ssl)
+(setq smtpmail-smtp-user "plom")
+(setq mml-secure-openpgp-encrypt-to-self t)
+(add-hook 'message-setup-hook 'mml-secure-sign-pgpmime)
+
+;; 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")))
+
+;; this gets rid of "i-did-not-set--mail-host-address--so-tickle-me"
+;; in the message ID
+(setq mail-host-address "plomlompom.com")
+
 ;; org mode
 ;; ========