Note: This article has the reference to the issue with the fix available:
- Roundcube version 1.2.7 installed
- Attached files are not sent with emails created in Roundcube webmail
The following errors can be found in
CONFIG_TEXT: [14-Nov-2017 09:12:09 +0000]: <9j7pkt3s> PHP Error: firstname.lastname@example.org can't read /tmp/rcmAttmntY1cO51 (not in temp_dir) in /usr/share/psa-roundcube/plugins/filesystem_attachments/filesystem_attachments.php on line 216 (POST /roundcube/?_task=mail&_unlock=loading1510650728910&_lang=en_US&_framed=1&_action=send)
Plesk bug # PPPM-7470 which has already been fixed in Plesk Onyx 17.5 MU#30 and Plesk Onyx 17.0.17 MU#41 .
Install all the latest microupdates according to Installing Plesk micro-updates article.
In case the solution does not help, apply the following workaround:
Log into the server via SSH ;
Add the line below into
CONFIG_TEXT: $config['temp_dir'] = '/tmp';
Additional details are available in the article [CVE-2017-16651] File disclosure vulnerability in Roundcube