Admin-Ahead Community

Linux => Control Panels => cPanel => Topic started by: sajugovind on March 29, 2014, 10:09:33 pm

Title: How to set maximum email attachment size in exim email server
Post by: sajugovind on March 29, 2014, 10:09:33 pm
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.

Code: [Select]
message_size_limit = 10M
Save and exit the file and restart the exim service.

Code: [Select]
/etc/init.d/exim restart
On cPanel servers, this can be done from WHM

Code: [Select]
=> 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

Code: [Select]
#exim -bP | grep message_size_limit

Output should be

Code: [Select]
message_size_limit = 10M
Note : The default email attachment size for exim email server in the cPanel / WHM is 50MB.