From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 22 May 2019 23:52:24 +0000 (+0200)
Subject: Fix e-mail setup.
X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/reset_cookie?a=commitdiff_plain;h=708171ff29d1749743ff43a2e69a32d844dde5aa;p=config

Fix e-mail setup.
---

diff --git a/buster/home_files/user_eeepc/.emacs.d/init.el b/buster/home_files/user_eeepc/.emacs.d/init.el
index 8717957..158a12a 100644
--- a/buster/home_files/user_eeepc/.emacs.d/init.el
+++ b/buster/home_files/user_eeepc/.emacs.d/init.el
@@ -123,6 +123,7 @@
 (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
diff --git a/buster/home_files/user_eeepc/.notmuch-config b/buster/home_files/user_eeepc/.notmuch-config
index 1fddbcd..9532761 100644
--- a/buster/home_files/user_eeepc/.notmuch-config
+++ b/buster/home_files/user_eeepc/.notmuch-config
@@ -6,4 +6,4 @@ exclude_tags=deleted;spam;
 # within notmuch
 [user]
 name=Christian Heller
-primary_email=plom@plomlompo.com
+primary_email=plom@plomlompom.com