limit email size?
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
-
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: 0 -
Great, many thanks. P. 0
Please sign in to leave a comment.
Comments
2 comments