diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2017-02-18 22:16:49 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-02-18 22:16:49 +0100 |
commit | 3995363964fe79ee3fd0449b2ecb73fe750d6a9e (patch) | |
tree | 96802e7d3f5b82b39009ac4db60fa413e2768375 /init.org | |
parent | 764b0deeb486dab5faf24cfa9008fdc171858911 (diff) |
email: Add personal headers to outgoing email.
Diffstat (limited to 'init.org')
-rw-r--r-- | init.org | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1149,6 +1149,14 @@ TODO: this is a big blob of email configuration. Document this properly! (mu4e-message-field msg :body-txt)))) (mml-secure-message-sign-encrypt))))) + (add-hook 'mu4e-compose-mode-hook + (defun my/mu4e-add-headers () + "Add some personal headers." + (save-excursion + (message-add-header "X-URL: https://elephly.net\n") + (message-add-header "X-PGP-Key: https://elephly.net/rekado.pubkey\n") + (message-add-header "X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC")))) + ;; Don't open a new window to show the results of signature validation (setq epa-popup-info-window nil) |