Hi please guide me how I can log the mails sent from a website from a suspicious script or website form as to from which website it originated. I have read some where that I can add to php.ini file for logging like this: Code: mail.add_x_header = On mail.log = /var/log/phpmail.log is this correct code and if yes in which php.ini file I can add this? Thanks.