I would like certain system accounts (root
and www-data
) to have the header From: Example Company <[email protected]>
when e-mail is sent using either the mail
or sendmail
commands, or from programming languages like PHP (which just uses a sendmail wrapper).
I would prefer not to have to add the -f
and -F
options every time I invoke one of these commands. Is there any way to configure this specifically for these accounts?
Operating system is Debian 7.2.
sendmail
executable is not symlinked to anything.