Lmtp issues on dovecot 2.3.x with big messages

Stephan Bosch stephan at rename-it.nl
Tue Apr 17 02:21:35 EEST 2018



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.




More information about the dovecot mailing list