<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Wed, Jul 11, 2018 at 10:46 AM, Timo Sirainen <span dir="ltr"><<a href="mailto:tss@iki.fi" target="_blank">tss@iki.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 11 Jul 2018, at 8.41, Wolfgang Rosenauer <<a href="mailto:wrosenauer@gmail.com">wrosenauer@gmail.com</a>> wrote:<br>> <br>
> I'm running 2.2.36 (as provided by openSUSE in their server:mail repository) and at least at one of my systems LMTP is crashing regularly on certain messages (apparently a lot of them).<br>
> <br>
> Sometimes (but not always a backtrace is posted to the logs:<br>
> <br>
> 2018-07-11T07:34:56.741848+02:<wbr>00 saruman dovecot: lmtp(14690): Fatal: master: service(lmtp): child 14690 killed with signal 11 (core dumps disabled)<br>
> 2018-07-11T07:34:56.820474+02:<wbr>00 saruman dovecot: lmtp(an007498): Panic: file imap-bodystructure.c: line 116 (part_write_body_multipart): assertion failed: (part->data != NULL)<br>
</span>..<br>
> storage.so.0(mail_set_<wbr>attachment_keywords+0x162) [0x7ff549773662]<br>
<br>
Looks like it's because of the "mail_attachment_detection_<wbr>options = add-flags-on-save" setting. What mailbox format do you use? It's currently broken with mbox and in v2.2.36 with Maildir (which was fixed in v2.3.2).<br>
<br>
</blockquote></div>I'm indeed using maildir so this is a known issue and yes I use mail_attachment_detection_options=add-flags-on-save (or rather I tried to but now have to disable it). Not sure when I get to upgrade to 2.3.x.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks,</div><div class="gmail_extra"> Wolfgang<br></div></div>