Mail function to detect spam for PHP question

Discussion in 'HOWTO-Related Questions' started by j.smith1981, Sep 16, 2010.

  1. j.smith1981

    j.smith1981 New Member

    I am soo greatful for this tutorial here:

    But, is there anyway of making the function itself in /usr/local/bin to make the log file run as root and not apache?

    This would allow me to put it into the /var/log folder.


    Thats the shell script for it anyways.

    Thanks in advance,
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    No, as the script runs always under the user that executes the PHP script and runing your apache as root user instead of the apache user is not a good idea for security reasons.

Share This Page