Answer the question
In order to leave comments, you need to log in
How to correctly add mail.add_x_header logs to /var/log/mail.log?
The essence of the task is quite simple It is
necessary to enable by default for all sites
mail.add_x_header = On
mail.log = /var/log/mail.log
[30-Oct-2018 22:55:20 Europe/Moscow] mail() on [/var/www/clients/client2/web2/web/mail.php:9]: To: [email protected] -- Headers: -- Subject: My Subject
mail.log = syslog
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question