This one’s easy. Place this in your php.ini (don’t forget to restart, if needed). mail.add_x_header = On mail.log = /var/log/phpmail.log You can change the log file location, of