Applicable to:
- Plesk for Linux
Question
How to change maximum attachment size in webmail shipped with Plesk Premium Email?
Answer
Note: The solution can be applied only by the administrator of the Plesk server. If you do not have administrative access to the server, please contact the hosting provider or administrator of the server.
-
Connect to the server using SSH.
-
Open the file
/etc/roundcubemail/php.ini
for editing. -
Increase the value of PHP parameters
upload_max_filesize
andpost_max_size
to desired values and save the changes, for example:upload_max_filesize = 64M
post_max_size = 64M -
If a value of more than 75M is set in the previous step, then it is also required to increase the message size in Roundcube:
-
Open the file
/etc/roundcubemail/config.inc.php
for editing. -
Add the following line to it and save the changes, for example:
$config['max_message_size'] = '133M';
Note: The real value must be 133% of the value set in step 3 - for example, if 100M was set there, then 133M must be set here.
-
-
Reload Apache to apply the changes:
-
On CentOS/RHEL/CloudLinux/AlmaLinux:
# service httpd reload
-
On Debian and Ubuntu:
# service apache2 reload
-
Comments
0 comments
Please sign in to leave a comment.