How To Increase The Attachment Size Of Email In WHM/cPanel?

In VPS/ Dedicated server, the maximum file size of an email is 50 MB. It is the default limit in the Exim configuration. You can increase the attachment size of email in WHM/cPanel.

How to check the default email size on the Exim mail server?

You can follow the below steps to check out the Exim default email size limit by command line.

  1. Login into the server using the root user via ssh.
    #ssh your_username@host_ip_address -p port_number
  2. Run the following command in the server.
    # exim -bP | grep message_size_limit
  3. The above command will show you the current setting of the email size limit.
    Example:message_size_limit = 50M

Below are the steps to change Message Size Limit from the WHM panel:

  1. Log in to WHM with the root account and password.
    WHM root login
  2. In the WHM panel, go to Service Configuration >> Exim Configuration Manager..
    exim configuration manager
  3. Now, click on the Advanced Editor tab under Exim Configuration Manager.
    exim advance editor
  4. Next, scroll down the window, and click the Add additional configuration setting button.
    exim additional configuration setting
  5. Find and select message_size_limit in the first text box.
    exim message size limit
  6. Now, enter your desired value in the field on the right. For example, if you intended to increase the limit to 80MB, you would use the value 80M.
  7. Scroll to the bottom of the interface and click Save. After that system will then successfully apply the message size limit.
    save exim configuration

That’s It! You have increase the Attachment size Of email In WHM
Points to keep in mind:

  1. You also need to increase the maximum allowed attachment size in the Webmail, as the default size allowed is 55MB.
  2. You cannot set an email size for a single domain or email id.
  3. 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.

Add a Comment

Your email address will not be published. Required fields are marked *