home
·
contact
·
privacy
projects
/
config
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9cf85bc
)
Improve mail setup.
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 22 May 2019 21:48:26 +0000
(23:48 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 22 May 2019 21:48:26 +0000
(23:48 +0200)
buster/apt-mark/eeepc
patch
|
blob
|
history
buster/home_files/user_eeepc/.emacs.d/init.el
patch
|
blob
|
history
buster/home_files/user_eeepc/.notmuch-config
patch
|
blob
|
history
buster/setup_scripts/setup_home_eeepc.sh
patch
|
blob
|
history
diff --git
a/buster/apt-mark/eeepc
b/buster/apt-mark/eeepc
index fec65b721395f1cab82f2c7f4bcc1913aba1d646..3b92f84559b94b8d5ce08e5e5911287953b49592 100644
(file)
--- a/
buster/apt-mark/eeepc
+++ b/
buster/apt-mark/eeepc
@@
-60,4
+60,5
@@
elpa-elfeed
isync
notmuch
elpa-notmuch
isync
notmuch
elpa-notmuch
+pinentry-gtk2
#
#
diff --git
a/buster/home_files/user_eeepc/.emacs.d/init.el
b/buster/home_files/user_eeepc/.emacs.d/init.el
index 389126ccc5717b60aa51a2c8d307631716389894..8717957e5aacd0e00ab22cd0b9e7236e6818a749 100644
(file)
--- a/
buster/home_files/user_eeepc/.emacs.d/init.el
+++ b/
buster/home_files/user_eeepc/.emacs.d/init.el
@@
-122,11
+122,18
@@
(setq smtpmail-smtp-service 465)
(setq smtpmail-stream-type 'ssl)
(setq smtpmail-smtp-user "plom")
(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)
;; 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
;; ========
;; org mode
;; ========
diff --git
a/buster/home_files/user_eeepc/.notmuch-config
b/buster/home_files/user_eeepc/.notmuch-config
index 230bbe3ea8bbc865b8fc2883ce11b03cea6472be..1fddbcdf6bd470d85160c10d67a5877c1af78544 100644
(file)
--- a/
buster/home_files/user_eeepc/.notmuch-config
+++ b/
buster/home_files/user_eeepc/.notmuch-config
@@
-2,3
+2,8
@@
path=/home/plom/mail
[search]
exclude_tags=deleted;spam;
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
diff --git
a/buster/setup_scripts/setup_home_eeepc.sh
b/buster/setup_scripts/setup_home_eeepc.sh
index 1b54a5682a9dd1fe39d113732db5911ddb8c5daa..6e58ef41f68a71ce429e3aedd0b33c76e4728c23 100755
(executable)
--- a/
buster/setup_scripts/setup_home_eeepc.sh
+++ b/
buster/setup_scripts/setup_home_eeepc.sh
@@
-40,7
+40,7
@@
cp id_rsa ~/.ssh
stty -echo
ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub
stty echo
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}"
tar xf borg_keyfiles.tar
mkdir -p "${borgkeys_dir}"
mv borg_keyfiles/* "${borgkeys_dir}"