about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-06-08T13·14+0200
committerVincent Ambo <mail@tazj.in>2018-06-08T13·14+0200
commit45432f9b34d8ba5b204a409a1959e1ccf4147faf (patch)
tree8d482cd562b4df5bc2dade7a4c548c85b4dd790b
parentd146f1089b3edb66d192df4fa725c5f6936a0ff4 (diff)
fix(mail): Set `mail-host-address` variable from hostname
-rw-r--r--init/mail-setup.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/mail-setup.el b/init/mail-setup.el
index fdfadf0245b7..bdbab45fdd84 100644
--- a/init/mail-setup.el
+++ b/init/mail-setup.el
@@ -34,6 +34,7 @@
 (setq mail-specify-envelope-from t
       message-sendmail-envelope-from 'header
       mail-envelope-from 'header)
+(setq mail-host-address (system-name))
 
 ;; Store sent mail in the correct folder per account
 (setq notmuch-maildir-use-notmuch-insert nil)