Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
13da0554
Commit
13da0554
authored
May 28, 1998
by
Richard M. Stallman
Browse files
(sendmail-send-it):
If mail-from-style isn't angles, parens or nil, don't use -f option.
parent
fb597fe8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
lisp/mail/sendmail.el
lisp/mail/sendmail.el
+6
-4
No files found.
lisp/mail/sendmail.el
View file @
13da0554
...
...
@@ -846,10 +846,12 @@ the user from the mailer."
nil errbuf nil "-oi")
;; Always specify who from,
;; since some systems have broken sendmails.
(list "-f" (user-login-name))
;;; ;; Don't say "from root" if running under su.
;;; (and (equal (user-real-login-name) "root")
;;; (list "-f" (user-login-name)))
;; unless user has said no.
(if (memq mail-from-style '(angles parens nil))
(list "-f" (user-login-name)))
;;; ;; Don't say "from root" if running under su.
;;; (and (equal (user-real-login-name) "root")
;;; (list "-f" (user-login-name)))
(and mail-alias-file
(list (concat "-oA" mail-alias-file)))
(if mail-interactive
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment