Hello,

I have a problem with suPHP and mail logging.

In php.ini I have following content to detect sending of spam:

mail.log = /var/log/php/mail.log

When I use mail() with one of my users, I get the error message that /var/log/php/mail.log is not writeable by the user, which is correct. But I expect that this file is written by www-user, since the writing process is an internal functionality of PHP's mail() function and cannot be exploited by the user in writing arbitary files, so I don't want that suPHP enforces the user-privileges to this internal functionality.

I can't use per-user-logfiles since I don't want that users remove their own log entries to hide sending spam.

What can I do?

Best regards
Daniel Marschall


_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp

Reply via email to