chiark / gitweb /
dot/emacs: Set envelope sender from headers when sending email.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 24 Apr 2020 22:55:16 +0000 (23:55 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 24 Apr 2020 22:55:16 +0000 (23:55 +0100)
dot/emacs

index a0ceee581ecd37d9f9ad2df6651a0b71dd77206b..4ece425e30057114f0744d4a74cfaf1ce3c18af4 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
 (setq sendmail-program "~/bin/sendmail-hack"
       send-mail-function 'sendmail-send-it
       mail-interactive t
+      mail-specify-envelope-from t
+      mail-envelope-from 'header
       sendmail-error-reporting-interactive '("-odb" "-oee"))
 (autoload 'sendmail-send-it "sendmail")
 (autoload 'smtpmail-send-it "smtpmail")