X-Authentication-warning: mybox.mysite.com: www set sender to webmaster@mysite.com
These is this header warning in my php mail() generated email.
mail() -f php manual says
The user that the webserver runs as should be added as a trusted user to the sendmail configuration to prevent a 'X-Warning' header from being added to the message when the envelope sender (-f) is set using this method. For sendmail users, this file is /etc/mail/trusted-users.
my webserver runs as user "www", so i am trying to add "www" to sendmail trusted users list.
in my /etc/mail/ there is no trusted-users file now. I created trusted-users file and add www in one line in that file. I still get the X-authentication-warning.
Do I need to restart the server to make the trusted-users file working? what else should I do?
or how exactly to add "www" to the trusted-users list of sendmail?
Thanks!
Another question. In my old box, it was already set up apache as the trusted-users as sendmail. so I didn't have this problem. How about these systems these big hosting companies offer? do they already pre-set this feature up for you? Or at least you have the user right to change it if they didn't?