about summary refs log tree commit diff
path: root/modules/workstation/emacs/init.el
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2022-10-25 13:46:57 +0000
committerAlyssa Ross <hi@alyssa.is>2023-02-08 13:46:09 +0000
commit66009d6a2e5ce41287b8f4212ab77cb1746e8eff (patch)
tree473404db476a3e97db15f3e73ee2ac71d662585d /modules/workstation/emacs/init.el
parent19fb77fd6f21996d8146b138cd663fb92442fa57 (diff)
downloadnixlib-66009d6a2e5ce41287b8f4212ab77cb1746e8eff.tar
nixlib-66009d6a2e5ce41287b8f4212ab77cb1746e8eff.tar.gz
nixlib-66009d6a2e5ce41287b8f4212ab77cb1746e8eff.tar.bz2
nixlib-66009d6a2e5ce41287b8f4212ab77cb1746e8eff.tar.lz
nixlib-66009d6a2e5ce41287b8f4212ab77cb1746e8eff.tar.xz
nixlib-66009d6a2e5ce41287b8f4212ab77cb1746e8eff.tar.zst
nixlib-66009d6a2e5ce41287b8f4212ab77cb1746e8eff.zip
modules/emacs: use From header for envelope sender
Diffstat (limited to 'modules/workstation/emacs/init.el')
-rw-r--r--modules/workstation/emacs/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/workstation/emacs/init.el b/modules/workstation/emacs/init.el
index 952b8a887fb9..7b09244e1089 100644
--- a/modules/workstation/emacs/init.el
+++ b/modules/workstation/emacs/init.el
@@ -245,6 +245,8 @@ point."
 
 ;;; sendmail ;;;
 ;; Use the system "sendmail" program to send mail.
+(setq mail-envelope-from 'header)
+(setq mail-specify-envelope-from t)
 (setq send-mail-function 'sendmail-send-it)
 
 ;;; Term ;;;