Error: lmtp-server: Connection lost during data transfer

gate2vn

Verified User
Joined
Nov 9, 2004
Messages
483
Location
Oslo
For one account (among 300+ other accounts on the same server), I have this error when there is an email sent to that account.

Code:
Jan 22 12:11:13 lmtp(18243): Error: lmtp-server: conn unix:pid=19550,uid=8 [1]: Connection lost during data transfer: read(unix:pid=19550,uid=8 [1]) failed: <no error>

Tried to search on Google, but still cannot see the reason. Any idea about the reason and how to fix please?

Thanks.
 
It looks like a bug in Dovecot 2.3. I downgraded to 2.2.33, and the mail was sent in no problem.
 
Dovecot 2.3.1 still makes some errors
/var/log/dovecot-lmtp-errors.log
Code:
Apr 23 14:51:13 lmtp(8178): Panic: file lib-event.c: line 182 (event_pop_global): assertion failed: (event != NULL)
Apr 23 14:51:13 lmtp(8178): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0xc9c11) [0x7fc53c4b8c11] -> /usr/lib/dovecot/libdovecot.so.0(+0xc9c69) [0x7fc53c4b8c69] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fc53c4283b1] -> /usr/lib/dovecot/libdovecot.so.0(event_pop_global+0xa8) [0x7fc53c4d4d98] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x4fdb8) [0x7fc53c7b6db8] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_context_deactivate+0x55) [0x7fc53c4d0625] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x89) [0x7fc53c4d0a89] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x109) [0x7fc53c4d2359] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x52) [0x7fc53c4d0b72] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7fc53c4d0d88] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7fc53c44bca3] -> dovecot/lmtp [local READY](main+0x240) [0x5618cfcebda0] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7fc53c0702e1] -> dovecot/lmtp [local READY](_start+0x2a) [0x5618cfcebeea]

Maybe someone know how to solve this problem.
Regards
 
Last edited:
Dovecot 2.2.36 is the latest version in 2.2.x, and it is available in Custombuild. We run this version without problems, but remember to NOT upgrade dovecot.conf because dovecot.conf 0.3 is not compatible with Dovecot 2.2.x

Luckily this is a temporary fix, because the fix for attachment limits shuld be available in the next Dovecot 2.3.2 version:

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

From: https://www.dovecot.org/pipermail/dovecot/2018-May/111896.html
 
Dovecot 2.2.36 is the latest version in 2.2.x, and it is available in Custombuild. We run this version without problems, but remember to NOT upgrade dovecot.conf because dovecot.conf 0.3 is not compatible with Dovecot 2.2.x

Luckily this is a temporary fix, because the fix for attachment limits shuld be available in the next Dovecot 2.3.2 version:



From: https://www.dovecot.org/pipermail/dovecot/2018-May/111896.html

Hi ditto, Thank you for your sharing.
 
Back
Top