- Plesk for Linux
The following error message appears when attaching files greater than 5MB or importing a large amount of messages in Roundcube webmail:
PLESK_INFO: The uploaded file exceeds the maximum size of 5.0 MB
Upload limits defined in Roundcube specific PHP settings are exceeded.
Connect to a Plesk server via SSH.
Open the file /etc/psa-webmail/roundcube/php.ini in a text editor (for example, "vi" editor) and increase the following parameters as shown:
CONFIG_TEXT: upload_max_filesize = 64M
post_max_size = 66M
memory_limit = 128M
In Plesk, go to Tools & Settings > Mail Server Settings and increase the Maximum message size value to a required one:
Note: If the issue persists, increase the above values to a greater value.