Simple LMTP handshake crashes it:
[20:19] root spectre:/usr/lib/dovecot# ./lmtp 220 spectre.leuxner.net Dovecot LMTP ready Info: Connect from local lhlo leuxner.net 250-spectre.leuxner.net 250-8BITMIME 250-ENHANCEDSTATUSCODES 250 PIPELINING mail from:tlx@leuxner.net 250 2.1.0 OK rcpt to:tlx@leuxner.net 250 2.1.5 OK data 354 OK test .
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f08f26006e0 (LWP 11784)] 0x00007f08f1ee1630 in message_parse_header_next () from /usr/lib/dovecot/libdovecot.so.0 (gdb) bt full #0 0x00007f08f1ee1630 in message_parse_header_next () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #1 0x00007f08f1ee2fb3 in ?? () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #2 0x00007f08f1ee2659 in message_parser_parse_next_block () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #3 0x00007f08f1ee286b in message_parser_parse_header () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #4 0x00007f08f2193c40 in index_mail_parse_headers () from /usr/lib/dovecot/libdovecot-storage.so.0 No symbol table info available. #5 0x00007f08f2193f77 in ?? () from /usr/lib/dovecot/libdovecot-storage.so.0 No symbol table info available. #6 0x00007f08f21942df in index_mail_get_first_header () from /usr/lib/dovecot/libdovecot-storage.so.0 No symbol table info available. #7 0x00007f08f0f21846 in ?? () from /usr/lib/dovecot/modules/lib90_sieve_plugin.so No symbol table info available. #8 0x000000000040a663 in mail_deliver () No symbol table info available. #9 0x0000000000406a53 in ?? () No symbol table info available. #10 0x0000000000406fc8 in ?? () No symbol table info available. #11 0x00007f08f1efc00b in io_loop_handler_run () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #12 0x00007f08f1efb188 in io_loop_run () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #13 0x00007f08f1eeb193 in master_service_run () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #14 0x0000000000405be3 in main () No symbol table info available.