I'd like to monitor mails sent via PHP, which is very easy since PHP 5.3.0: You just have to add mail.log to your php.ini. I'd like to log all sent mails to /var/log/mail_log/$domainname.log but I can't find the right place to add these changes… Where do I have to add mail.log so it will be automatically added to a users php.ini on creation of a domain?
Thanks in advance!