lmtp panic with many recipients

Stephan Bosch stephan at rename-it.nl
Wed May 9 11:04:24 EEST 2018



Op 08/05/2018 om 10:34 schreef Olaf Hopp:
> Hi,
>
> I had an email with 58 recipients in the "To" and 13 in the "CC"
> Delivering it from exim to dovecot lmtp panics (see below)
> Panic: file smtp-address.c: line 533 (smtp_address_write): assertion 
> failed: (smtp_char_is_qpair(*p))
>
> # 2.3.1 (c5a5c0c82): /etc/dovecot/dovecot.conf
> # Pigeonhole version 0.5.devel (61b47828)
> # OS: Linux 2.6.32-696.23.1.el6.x86_64 x86_64 CentOS release 6.9 (Final)
>

Do you have an example e-mail that triggers the problem and the sieve 
scripts that are involved for the recipient that causes the crash?

Regards,

Stephan.

> Regards,
> Olaf
>
>
>
> May  8 10:01:52 irams2 dovecot: lmtp(17557): Debug: none: root=, 
> index=, indexpvt=, control=, inbox=, alt=
> May  8 10:01:52 irams2 dovecot: lmtp(17557): Connect from local
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test at irams2.ira.uka.de)<17557><30+oHXBZ8VqVRAAApw0JKA>: Debug: 
> Loading modules from directory: /usr/lib64/dovecot
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test at irams2.ira.uka.de)<17557><30+oHXBZ8VqVRAAApw0JKA>: Debug: 
> Module loaded: /usr/lib64/dovecot/lib90_sieve_plugin.so
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test at irams2.ira.uka.de)<17557><30+oHXBZ8VqVRAAApw0JKA>: Debug: 
> auth USER input: ms2test system_groups_user=ms2test uid=10852 gid=1602 
> home=/home/atis/ms2test
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test at irams2.ira.uka.de)<17557><30+oHXBZ8VqVRAAApw0JKA>: Debug: 
> changed username to ms2test
> May  8 10:01:52 irams2 dovecot: lmtp(17557, ms2test): Debug: Effective 
> uid=10852, gid=1602, home=/home/atis/ms2test
> May  8 10:01:52 irams2 dovecot: lmtp(17557, ms2test): Debug: Namespace 
> inbox: type=private, prefix=INBOX., sep=., inbox=yes, hidden=no, 
> list=yes, subscriptions=yes location=maildir:~/Maildir
> May  8 10:01:52 irams2 dovecot: lmtp(17557, ms2test): Debug: 
> maildir++: root=/home/atis/ms2test/Maildir, index=, indexpvt=, 
> control=, inbox=/home/atis/ms2test/Maildir, alt=
> May  8 10:01:52 irams2 dovecot: lmtp(17557, ms2test): Debug: Namespace 
> : type=private, prefix=, sep=, inbox=no, hidden=yes, list=no, 
> subscriptions=no location=fail::LAYOUT=none
> May  8 10:01:52 irams2 dovecot: lmtp(17557, ms2test): Debug: none: 
> root=, index=, indexpvt=, control=, inbox=, alt=
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test)<17557><30+oHXBZ8VqVRAAApw0JKA>: Debug: sieve: Pigeonhole 
> version 0.5.devel (61b47828) initializing
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test)<17557><30+oHXBZ8VqVRAAApw0JKA>: Debug: sieve: include: 
> sieve_global is not set; it is currently not possible to include 
> `:global' scripts.
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test)<17557><30+oHXBZ8VqVRAAApw0JKA>: Debug: sieve: file 
> storage: Using active Sieve script path: 
> /home/atis/ms2test/.dovecot.sieve
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test)<17557><30+oHXBZ8VqVRAAApw0JKA>: Debug: sieve: file 
> storage: Using script storage path: /home/atis/ms2test/sieve
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test)<17557><30+oHXBZ8VqVRAAApw0JKA>: Debug: sieve: file 
> storage: Relative path to sieve storage in active link: sieve/
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test)<17557><30+oHXBZ8VqVRAAApw0JKA>: Debug: sieve: file 
> storage: Using Sieve script path: /home/atis/ms2test/.dovecot.sieve
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test)<17557><30+oHXBZ8VqVRAAApw0JKA>: Debug: sieve: file 
> script: Opened script `ingo' from `/home/atis/ms2test/.dovecot.sieve'
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test)<17557><30+oHXBZ8VqVRAAApw0JKA>: Debug: sieve: file 
> storage: Using Sieve script path: /etc/dovecot/sieve-master
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test)<17557><30+oHXBZ8VqVRAAApw0JKA>: Debug: sieve: file 
> script: Opened script `sieve-master' from `/etc/dovecot/sieve-master'
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test)<17557><30+oHXBZ8VqVRAAApw0JKA>: Debug: sieve: Executed 
> before user's personal Sieve script(1): /etc/dovecot/sieve-master
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test)<17557><30+oHXBZ8VqVRAAApw0JKA>: Debug: sieve: Using the 
> following location for user's Sieve script: 
> /home/atis/ms2test/.dovecot.sieve
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test)<17557><30+oHXBZ8VqVRAAApw0JKA>: Debug: Mailbox <lmtp 
> DATA local>: Opened mail UID=1 because: header Message-ID (Cache file 
> is unusable)
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test)<17557><30+oHXBZ8VqVRAAApw0JKA>: Debug: sieve: Opening 
> script 1 of 2 from `/etc/dovecot/sieve-master'
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test)<17557><30+oHXBZ8VqVRAAApw0JKA>: Debug: sieve: Loading 
> script /etc/dovecot/sieve-master
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test)<17557><30+oHXBZ8VqVRAAApw0JKA>: Debug: sieve: Script 
> binary /etc/dovecot/sieve-master.svbin successfully loaded
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test)<17557><30+oHXBZ8VqVRAAApw0JKA>: Debug: sieve: binary 
> save: not saving binary /etc/dovecot/sieve-master.svbin, because it is 
> already stored
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test)<17557><30+oHXBZ8VqVRAAApw0JKA>: Debug: sieve: Executing 
> script from `/etc/dovecot/sieve-master.svbin'
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test)<17557><30+oHXBZ8VqVRAAApw0JKA>: Debug: Mailbox <lmtp 
> DATA local>: Opened mail UID=1 because: header List-Id (Cache file is 
> unusable)
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test)<17557><30+oHXBZ8VqVRAAApw0JKA>: Panic: file 
> smtp-address.c: line 533 (smtp_address_write): assertion failed: 
> (smtp_char_is_qpair(*p))
> May  8 10:01:52 irams2 dovecot: 
> lmtp(ms2test)<17557><30+oHXBZ8VqVRAAApw0JKA>: Error: Raw backtrace: 
> /usr/lib64/dovecot/libdovecot.so.0(+0xca92a) [0x7fd7b6d0a92a] -> 
> /usr/lib64/dovecot/libdovecot.so.0(i_syslog_fatal_handler+0x33) 
> [0x7fd7b6d0b003] -> /usr/lib64/dovecot/libdovecot.so.0(+0x3ce61) 
> [0x7fd7b6c7ce61] -> /usr/lib64/dovecot/libdovecot.so.0(+0x403fb) 
> [0x7fd7b6c803fb] -> 
> /usr/lib64/dovecot/libdovecot.so.0(smtp_address_encode+0x29) 
> [0x7fd7b6c80429] -> /usr/lib64/dovecot/libdovecot-sieve.so.0(+0x46892) 
> [0x7fd7b4146892] -> 
> /usr/lib64/dovecot/libdovecot-sieve.so.0(sieve_match+0xbf) 
> [0x7fd7b41475ff] -> /usr/lib64/dovecot/libdovecot-sieve.so.0(+0x4d9ec) 
> [0x7fd7b414d9ec] -> 
> /usr/lib64/dovecot/libdovecot-sieve.so.0(sieve_interpreter_continue+0x71) 
> [0x7fd7b413c4b1] -> 
> /usr/lib64/dovecot/libdovecot-sieve.so.0(sieve_interpreter_run+0x2b) 
> [0x7fd7b413d07b] -> /usr/lib64/dovecot/libdovecot-sieve.so.0(+0x522fb) 
> [0x7fd7b41522fb] -> 
> /usr/lib64/dovecot/libdovecot-sieve.so.0(sieve_multiscript_run+0x5a) 
> [0x7fd7b415252a] -> /usr/lib64/dovecot/lib90_sieve_plugin.so(+0x36ad) 
> [0x7fd7b43bb6ad] -> 
> /usr/lib64/dovecot/libdovecot-lda.so.0(mail_deliver+0xd2) 
> [0x7fd7b7314942] -> dovecot/lmtp [local DATA](+0x6ffe) 
> [0x7fd7b7756ffe] -> dovecot/lmtp [local DATA](lmtp_local_data+0x156) 
> [0x7fd7b7757466] -> dovecot/lmtp [local DATA](cmd_data_continue+0x218) 
> [0x7fd7b7756088] -> /usr/lib64/dovecot/libdovecot.so.0(+0x4ee3d) 
> [0x7fd7b6c8ee3d] -> /usr/lib64/dovecot/libdovecot.so.0(+0x4f242) 
> [0x7fd7b6c8f242] -> /usr/lib64/dovecot/libdovecot.so.0(+0x4f837) 
> [0x7fd7b6c8f837] -> 
> /usr/lib64/dovecot/libdovecot.so.0(smtp_server_command_next_to_reply+0x3b) 
> [0x7fd7b6c9212b] -> /usr/lib64/dovecot/libdovecot.so.0(+0x55a30) 
> [0x7fd7b6c95a30] -> 
> /usr/lib64/dovecot/libdovecot.so.0(io_loop_call_io+0x55) 
> [0x7fd7b6d21785] -> 
> /usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run+0x95) 
> [0x7fd7b6d218b5] -> 
> /usr/lib64/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7fd7b6d21a98] 
> -> /usr/lib64/dovecot/libdovecot.so.0(master_service_run+0x13) 
> [0x7fd7b6c9f493] -> dovecot/lmtp [loc
> May  8 10:01:52 irams2 dovecot: lmtp: Fatal: master: service(lmtp): 
> child 17557 killed with signal 6 (core dumps disabled - 
> https://dovecot.org/bugreport.html#coredumps)
>



More information about the dovecot mailing list