Package: dovecot-imapd Version: 1:2.2.27-3+deb9u2 Severity: important Dear Maintainer,
After upgrade to Stretch in my dovecot setup error found. User without access rights may delete letters in shared folders, after that imap proccess crash always on client update status on shader folder (email not really deleted). This bug is fixed in upstream, patch url = https://github.com/dovecot/core/commit/2c6a1ceeddee48ff682bbedaa2567d0429cd17c6.patch I rebuild package and reinstall fixed version to make sure. process crash with next error log Fatal: master: service(imap): child 31586 killed with signal 6 (core dumps disabled) Panic: file mail-storage.c: line 2170 (mailbox_save_context_reset): assertion failed: (ctx->copying_via_save) Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x95e92) [0x7f8e334a8e92] -> /usr/lib/dovecot/libdovecot.so.0(+0x95f8d) [0x7f8e334a8f8d] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f8e3343ea91] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x3e8d8) [0x7f8e337738d8] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_save_cancel+0x76) [0x7f8e33776bb6] -> /usr/lib/dovecot/modules/lib01_acl_plugin.so(+0xd9ec) [0x7f8e32c689ec] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x42001) [0x7f8e33777001] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_move+0x29) [0x7f8e33777219] -> dovecot/imap(+0xeba5) [0x55f38d811ba5] -> dovecot/imap(command_exec+0xa5) [0x55f38d81e735] -> dovecot/imap(+0x199c2) [0x55f38d81c9c2] -> dovecot/imap(+0x19a4c) [0x55f38d81ca4c] -> dovecot/imap(client_handle_input+0x1b5) [0x55f38d81ce55] -> dovecot/imap(client_input+0x86) [0x55f38d81d3c6] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x52) [0x7f8e334bd9f2] -> /usr/lib/dovecot/libdovecot.so.0(io_ loop_handler_run_internal+0x109) [0x7f8e334bf029] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x3c) [0x7f8e334bda8c] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7f8e334bdc38] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7f8e33444fd3] -> dovecot/imap(main+0x328) [0x55f38d80fe68] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f8e330942e1] -> dovecot/imap(_start+0x2a) [0x55f38d80ffea] -- Package-specific info: dovecot configuration --------------------- # 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.16 (fed8554) # OS: Linux 4.9.0-8-amd64 x86_64 Debian 9.5 auth_mechanisms = plain login digest-md5 ntlm cram-md5 default_vsz_limit = 512 M mail_location = maildir:~/Maildir mail_plugins = acl managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext namespace { list = yes location = maildir:/var/mail/vmail/public:INDEXPVT=/var/mail/vmail/%d/%n/Maildir/public prefix = Public/ separator = / subscriptions = no type = public } 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 = separator = / } passdb { args = scheme=CRYPT username_format=%u /etc/dovecot/users driver = passwd-file } passdb { args = scheme=CRYPT username_format=%n /etc/dovecot/shared default_fields = uid=vmail gid=vmail allow_nets=127.0.0.1/32 driver = passwd-file override_fields = home=/var/mail/vmail/public/.%n userdb_mail=maildir:~/ mail=maildir:~/ } plugin { acl = vfile:/etc/dovecot/global-acls:cache_secs=300 antispam_backend = pipe antispam_mail_notspam = learn_ham antispam_mail_sendmail = /usr/bin/rspamc antispam_mail_sendmail_args = -h;localhost:11334;-P;q1 antispam_mail_spam = learn_spam antispam_spam = Junk antispam_trash = Trash sieve = ~/sieve/.dovecot.sieve sieve_dir = ~/sieve_ } protocols = " imap lmtp sieve pop3" service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } } service imap-login { inet_listener imaps { port = 993 ssl = yes } } service managesieve-login { inet_listener sieve { port = 4190 } } service pop3-login { inet_listener pop3s { port = 995 ssl = yes } } ssl_cert = </etc/dovecot/dovecot.pem ssl_key = # hidden, use -P to show it userdb { args = username_format=%u /etc/dovecot/users default_fields = uid=vmail gid=vmail home=/var/mail/vmail/%d/%n driver = passwd-file override_fields = home=/var/mail/vmail/%d/%n } userdb { args = username_format=%n /etc/dovecot/shared default_fields = uid=vmail gid=vmail home=/var/mail/vmail/public/%n driver = passwd-file override_fields = home=/var/mail/vmail/public/.%n userdb_mail=maildir:~/ mail=maildir:~/ } protocol lda { mail_plugins = acl sieve } protocol imap { mail_plugins = acl imap_acl antispam } protocol sieve { managesieve_max_line_length = 65536 } -- System Information: Debian Release: 9.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE=ru_RU.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+deb9u2 ii libbz2-1.0 1.0.6-8.1 ii libc6 2.24-11+deb9u3 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+deb9u2 pn dovecot-dbg <none> pn dovecot-dev <none> pn dovecot-gssapi <none> ii dovecot-imapd 1:2.2.27-3+deb9u2 pn dovecot-ldap <none> ii dovecot-lmtpd 1:2.2.27-3+deb9u2 ii dovecot-managesieved 1:2.2.27-3+deb9u2 pn dovecot-mysql <none> pn dovecot-pgsql <none> ii dovecot-pop3d 1:2.2.27-3+deb9u2 ii dovecot-sieve 1:2.2.27-3+deb9u2 ii dovecot-sqlite 1:2.2.27-3+deb9u2 -- no debconf information