<div dir="ltr"><div>sorry for the empty mail. GMail UI confused me ;-)</div><div><br></div><div>I finally did a short term update to 2.3.2.1 and it seems to work (at least no LMTP crashes to be seen).</div><div><br></div><div>But one other thing: One of my other mailservers is still on 2.2.36 but I could not find any crash in the logs and also no other weird behaviour.</div><div>While I also use maildir there one difference in configuration is that it's using</div><div>mail_attachment_detection_options = add-flags-on-save exclude-inlined</div><div><br></div><div>I also tested with an explicit mail including a file attachment because I was not sure if I received an attachment during log retention time (this server is just serving 5 personal accounts).<br></div><div>That's fine for me but I do not totally understand why it works (or at least not crashes). I still have to verify if the flags are correctly applied though.</div><div><br></div><div>In any case since I performed one upgrade to 2.3.x already I will be able to update the other servers soon anyway. Just wanted to give that feedback/observation.</div><div><br></div><div><br></div><div>Wolfgang<br></div><div><br></div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 12, 2018 at 6:47 AM, Wolfgang Rosenauer <span dir="ltr"><<a href="mailto:wrosenauer@gmail.com" target="_blank">wrosenauer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-HOEnZb"><div class="gmail-h5"><div dir="ltr"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 11, 2018 at 6:03 PM, Aki Tuomi <span dir="ltr"><<a href="mailto:aki.tuomi@dovecot.fi" target="_blank">aki.tuomi@dovecot.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>One alternative is to migrate into sdbox format, in which this is supported</div><span><div><br></div><div><br></div><div><br></div><div id="gmail-m_-1608144022092801404m_2850333689594794746composer_signature">---<div>Aki Tuomi</div><div>Dovecot oy</div></div><div><br></div></span><div style="font-size:100%;color:rgb(0,0,0)"><span><div>-------- Original message --------</div><div>From: Wolfgang Rosenauer <<a href="mailto:wrosenauer@gmail.com" target="_blank">wrosenauer@gmail.com</a>> </div></span><div><div class="gmail-m_-1608144022092801404h5"><div>Date: 11/07/2018 18:14 (GMT+02:00) </div><div>To: Timo Sirainen <<a href="mailto:tss@iki.fi" target="_blank">tss@iki.fi</a>> </div><div>Cc: Dovecot Mailing List <<a href="mailto:dovecot@dovecot.org" target="_blank">dovecot@dovecot.org</a>> </div><div>Subject: Re: LMTP crashing heavily for my 2.2.36 installation </div><div><br></div></div></div></div><div><div class="gmail-m_-1608144022092801404h5"><div dir="ltr"><div>follow up question.</div><div><br></div><div>Is there a commit which is reasonable to backport for me into the packages or is it too intrusive or based on heavily changed code?</div><div><br></div><div><br></div><div>Thanks,</div><div>Â Wolfgang<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 11, 2018 at 3:32 PM, Wolfgang Rosenauer <span dir="ltr"><<a href="mailto:wrosenauer@gmail.com" target="_blank">wrosenauer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><span>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></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span><span>On 11 Jul 2018, at 8.41, Wolfgang Rosenauer <<a href="mailto:wrosenauer@gmail.com" target="_blank">wrosenauer@gmail.com</a>> wrote:<br>> <br></span><span>
> 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></span><span>..<br>
> storage.so.0(mail_set_attachme<wbr>nt_keywords+0x162) [0x7ff549773662]<br>
<br>
Looks like it's because of the "mail_attachment_detection_opt<wbr>ions = 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>
</span></blockquote></div>I'm indeed using maildir so this is a known issue and yes I use mail_attachment_detection_opti<wbr>ons=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>
</blockquote></div><br></div>
</div></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>