home · contact · privacy
Improve mail setup.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 22 May 2019 21:48:26 +0000 (23:48 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 22 May 2019 21:48:26 +0000 (23:48 +0200)
buster/apt-mark/eeepc
buster/home_files/user_eeepc/.emacs.d/init.el
buster/home_files/user_eeepc/.notmuch-config
buster/setup_scripts/setup_home_eeepc.sh

index fec65b721395f1cab82f2c7f4bcc1913aba1d646..3b92f84559b94b8d5ce08e5e5911287953b49592 100644 (file)
@@ -60,4 +60,5 @@ elpa-elfeed
 isync
 notmuch
 elpa-notmuch
+pinentry-gtk2
 #
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
 ;; ========
index 230bbe3ea8bbc865b8fc2883ce11b03cea6472be..1fddbcdf6bd470d85160c10d67a5877c1af78544 100644 (file)
@@ -2,3 +2,8 @@
 path=/home/plom/mail
 [search]
 exclude_tags=deleted;spam;
+# the fields below set the From: if the mail composer is called from
+# within notmuch
+[user]
+name=Christian Heller
+primary_email=plom@plomlompo.com
index 1b54a5682a9dd1fe39d113732db5911ddb8c5daa..6e58ef41f68a71ce429e3aedd0b33c76e4728c23 100755 (executable)
@@ -40,7 +40,7 @@ cp id_rsa ~/.ssh
 stty -echo
 ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub
 stty echo
-gpg --import secret_keys.asc
+script -c 'gpg --import secret_keys.asc' /dev/null
 tar xf borg_keyfiles.tar
 mkdir -p "${borgkeys_dir}"
 mv borg_keyfiles/* "${borgkeys_dir}"