Postfix - Log with php script/file sending emails

Discussion in 'Server Operation' started by shala, Jul 24, 2015.

  1. shala

    shala New Member

    Hi,
    I wonder to ask if there are any option or custom script to know from what folder or php file had been sent an email.
    I found this on php.ini
    mail.add_x_header = On
    mail.log = /var/log/phpmail.log
    But I hadn't luck because that log is empty always. So maybe it exists any config in main.cf to keep logs with file php sending emails (spamming some times)

    Thanks in advance.
     

Share This Page