Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

limit email size?

Discussion in 'E-mail Discussion' started by blueoffice, Aug 1, 2018.

Tags:
  1. blueoffice

    blueoffice Registered

    Joined:
    Aug 1, 2018
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    Australia
    cPanel Access Level:
    Website Owner
    Is there a way to limit the size of email messages received/sent from a specific individual cPanel account or domain?

    I know that I can go into WHM, Exim Configuration Editor: message_size_limit = ***M

    however this applies the size limit across all cPanel accounts/domains on the server - I would like to limit just one specific cPanel account or domain, is this possible?

    Essentially I need to restrict the size of attachments sent to a particular email address.

    Thanks
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,827
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @blueoffice,

    You will need to setup a custom Exim system filter rule that deletes or bounces messages that exceed a defined message_body_size
    and also match a specific domain name. We document the process of setting up a custom Exim system filter rule at:

    How to Customize the Exim System Filter File - cPanel Knowledge Base - cPanel Documentation

    Here's an Exim document on the available filtering options:

    3. Exim filter files

    Additionally, there's a feature request I encourage you to vote and add feedback to at:

    Email Filtering -ADD Rule -Attachment +Size +Kind

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. blueoffice

    blueoffice Registered

    Joined:
    Aug 1, 2018
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    Australia
    cPanel Access Level:
    Website Owner
    Great, many thanks.
    P.
     
    cPanelMichael likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice