The exim parameter "message_size_limit" defines the size of email attachment.
This can be set in the exim's main configuration file /etc/exim.conf (the path for exim.conf on cPanel server). Open the file and add following line in this file if you want to set the size 10MB.
message_size_limit = 10M
Save and exit the file and restart the exim service.
/etc/init.d/exim restart
On cPanel servers, this can be done from WHM
=> Go to WHM >> Main >> Service Configuration >> Exim Configuration Editor
=> At the bottom, click on "Advanced Editor"
=> put the line : message_size_limit = 10M on the first text box
=> Click on save.
Verify the setting by following command
#exim -bP | grep message_size_limit
Output should be
message_size_limit = 10M
Note : The default email attachment size for exim email server in the cPanel / WHM is 50MB.