Setting up Postfix and Apache/PHP on an Ubuntu server. Mail's now going out ok with the proper domain name, but the local part display name is always "www-data" as I'm assuming Postfix uses the name of the user by default.
In the php.ini file, I was able to change the
sendmail_path = "/usr/sbin/sendmail -t -i -f firstname.lastname@example.org" but the email display name still appears as www-data . I tried specifying the display name a few different ways but that was ignored and the mail still went out as www-data.
What I'd like to be able to do is by default, have any mail with missing from, return-path, etc. headers go out as
"Example Support" <email@example.com>, but I'm not sure if that's possible.