[security] logging source of mail()-use

From: Date: Fri, 12 Jul 2002 11:30:35 +0000
Subject: [security] logging source of mail()-use
Groups: php.install 
Request: Send a blank email to php-install+get-7698@lists.php.net to get a copy of this message
Hi, is there a way to configure PHP, or Postfix so, that i can trace the source of mail()-uses? I dont want to disable the command. But in the current state the use just leaves the userid of the web-server in the mail-logfiles. The only idea i have is to insert a syslog-call that writes the script-name with the full path into the method and recompile. So i could trace back the user who wrote the script. Is there an already working way to do something similar? Sam

« previous php.install (#7698) next »