Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
How to change the maximum attachment size for webmail?
Answer
- Connect to the server via SSH.
Note: if direct SSH access to the server is not possible, contact server administrator for further assistance.
-
Change the PHP settings below:
CONFIG_TEXT: upload_max_filesize = 64M
post_max_size = 128M -
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.
For Horder webmail
- Connect to the server via RDP.
Note: if direct SSH access to the server is not possible, contact server administrator for further assistance.
-
Edit file
%plesk_dir%webmail\horde\conf\php.ini
and change the PHP settings for Horde.
For 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 >Services and Connectors > right-click on SMTP > properties > Outbound tab
- 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 > Services and Connectors > 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.