Package: dovecot-sieve
Version: 1:2.2.32-2
Severity: normal

Dear Maintainer,

I've just discovered a bug where the sieve plugin (especially IMAP) will not 
work with a virtual mailbox. I recently found this out when testing a virtual 
mailbox setup and I use imap_sieve for SPAM filtering so to lose that would be 
painful.

This is what is reported in dovecot's debug log...

Sep 21 10:53:01 imap(perso...@othersider92.com): Panic: file mail-index-map.c: 
line 549 (mail_index_map_lookup_seq_range): assertion failed: (first_uid > 0)
Sep 21 10:53:01 imap(perso...@othersider92.com): Error: Raw backtrace: 
/usr/lib/dovecot/libdovecot.so.0(+0x9f0a2) [0x7f4226fd50a2] -> 
/usr/lib/dovecot/libdovecot.so.0(+0x9f19a) [0x7f4226fd519a] -> 
/usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f4226f65cf8] -> 
/usr/lib/dovecot/libdovecot-storage.so.0(mail_index_map_lookup_seq_range+0x120) 
[0x7f422733dae0] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xe8d1d) 
[0x7f422734cd1d] -> 
/usr/lib/dovecot/libdovecot-storage.so.0(mail_index_lookup_seq+0xf) 
[0x7f4227350e9f] -> /usr/lib/dovecot/modules/lib20_virtual_plugin.so(+0x82aa) 
[0x7f422678a2aa] -> 
/usr/lib/dovecot/modules/lib95_imap_sieve_plugin.so(+0x708c) [0x7f422657d08c] 
-> 
/usr/lib/dovecot/libdovecot-storage.so.0(mailbox_transaction_commit_get_changes+0x52)
 [0x7f42272adca2] -> dovecot/imap(+0x10084) [0x556502adb084] -> 
dovecot/imap(command_exec+0x5c) [0x556502ae7d9c] -> dovecot/imap(+0x1b322) 
[0x556502ae6322] -> dovecot/imap(+0x1b3bc) [0x556502ae63bc] -> 
dovecot/imap(client_handle_input
 +0x18d) [0x556502ae677d] -> dovecot/imap(client_input+0xac) [0x556502ae6ccc] 
-> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x52) [0x7f4226fea742] -> 
/usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x12e) 
[0x7f4226febd8e] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x36) 
[0x7f4226fea7d6] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) 
[0x7f4226fea988] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) 
[0x7f4226f70353] -> dovecot/imap(main+0x329) [0x556502ad9139] -> 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f4226bb92e1] -> 
dovecot/imap(_start+0x2a) [0x556502ad92ca]
Sep 21 10:53:01 imap(perso...@othersider92.com): Fatal: master: service(imap): 
child 14102 killed with signal 6 (core dumps disabled)

I switched back to a regular setup for now but I want to switch to a virtual 
mailbox in the future and I can't do that with imap_sieve broken like this.

Is it fixable? I really want to use IMAP sieve in absense of dovecot_antispam 
which does not work anymore on this debian version yet I can't do it.

-- Package-specific info:

-- System Information:
Debian Release: 8.2
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'unstable'), (500, 'testing'), 
(500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dovecot-sieve depends on:
ii  dovecot-core  1:2.2.32-2
ii  libc6         2.24-17
ii  ucf           3.0030

dovecot-sieve recommends no packages.

dovecot-sieve suggests no packages.

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

-- no debconf information

Reply via email to