Posts Tagged ‘php.ini’

Finding spam sending PHP scripts on your server

#php.ini


mail.add_x_header = On
mail.log = /var/log/phpmail.log

#find / -name php.ini | xargs perl -pi -e ‘s/\;mail\.log =/mail\.log = \/var\/log\/phpmail.log/i’