- Plesk Onyx for Linux
- Unable to send e-mail through a PHP script. The following error is shown when trying to send it:
PLESK_INFO: mail(/usr/sbin/sendmaillog.log): failed to open stream: Permission denied in /var/www/vhosts/example.com/sendmail.php on line 39
- 3rd-party mail server is installed on the server and used by PHP script in questions to send messages
mail.log=/usr/sbin/sendmaillog.logdirective is present under Websites & Domains > example.com > PHP Settings, hovewer file
/usr/sbin/sendmaillog.logdoes not exist on the server.
Misconfiguration of PHP settings: nonexistent file specified.
- Login into Plesk.
- Under Websites & Domains > sub.example.com > PHP Settings, remove the additional configuration directive:
mail.log=/usr/sbin/sendmaillog.logand click OK;