11
4
I would like certain system accounts (root
and www-data
) to have the header From: Example Company <noreply@example.com>
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.
2Are you sure you are using "Sendmail" as your MTA and not postfix or some other drop-in replacement with the name "sendmail" ? – davidgo – 2013-12-31T05:41:08.847
The MTA is postfix, but the
sendmail
executable is not symlinked to anything. – DanielGibbs – 2013-12-31T05:43:53.683