Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.forward files, apache, php problem

Status
Not open for further replies.

michael1973

Programmer
Oct 6, 2003
9
DE
Hi,

i wrote a little php-script for creating .forward files.
the problem is that the files do not have the correct permissions ("chmod") and they all got "apacheuser" as the owner. as far as i know sendmail needs very specific permissions for the file and the /home directory and the user must be the owner of the .forward file, otherwise the file will be ignored (that is what happens).

is there a possibility to solve the problem via sendmail (sendmail.cf options?) so that sendmail does not ignore the .forward files? or has somebody an idea how to change the owner and the permissions with php?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top