Package: dovecot-imapd
Version: 1:2.2.27-3+deb9u1
Severity: important

Dear Maintainer,

* What led up to the situation?

  We are using dovecot IMAPD from Debian stable (9.1 / stretch)

  Enabled zlib plugin in dovecot configuration. Appended

    mail_plugins = $mail_plugins zlib

  line to dovecot config based on online documentation. See

    https://wiki.dovecot.org/Plugins/Zlib

* What was the outcome of this action?

  After opening a gzipped Mbox folder using an IMAP client,
  dovecot-imapd process exited.  mail.log contained the following

# Oct 26 09:37:27 odin dovecot: imap(gburjan): Panic: file istream-zlib.c: line 
416 (i_stream_zlib_seek): assertion failed: (ret == -1)
# Oct 26 09:37:27 odin dovecot: imap(gburjan): Error: Raw backtrace: 
/usr/lib/dovecot/libdovecot.so.0(+0x95272) [0x7f9cdf8da272] -> 
/usr/lib/dovecot/libdovecot.so.0(+0x9536d) [0x7f9cdf8da36d] -> 
/usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f9cdf870951] -> 
/usr/lib/dovecot/modules/lib20_zlib_plugin.so(+0x5883) [0x7f9cdf09b883] -> 
/usr/lib/dovecot/libdovecot.so.0(i_stream_seek+0x56) [0x7f9cdf8e5006] -> 
/usr/lib/dovecot/libdovecot-storage.so.0(istream_raw_mbox_get_body_size+0x1b9) 
[0x7f9cdfbd9a89] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x7f41b) 
[0x7f9cdfbe541b] -> /usr/lib/dovecot/libdovecot-storage.so.0(mbox_sync+0x48) 
[0x7f9cdfbe78b8] -> 
/usr/lib/dovecot/libdovecot-storage.so.0(mbox_storage_sync_init+0x85) 
[0x7f9cdfbe7a45] -> 
/usr/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x3b) 
[0x7f9cdfba702b] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) 
[0x7f9cdfba7177] -> dovecot/imap(cmd_select_full+0x18e) [0x55db13c724ae] -> 
dovecot/imap(command_exec+0xa5) [
 0x55db13c79735] -> dovecot/imap(+0x199c2) [0x55db13c779c2] -> 
dovecot/imap(+0x19a4c) [0x55db13c77a4c] -> 
dovecot/imap(client_handle_input+0x1b5) [0x55db13c77e55] -> 
dovecot/imap(client_input+0x86) [0x55db13c783c6] -> 
/usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x52) [0x7f9cdf8eedd2] -> 
/usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x109) 
[0x7f9cdf8f0409] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x3c) 
[0x7f9cdf8eee6c] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) 
[0x7f9cdf8ef018] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) 
[0x7f9cdf876e93] -> dovecot/imap(main+0x328) [0x55db13c6ae68] -> 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f9cdf4c62b1] -> 
dovecot/imap(_start+0x2a) [0x55db13c6afea]
# Oct 26 09:37:27 odin dovecot: imap(gburjan): Fatal: master: service(imap): 
child 16445 killed with signal 6 (core dumps disabled)

* What outcome did you expect instead?

  Read-only access over imap to gzipped mbox folder.


-- Package-specific info:

dovecot configuration
---------------------
# 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.16 (fed8554)
# OS: Linux 4.9.50-x86_64-linode86 x86_64 Debian 9.1 
mail_location = mbox:~/Mail:INBOX=/var/mail/%u
mail_plugins = " zlib"
mail_privileged_group = mail
namespace inbox {
  inbox = yes
  location = 
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix = 
}
passdb {
  driver = pam
}
protocols = " imap pop3"
ssl_cert = </etc/ssl/certs/ssl-cert-snakeoil.pem
ssl_key =  # hidden, use -P to show it
userdb {
  driver = passwd
}

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.50-x86_64-linode86 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=hu_HU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dovecot-imapd depends on:
ii  dovecot-core  1:2.2.27-3+deb9u1
ii  libbz2-1.0    1.0.6-8.1
ii  libc6         2.24-11+deb9u1
ii  liblz4-1      0.0~r131-2+b1
ii  liblzma5      5.2.2-1.2+b1
ii  ucf           3.0036
ii  zlib1g        1:1.2.8.dfsg-5

dovecot-imapd recommends no packages.

Versions of packages dovecot-imapd suggests:
pn  ufw  <none>

Versions of packages dovecot-imapd is related to:
ii  dovecot-core [dovecot-common]  1:2.2.27-3+deb9u1
pn  dovecot-dbg                    <none>
pn  dovecot-dev                    <none>
pn  dovecot-gssapi                 <none>
ii  dovecot-imapd                  1:2.2.27-3+deb9u1
pn  dovecot-ldap                   <none>
pn  dovecot-lmtpd                  <none>
pn  dovecot-managesieved           <none>
pn  dovecot-mysql                  <none>
pn  dovecot-pgsql                  <none>
ii  dovecot-pop3d                  1:2.2.27-3+deb9u1
pn  dovecot-sieve                  <none>
pn  dovecot-sqlite                 <none>

-- no debconf information

Reply via email to