sendmail masquerade for apache
I have a website running in apache that has a php file that send an email out. The emails are getting rejected because of supposed invalid senders. I had a problem similar to this on another server, and it the user who was sending the mail's home directory, i had to make a file named .muttrc that contained the following two lines to get its emails to be accepted.
but for apache its home directory is /var/www. so do i just make the same file in there, i'm assuming the apache user is the account since that runs apache.
sorry, but i'm not real good with apache or sendmail, so this post may be lacking.