• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

PHP mail.log not registering PHP mail() sent emails

Tantrumedia

New Pleskian
My System: Plesk 12.0.18 & CentOS 6.6 with PHP 5.3.3-46.el6_6

I changed the following in /etc/php.ini and restarted Apache;
; Log all mail() calls including the full path of the script, line #, to address and headers
mail.log = /var/log/php_sent_mail.log

This should log all PHP mail() usage across all domains to the log file, but it didn't.

I therefore logged into Plesk and added an Additional Configuration Directive to tantrumedia.com;
mail.log = /var/log/php_sent_mail.log
I checked, and this was indeed added /var/www/vhosts/system/tantrumedia.com/etc/php.ini
I restarted Apache, and tried sending another email using PHP mail() from mydomain.com.
Again - nothing appears in /var/log/php_sent_mail.log

Is Plesk blocking this? Does it have anything to do with my Postfix (Version:2.8.17-14042513)?

Any help appreciated!
 
Back
Top