I need exim to allow messages larger than 20 Megabytes

Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"

Top Level » Email » Exim

I need exim to allow messages larger than 20 MegabytesLast Modified: Apr 7, 2016, 9:49 pm
The default setting in the /etc/exim.conf for the message size limit is:

message_size_limit = 20M

You can edit the /etc/exim.conf and increase this value as needed.  Restart exim after changing the value

/etc/init.d/exim restart

SpamBlocker 4.x+

Newer exim.conf versions will use the /etc/exim.variables.conf file.
To change that, edit


using the custom variables guide to add:


or whatever you need, then run:

cd /usr/local/directadmin/custombuild
./build exim_conf

which should rebuild the exim.variables.conf

If you're using ClamAV, you'd also need to match the StreamMaxLength setting in /etc/clamd.conf, to the message_size_limit.

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST