On 2026-02-02 21:52, Timo Sirainen via dovecot wrote:
On 2. Feb 2026, at 22.16, Timo Sirainen via dovecot <[email protected]> wrote:

On 2. Feb 2026, at 12.31, Christian Kivalo via dovecot <[email protected]> wrote:



On 2026-02-02 09:09, Timo Sirainen via dovecot wrote:
Hi,
On 26. Jan 2026, at 14.13, Christian Kivalo via dovecot <[email protected]> wrote:
the ipad logged in again and caused ~100 panics. Logging with log_debug=category==imap or category=sieve.
I can provide the coredump if needed.
A core dump for this crash would be helpful, since it's not easily reproducible. Please send it to me privately [email protected] <mailto:[email protected]> using the tarball generated by dovecot-sysreport --core /path/to/core.

Hi,
I sent you the dovecot-sysreport tarball.

Thanks. I can now reproduce. The crash happens (at least) when:
* imapsieve action is for COPY
* source message has no $HasAttachment or $HasNoAttachment flags
* mail_attachment_detection_options contains add-flags (nowadays the default)

So for now the workaround would be to set mail_attachment_detection_options to empty value. Or trigger some doveadm command to update attachment flags to all existing mails (I think doveadm fetch imap.bodystructure or maybe body.1 would work).

Actually, also it seems to need the copying to happen using the slow way of saving a new mail. With Maildir this means either maildir_copy_with_hardlinks=no or if the source and destination Maildir directories' permissions aren't the same (e.g. both aren't 0700 permissions, or they have different groups).

Thanks!

i did doveadm fetch -u user imap.bodystructure ALL for two users and changed mail_attachment_detection_options to empty. I'll see if I get some panics for the third user.

I have maildir_copy_with_hardlinks=yes and directory permissions are all identical.

--
 Christian Kivalo
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to