Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
How to change the maximum attachment size for webmail?
Answer
Note: Use any text editor like vi
or nano
to modify such values
- Connect to the server via SSH.
-
Change the PHP settings below:
CONFIG_TEXT: upload_max_filesize = 64M
post_max_size = 128M-
For Horde edit
/etc/psa-webmail/horde/horde/php.ini
file - For Roundcube edit
/etc/psa-webmail/roundcube/php.ini
file
-
-
Modify also horde
attach_size_limit
value at/etc/psa-webmail/horde/imp/conf.php
, it should be set to0
(unlimited):# grep attach_size_limit /etc/psa-webmail/horde/imp/conf.php
$conf['compose']['attach_size_limit'] = 0;Note: Set higher values if it is required.
Note: Use any text editor like notepad
to modify such values
For Horder webmail
- Connect to the server via RDP.
-
Change the PHP settings for Horde on the file
%plesk_dir%webmail\horde\conf\php.ini
, as example:C:\> type %plesk_dir%webmail\horde\conf\php.ini | findstr max
...
upload_max_filesize = 64M
post_max_size = 128M
... -
Modify also horde
attach_size_limit
value at%plesk_dir%Webmail\horde\horde\imp\config\conf.php
, it should be set to0
(unlimited):C:\> type %plesk_dir%Webmail\horde\horde\imp\config\conf.php | findstr attach_size_limit
$conf['compose']['attach_size_limit'] = 0;Note: Set higher values if it is required.
For MailEnable webmail
- Connect to the server via RDP.
- Go to Windows > Mailenable > Servers > localhost > right-click on SMTP > properties;
- Under Limit outbound size, specify a higher value in Maximum field;
- Click OK;
- Stop and start the SMTP service to apply the new change at Windows > Mailenable > Servers > localhost > right-click on SMTP.
Note: If the issue persists, apply the solution described in MailEnable KB
Note: Set higher values if it is required.
Comments
0 comments
Please sign in to leave a comment.