Introduction
When changing the maximum allowed attachment size in Webmail, two changes are required to be made. cPanel's internal PHP settings need to be modified, and the maximum message size needs to be increased in Exim.
Procedure
- Log into WHM as the 'root' user.
- Navigate to "Home / Server Configuration / Tweak Settings."
- Select the "PHP" tab.
- Change the option for "cPanel PHP max POST size (Minimum: 55; Maximum: 2,047)" from "55 MB default" to the textbox and enter the desired value in MB.
- Change the option for "cPanel PHP max upload size (Minimum: 50; Maximum: 2,047)" from "50 MB default" to the textbox and enter the desired value in MB.
- Click the "Save" button.
- Navigate to "Home / Service Configuration / Exim Configuration Manager."
- Select the "Advanced Editor" tab.
- Scroll down to the "Add additional configuration settings" button.
- Click the "Add additional configuration settings" button to add a new empty configuration option.
- Select "message_size_limit" from the dropdown menu of the new configuration option.
- Enter the desired value in the textbox.
- Click the "Save" button.
Please note that email attachments are encoded using base64 encoding. Base64 encoding typically results in a file attachment size of around 30 percent larger than the original file.
Comments
0 comments
Article is closed for comments.