michael1973
Programmer
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?
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?