mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 00:57:22 +01:00
fix[work]: reply using S/MIME when appropriate
This commit is contained in:
parent
f5ff5d5066
commit
da56b4ea64
3 changed files with 97 additions and 85 deletions
|
|
@ -19054,6 +19054,10 @@ Used here: [[#h:b92a18cf-eec3-4605-a8c2-37133ade3574][mu4e]]
|
|||
(when-let ((dest (swarsel/mu4e-rfs--matching-address)))
|
||||
(cl-destructuring-bind (from-user from-addr) dest
|
||||
(setq user-mail-address from-addr)
|
||||
(when (and (boundp 'user-mail-address)
|
||||
(stringp user-mail-address)
|
||||
(string-equal user-mail-address (getenv "SWARSEL_MAIL_WORK")))
|
||||
(mml-secure-message-sign-smime))
|
||||
(message-position-on-field "From")
|
||||
(message-beginning-of-line)
|
||||
(delete-region (point) (line-end-position))
|
||||
|
|
@ -21832,7 +21836,7 @@ The hook functions are defined here: [[#h:34506761-06b9-43b5-a818-506d9b3faf28][
|
|||
(setq mu4e-mu-binary (executable-find "mu"))
|
||||
(setq mu4e-hide-index-messages t)
|
||||
|
||||
(setq mu4e-update-interval 180)
|
||||
(setq mu4e-update-interval 60)
|
||||
(setq mu4e-get-mail-command "mbsync -a")
|
||||
(setq mu4e-maildir "~/Mail")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue