I need exim to allow messages larger than 20 Megabytes
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
Newer exim.conf versions will use the /etc/exim.variables.conf file.
To change that, edit
using the custom variables guide
or whatever you need, then run:
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.