Re: LMTP crashing heavily for my 2.2.36 installation
On Wed, Jul 11, 2018 at 6:03 PM, Aki Tuomi aki.tuomi@dovecot.fi wrote:
One alternative is to migrate into sdbox format, in which this is supported
Aki Tuomi Dovecot oy
-------- Original message -------- From: Wolfgang Rosenauer wrosenauer@gmail.com Date: 11/07/2018 18:14 (GMT+02:00) To: Timo Sirainen tss@iki.fi Cc: Dovecot Mailing List dovecot@dovecot.org Subject: Re: LMTP crashing heavily for my 2.2.36 installation
follow up question.
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?
Thanks, Wolfgang
On Wed, Jul 11, 2018 at 3:32 PM, Wolfgang Rosenauer wrosenauer@gmail.com wrote:
On Wed, Jul 11, 2018 at 10:46 AM, Timo Sirainen tss@iki.fi wrote:
On 11 Jul 2018, at 8.41, Wolfgang Rosenauer wrosenauer@gmail.com wrote:
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).
Sometimes (but not always a backtrace is posted to the logs:
2018-07-11T07:34:56.741848+02:00 saruman dovecot: lmtp(14690): Fatal:
master: service(lmtp): child 14690 killed with signal 11 (core dumps disabled)
2018-07-11T07:34:56.820474+02:00 saruman dovecot: lmtp(an007498): Panic: file imap-bodystructure.c: line 116 (part_write_body_multipart): assertion failed: (part->data != NULL) .. storage.so.0(mail_set_attachment_keywords+0x162) [0x7ff549773662]
Looks like it's because of the "mail_attachment_detection_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).
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.
Thanks, Wolfgang
sorry for the empty mail. GMail UI confused me ;-)
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).
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. While I also use maildir there one difference in configuration is that it's using mail_attachment_detection_options = add-flags-on-save exclude-inlined
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). 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.
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.
Wolfgang
On Thu, Jul 12, 2018 at 6:47 AM, Wolfgang Rosenauer wrosenauer@gmail.com wrote:
On Wed, Jul 11, 2018 at 6:03 PM, Aki Tuomi aki.tuomi@dovecot.fi wrote:
One alternative is to migrate into sdbox format, in which this is supported
Aki Tuomi Dovecot oy
-------- Original message -------- From: Wolfgang Rosenauer wrosenauer@gmail.com Date: 11/07/2018 18:14 (GMT+02:00) To: Timo Sirainen tss@iki.fi Cc: Dovecot Mailing List dovecot@dovecot.org Subject: Re: LMTP crashing heavily for my 2.2.36 installation
follow up question.
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?
Thanks, Wolfgang
On Wed, Jul 11, 2018 at 3:32 PM, Wolfgang Rosenauer
wrote:
On Wed, Jul 11, 2018 at 10:46 AM, Timo Sirainen tss@iki.fi wrote:
On 11 Jul 2018, at 8.41, Wolfgang Rosenauer wrosenauer@gmail.com wrote:
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).
Sometimes (but not always a backtrace is posted to the logs:
2018-07-11T07:34:56.741848+02:00 saruman dovecot: lmtp(14690):
Fatal: master: service(lmtp): child 14690 killed with signal 11 (core dumps disabled)
2018-07-11T07:34:56.820474+02:00 saruman dovecot: lmtp(an007498): Panic: file imap-bodystructure.c: line 116 (part_write_body_multipart): assertion failed: (part->data != NULL) .. storage.so.0(mail_set_attachment_keywords+0x162) [0x7ff549773662]
Looks like it's because of the "mail_attachment_detection_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).
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.
Thanks, Wolfgang
participants (1)
-
Wolfgang Rosenauer