ich verusche PHP zu überzeugen, ein Logeintrag zu schreiben, sofern über PHP eine E-Mail verschickt wird.
Dazu habe ich folgende Einträge in der php.ini angepasst (und Apache durchgestartet)
Code: Select all
; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
mail.add_x_header = On
; Log all mail() calls including the full path of the script, line #, to address and headers
mail.log = /var/log/mail.phpNun enthält der Mailheader (bei über PHP geschickten Mails) schön den Eintrag: X-PHP-Originating-Script: 648:test.php allerdings belibt das logfile (/var/log/mail.php) leer.
-rwx------ 1 root bin 0 14. Dez 02:51 mail.php
Hat jemand ne Idee?
Gruß
Andreas
/var/log/mail.php
