aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2013-03-12 10:00:37 -0400
committerRyan Kavanagh <rak@debian.org>2013-03-12 10:00:37 -0400
commit803397e58ac03aefeef3bd3390b8537af78a9d00 (patch)
treef4026d59272fd762c028582911f874179953ded9
parentGenerate aliases to msmtp -a * for broken emacs (diff)
Send emacs mail using a sendmail program (msmtp)
Diffstat (limited to '')
-rw-r--r--.emacs5
1 files changed, 5 insertions, 0 deletions
diff --git a/.emacs b/.emacs
index ec87308..109d87d 100644
--- a/.emacs
+++ b/.emacs
@@ -75,6 +75,11 @@
; Make 'M-x compose-mail' (C-x m), create a VM-style composition buffer
(setq mail-user-agent 'vm-user-agent)
+;;;; Sending mail
+(setq mail-specify-envelope-from t)
+(setq mail-envelope-from 'header)
+(setq message-send-mail-function 'sendmail-send-it)
+
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.