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."
- Click the "PHP" tab.
- Select the "cPanel PHP max POST size (Minimum: 55; Maximum: 2,047)" textbox.
- Enter the desired value in the textbox.
- Select the "cPanel PHP max upload size (Minimum: 50; Maximum: 2,047)" textbox.
- Enter the desired value in the textbox.
- Click the "Save" button.
- Navigate to "Home / Service Configuration / Exim Configuration Manager."
- Click the "Advanced Editor" tab.
- Scroll down to the "Add additional configuration setting" button.
- Click the "Add additional configuration setting" 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.
- Scroll to the bottom of the "Advanced Editor" tab.
- Click the "Save" button.
Please note that email attachments are encoded using base64 encoding. Base64 encoding typically results in a file attachment size around 30 percent larger than the original file.
Comments
0 comments
Article is closed for comments.