{"id":717,"date":"2024-12-06T13:32:27","date_gmt":"2024-12-06T13:32:27","guid":{"rendered":"https:\/\/fatreseller.in\/blog\/?p=717"},"modified":"2024-12-06T13:32:49","modified_gmt":"2024-12-06T13:32:49","slug":"increase-webmail-maximum-attachment-size","status":"publish","type":"post","link":"https:\/\/fatreseller.in\/blog\/increase-webmail-maximum-attachment-size\/","title":{"rendered":"How to increase webmail maximum attachment Size in WHM"},"content":{"rendered":"\n<p>Increase webmail maximum attachment Size in <a href=\"https:\/\/cpanel.net\/products\/cpanel-whm-features\/\" rel=\"nofollow noopener\" target=\"_blank\">WHM<\/a>, Managing webmail attachment sizes is essential for businesses and individuals who often exchange large files. If you&#8217;re hosting webmail (such as Roundcube, Horde, or SquirrelMail) on a <a href=\"https:\/\/fatreseller.in\/vps-hosting.html\" rel=\"nofollow\">cPanel server with WHM<\/a>, there may be a default limit on the maximum attachment size. This can be frustrating for users, but thankfully, WHM allows administrators to modify this limit. In this guide, we\u2019ll walk you through the process of increasing the maximum attachment size in webmail via WHM.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#understanding-the-default-limits\">Understanding the Default Limits<\/a><\/li><li><a href=\"#step-by-step-guide-to-increasing-attachment-size\">Step-by-Step Guide to Increasing Attachment Size<\/a><\/li><li><a href=\"#step-by-step-guide\">Step-by-Step Guide<\/a><ul><li><a href=\"#1-log-in-to-whm\">1. Log in to WHM<\/a><\/li><li><a href=\"#2-navigate-to-tweak-settings\">2. Navigate to Tweak Settings<\/a><\/li><li><a href=\"#3-locate-max-upload-size\">3. Locate max upload size<\/a><\/li><li><a href=\"#4-increase-webmail-maximum-attachment-size\">4. Increase webmail maximum attachment Size<\/a><\/li><li><a href=\"#5-save-changes\">5. Save Changes<\/a><\/li><li><a href=\"#6-restart-necessary-services\">6. Restart Necessary Services<\/a><\/li><li><a href=\"#7-test-the-changes\">7. Test the Changes<\/a><\/li><\/ul><\/li><li><a href=\"#important-considerations\">Important Considerations<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"understanding-the-default-limits\"><strong>Understanding the Default Limits<\/strong><\/h3>\n\n\n\n<p>By default, cPanel and WHM impose restrictions on the size of email attachments. These restrictions are influenced by:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>PHP settings<\/strong>: Used by webmail applications.<\/li>\n\n\n\n<li><strong>Exim (Mail Server) configuration<\/strong>: Governs overall email message size.<\/li>\n\n\n\n<li><strong>Server resources<\/strong>: Ensures large attachments don\u2019t overwhelm your server\u2019s storage or bandwidth.<\/li>\n<\/ul>\n\n\n\n<p>The default size is often around 2 MB or 10 MB, which is insufficient for modern email communication needs.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-by-step-guide-to-increasing-attachment-size\"><strong>Step-by-Step Guide to Increasing Attachment Size<\/strong><\/h3>\n\n\n\n<p>To increase webmail maximum attachment Size via <strong>Server Configuration > Tweak Settings<\/strong> in WHM, follow these steps:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-by-step-guide\"><strong>Step-by-Step Guide<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"1-log-in-to-whm\"><strong>1. Log in to WHM<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use your root or administrator credentials to access the WHM panel.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"645\" height=\"412\" src=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/12\/image.png\" alt=\"\" class=\"wp-image-720\" style=\"width:435px;height:auto\" srcset=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/12\/image.png 645w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/12\/image-300x192.png 300w\" sizes=\"(max-width: 645px) 100vw, 645px\" \/><\/figure><\/div>\n\n\n<h4 class=\"wp-block-heading\" id=\"2-navigate-to-tweak-settings\"><strong>2. Navigate to Tweak Settings<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the WHM dashboard, go to: <strong>Home &gt; Server Configuration &gt; Tweak Settings<\/strong>.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"282\" height=\"218\" src=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/12\/image-1.png\" alt=\"\" class=\"wp-image-721\" style=\"width:235px;height:auto\"\/><\/figure><\/div>\n\n\n<h4 class=\"wp-block-heading\" id=\"3-locate-max-upload-size\"><strong>3. Locate max upload size<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Within the &#8220;PHP&#8221; tab, you&#8217;ll find the option labeled &#8220;<strong>cPanel PHP max POST size (Minimum: 55; Maximum: 2,047)<\/strong>.&#8221; By default, it is set to &#8220;55 MB.&#8221; Replace this value by entering your desired maximum attachment size in megabytes (MB) into the provided textbox.<\/li>\n\n\n\n<li>Similarly, locate the option &#8220;<strong>cPanel PHP max upload size (Minimum: 50; Maximum: 2,047)<\/strong>&#8221; and modify it accordingly by entering your desired value in MB into the textbox.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"195\" src=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/12\/image-2-1024x195.png\" alt=\"\" class=\"wp-image-722\" srcset=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/12\/image-2-1024x195.png 1024w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/12\/image-2-300x57.png 300w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/12\/image-2-768x146.png 768w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/12\/image-2.png 1521w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"4-increase-webmail-maximum-attachment-size\"><strong>4. Increase webmail maximum attachment Size<\/strong><\/h4>\n\n\n\n<p>Go to &#8220;<strong>Home => Service Configuration => Exim Configuration Manager<\/strong>&#8221; in the WHM menu.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"279\" height=\"223\" src=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/12\/image-3.png\" alt=\"\" class=\"wp-image-723\"\/><\/figure>\n\n\n\n<p>Set this value to your desired limit. For example, enter <code>50<\/code> for 50 MB.<\/p>\n\n\n\n<p>Within the &#8220;Exim Configuration Manager,&#8221; select the &#8220;<strong>Advanced Editor<\/strong>&#8221; tab to access the advanced configuration options for Exim.<\/p>\n\n\n\n<p>Scroll down the page until you find the &#8220;<strong>Add additional configuration settings<\/strong>&#8221; button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"935\" height=\"687\" src=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/12\/whm_message_size_limit.png\" alt=\"increase webmail maximum attachment Size\" class=\"wp-image-724\" srcset=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/12\/whm_message_size_limit.png 935w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/12\/whm_message_size_limit-300x220.png 300w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/12\/whm_message_size_limit-768x564.png 768w\" sizes=\"(max-width: 935px) 100vw, 935px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"5-save-changes\"><strong>5. Save Changes<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>After updating the values, scroll to the bottom of the page and click <strong>Save<\/strong> to apply the changes.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"318\" height=\"59\" src=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/12\/image-4.png\" alt=\"\" class=\"wp-image-725\" srcset=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/12\/image-4.png 318w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/12\/image-4-300x56.png 300w\" sizes=\"(max-width: 318px) 100vw, 318px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"6-restart-necessary-services\"><strong>6. Restart Necessary Services<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To ensure the new limits take effect, restart the email and webmail services:\n<ul class=\"wp-block-list\">\n<li>Go to <strong>Home &gt; Restart Services<\/strong>.<\/li>\n\n\n\n<li>Restart the <strong>Mail Server (Exim)<\/strong> and any webmail services in use.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"7-test-the-changes\"><strong>7. Test the Changes<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Log in to a webmail client (like Roundcube or Horde) and attempt to send an email with an attachment that meets the new size limit. make sure the increase webmail maximum attachment Size is updated<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"important-considerations\"><strong>Important Considerations<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Before increase webmail maximum attachment Size, Ensure the <code>Max Email Size<\/code> value in Tweak Settings aligns with other settings like <code>upload_max_filesize<\/code> and <code>post_max_size<\/code> in PHP configuration.<\/li>\n\n\n\n<li>Recipient mail servers may still reject emails exceeding their size limits. If users need to send very large files, consider recommending file-sharing services.<\/li>\n\n\n\n<li>Monitor your server&#8217;s disk space and bandwidth usage, as larger attachments can consume significant resources.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>This method is particularly useful for setting global limits quickly without directly modifying PHP or Exim configurations.<\/p>\n\n\n\n<p>increase webmail maximum attachment Size via WHM is a straightforward process that involves modifying PHP settings, Exim configuration, and mail server settings. By following the steps outlined above, you can accommodate your users\u2019 needs and ensure smooth email communication.<\/p>\n\n\n\n<p>However, always consider the impact on server resources and email deliverability. By balancing user requirements with technical constraints, you can maintain an efficient and reliable email system.<\/p>\n\n\n\n<p>Implement these changes today to enhance your webmail experience and empower your users with the ability to send larger email attachments effortlessly!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Increase webmail maximum attachment Size in WHM, Managing webmail attachment sizes is essential for businesses and individuals who often exchange large files. If you&#8217;re hosting webmail (such as Roundcube, Horde, or SquirrelMail) on a cPanel server with WHM, there may be a default limit on the maximum attachment size. This can be frustrating for users, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":727,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[77,18],"tags":[],"class_list":["post-717","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-whm","category-control-panel"],"_links":{"self":[{"href":"https:\/\/fatreseller.in\/blog\/wp-json\/wp\/v2\/posts\/717"}],"collection":[{"href":"https:\/\/fatreseller.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatreseller.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatreseller.in\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/fatreseller.in\/blog\/wp-json\/wp\/v2\/comments?post=717"}],"version-history":[{"count":4,"href":"https:\/\/fatreseller.in\/blog\/wp-json\/wp\/v2\/posts\/717\/revisions"}],"predecessor-version":[{"id":728,"href":"https:\/\/fatreseller.in\/blog\/wp-json\/wp\/v2\/posts\/717\/revisions\/728"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fatreseller.in\/blog\/wp-json\/wp\/v2\/media\/727"}],"wp:attachment":[{"href":"https:\/\/fatreseller.in\/blog\/wp-json\/wp\/v2\/media?parent=717"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatreseller.in\/blog\/wp-json\/wp\/v2\/categories?post=717"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatreseller.in\/blog\/wp-json\/wp\/v2\/tags?post=717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}