Lmtp issues on dovecot 2.3.x with big messages

Stephan Bosch stephan at rename-it.nl
Wed May 23 14:41:33 EEST 2018

Op 23-5-2018 om 7:48 schreef Reio Remma:
> On 17.04.2018 2:21, Stephan Bosch wrote:
>> Op 16/04/2018 om 19:57 schreef Michael Tratz:
>>>>>> Messages are being sent to dovecot LMTP by postfix. If I change 
>>>>>> this email
>>>>>> to another server with dovecot 2.2.x the same message are delivered
>>>>>> immediately.
>>>>> Confirmed. Starts to fail here around 30Mb. Tested with Swaks.
>>>>> Working on a fix...
>>>> Problem found. It is an explicit limit of 40Mb (for the 30Mb I saw 
>>>> in my
>>>> tests, there was also a base64 encoding I forgot about).
>>>> Will fix both the unhelpful error and the fact that there should be no
>>>> limit (currently) for LMTP.
>>> Stephan,
>>> I’m having the same issue with LMTP and large messages with dovecot 
>>> 2.3.x. Can you tell me which commit fixes this issue? I looked 
>>> through the GitHub commits, but it’s not clear to me which commit 
>>> fixes this issue. I’d like to apply the patch and re-compile dovecot 
>>> for my machines instead of having to downgrade to 2.2.35.
>> This fix is currently pending: 
>> https://github.com/stephanbosch/dovecot-core/commits/lmtp-fix-msg-size-limit
>> I'm seeing some CI issues still and I am waiting on some input from 
>> someone else.
>> Regards,
>> Stephan.
> Any news on when this fix might turn up in a release?

Release schedule tells me it will be part of 2.3.2, which should roll 
out some time mid June.



More information about the dovecot mailing list