aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/mail/sendmail.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index a79fa289373..2a196326db0 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -885,7 +885,7 @@ the user from the mailer."
885 ;; since some systems have broken sendmails. 885 ;; since some systems have broken sendmails.
886 ;; unless user has said no. 886 ;; unless user has said no.
887 (if (memq mail-from-style '(angles parens nil)) 887 (if (memq mail-from-style '(angles parens nil))
888 (list "-f" (user-login-name))) 888 (list "-f" user-mail-address))
889;;; ;; Don't say "from root" if running under su. 889;;; ;; Don't say "from root" if running under su.
890;;; (and (equal (user-real-login-name) "root") 890;;; (and (equal (user-real-login-name) "root")
891;;; (list "-f" (user-login-name))) 891;;; (list "-f" (user-login-name)))