I've heard there is a way to set up php to set a default user when the mail() functions are used and no "from" is set. On windows that is easy as there is a line in php.ini that allows this, but on unix systems I can't seem to set that.
What I really need is the ability to have it go to the webmaster account of whatever virtual domain the server is running as. So if a clients php page on their site theirbusiness.com sends an email but didn't take the time to set the from field it sets it to webmaster@theirbuiness.com. This way I don't get the replies when they don't set up their 'from' address. As well as because my clients are all in the same line of work. I usually have no way of telling who it was originally from.
I heard this could be done by putting a field in the <virtual host> tag right within apache. sendmail -t -i -f or something like that.
Anyone solve this mystery?