Moving mails from shared folder to shared folder doesn't work

Peer Heinlein p.heinlein at heinlein-support.de
Wed Sep 2 09:58:18 UTC 2015


Hi,

having the attached configuration with Dovecot 2.2.9, Dovecot's crashing
when moving a mail from a shared folder into another shared folder.

Moving that mail into a "real" folder of the user or moving that mail
from a real folder into the shared folder is always working. But moving
from a shared folder into a shared folder doesn't work.


Sep  2 11:47:42 mail02 dovecot: imap(peer.heinlein at example.com): Panic:
file mail-index.c: line 380 (mail_index_keywords_unref): assertion
failed: (keywords->refcount > 0)
Sep  2 11:47:42 mail02 dovecot: imap(peer.heinlein at example.com): Error:
Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x62792)
[0x7f87e455f792] -> /usr/lib/dovecot/libdovecot.so.0(+0x627f6)
[0x7f87e455f7f6] -> /usr/lib/dovecot/libdovecot.so.0(+0x1c5ca)
[0x7f87e45195ca] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xb032f)
[0x7f87e487232f] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mailbox_copy+0x75)
[0x7f87e4838315] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mailbox_move+0x1d)
[0x7f87e48383dd] -> dovecot/imap [peer.heinlein at example.com
172.31.xxx.xxx UID move](+0xec4a) [0x7f87e4cfbc4a] -> dovecot/imap
[peer.heinlein at example.com 172.31.xxx.xxx UID move](command_exec+0x3d)
[0x7f87e4d06acd] -> dovecot/imap [peer.heinlein at example.com
172.31.xxx.xxx UID move](+0x18b60) [0x7f87e4d05b60] -> dovecot/imap
[peer.heinlein at example.com 172.31.xxx.xxx UID move](+0x18c4d)
[0x7f87e4d05c4d] -> dovecot/imap [peer.heinlein at example.com
172.31.xxx.xxx UID move](client_handle_input+0x11d) [0x7f87e4d05edd] ->
dovecot/imap [peer.heinlein at example.com 172.31.xxx.xxx UID
move](client_input+0x72) [0x7f87e4d06292] ->
/usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x36) [0x7f87e456f5f6]
-> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0xaf)
[0x7f87e45706cf] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38)
[0x7f87e456f568] ->
/usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13)
[0x7f87e451e0c3] -> dovecot/imap [peer.heinlein at example.com
172.31.xxx.xxx UID move](main+0x303) [0x7f87e4d10043] ->
/lib/libc.so.6(__libc_start_main+0xfd) [0x7f87e4192c8d] -> dovecot/imap
[peer.heinlein at example.com 172.31.xxx.xxx UID move](+0xd0e9)
[0x7f87e4cfa0e9]
Sep  2 11:47:42 mail02 dovecot: imap(peer.heinlein at example.com): Fatal:
master: service(imap): child 18707 killed with signal 6 (core dumps
disabled)


Peer


-- 
Heinlein Support GmbH
Schwedter Str. 8/9b, 10119 Berlin

http://www.heinlein-support.de

Tel: 030 / 405051-42
Fax: 030 / 405051-19

Zwangsangaben lt. §35a GmbHG: HRB 93818 B / Amtsgericht
Berlin-Charlottenburg,
Geschäftsführer: Peer Heinlein -- Sitz: Berlin
-------------- next part --------------
root at mail02:/media/hotfix# doveconf  -n
# 2.2.9: /etc/dovecot/dovecot.conf
# OS: Linux 3.0.0-32-generic x86_64 Ubuntu 10.04.4 LTS 
auth_debug = yes
auth_mechanisms = plain login cram-md5 digest-md5 apop
auth_username_translation = %Lu
auth_verbose = yes
base_dir = /var/run/dovecot/
disable_plaintext_auth = no
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_debug = yes
mail_gid = vmail
mail_location = maildir:~/Maildir
mail_max_userip_connections = 750
mail_plugins = acl
mail_privileged_group = mail
mail_uid = vmail
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 ihave
namespace {
  inbox = yes
  list = yes
  location = 
  prefix = INBOX/
  separator = /
  subscriptions = yes
  type = private
}
namespace {
  list = children
  location = maildir:/mail/%%Ld/%%Ln/Maildir:INDEX=~/Maildir/shared/%%Lu:INDEXPVT=~/Maildir/shared/%%Lu:CONTROL=/mail/%Ld/%Ln/Maildir/shared/%%Lu
  prefix = shared/%%u/
  separator = /
  subscriptions = yes
  type = shared
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf
  driver = ldap
}
plugin {
  acl = vfile
  acl_shared_dict = file:/var/lib/dovecot/shared-mailboxes
  quota = maildir:storage=
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  sieve_max_redirects = 10
}
postmaster_address = postmaster at example.com
protocols = lmtp imap sieve
service auth {
  unix_listener /var/spool/postfix/private/auth {
    mode = 0666
  }
}
service imap-login {
  inet_listener imap {
    address = 127.0.0.1, xxxxx
    port = 143
  }
  inet_listener imaps {
    address = 127.0.0.1, xxxxx
    port = 993
  }
  process_min_avail = 4
  service_count = 0
}
service imap {
  executable = imap postlogin
}
service managesieve-login {
  inet_listener sieve {
    address = *
    port = 4190
  }
  inet_listener sieve_deprecated {
    address = *
    port = 2000
  }
  process_min_avail = 2
  service_count = 0
}
service pop3 {
  executable = pop3 postlogin
}
service postlogin {
  executable = script-login -d rawlog
}
userdb {
  args = /etc/dovecot/dovecot-ldap.conf
  driver = ldap
}
verbose_proctitle = yes
protocol imap {
  mail_plugins = acl imap_acl
}
protocol pop3 {
  mail_plugins = acl
}
protocol lmtp {
  mail_plugins = acl sieve
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20150902/f3b7f837/attachment.sig>


More information about the dovecot mailing list