• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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