Re: [exim] Running Exim4 in docker - how to set the message…

Top Page

Reply to this message
Author: Ralph Soika
To: Exim-users
Subject: Re: [exim] Running Exim4 in docker - how to set the message_size_limit?
I found the solution by myself. It was not so difficult. Just adding the
var 'MESSAGE_SIZE_LIMIT' into the /etc/exim4/update-exim4.conf.conf file
did the trick

echo "MESSAGE_SIZE_LIMIT='100M'" >> /etc/exim4/update-exim4.conf.conf

Important here is that the var must be in upper case where the internal
param is in lower case.

I also updated my docker image on Github with some documentation - see:


On 11.02.19 18:55, Ralph Soika wrote:
> Hi,
> I have written a Docker Service to run Exim4 as a smarthost. The
> project is open on Github:
> In one of my environments I run into the 'message_size_limit' of 50MB.
> I need some help to set a 'message_size_limit' of 1000MB.
> You can see how I setup the exim4 service in this script:
> My question is: How can I set the 'message_size_limit' in my
> script? Is it possible to set this param in the
> /etc/exim4/update-exim4.conf.conf?
> I am not the exim4 expert. This is the reason why I ask here if
> anybody can help me.
> Thanks for any hints or suggestion.
> Ralph


*Imixs Software Solutions GmbH*
*Web:* <> *Phone:* +49 (0)89-452136 16
*Office:* Agnes-Pockels-Bogen 1, 80992 München
Registergericht: Amtsgericht Muenchen, HRB 136045
Geschaeftsführer: Gaby Heinle u. Ralph Soika

*Imixs* is an open source company, read more: