[Dovecot] dsync core dump

Jogi Hofmüller jogi at mur.at
Fri Oct 25 13:15:23 EEST 2013


Dear all,

We're slowly progressing towards migration, and now run into dscyn
dumping core when trying to sync mailboxes from the old imap server.
Needless to say that not one byte get's transferred.  On the old.server
all I see is a correct login.

This is what we get for one example user:

server:~# doveadm -v -D backup -R -u USER imapc:
doveadm(root): Debug: Loading modules from directory:
/usr/lib/dovecot/modules
doveadm(root): Debug: Module loaded:
/usr/lib/dovecot/modules/lib01_acl_plugin.so
doveadm(root): Debug: Loading modules from directory:
/usr/lib/dovecot/modules/doveadm
doveadm(root): Debug: Module loaded:
/usr/lib/dovecot/modules/doveadm/lib10_doveadm_acl_plugin.so
doveadm(root): Debug: Skipping module doveadm_expire_plugin, because
dlopen() failed:
/usr/lib/dovecot/modules/doveadm/lib10_doveadm_expire_plugin.so:
undefined symbol: expire_set_deinit (this is usually intentional, so
just ignore this message)
doveadm(root): Debug: Skipping module doveadm_quota_plugin, because
dlopen() failed:
/usr/lib/dovecot/modules/doveadm/lib10_doveadm_quota_plugin.so:
undefined symbol: quota_user_module (this is usually intentional, so
just ignore this message)
doveadm(root): Debug: Skipping module doveadm_zlib_plugin, because
dlopen() failed:
/usr/lib/dovecot/modules/doveadm/lib10_doveadm_zlib_plugin.so: undefined
symbol: i_stream_create_deflate (this is usually intentional, so just
ignore this message)
doveadm(root): Debug: Skipping module doveadm_fts_plugin, because
dlopen() failed:
/usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_plugin.so: undefined
symbol: fts_backend_rescan (this is usually intentional, so just ignore
this message)
doveadm(USER): Debug: auth input: USER system_groups_user=USER uid=XXXX
gid=YYYY home=/home/USER /etc/dovecot/proxy-userdb
doveadm(USER): Debug: Unknown userdb setting:
plugin//etc/dovecot/proxy-userdb=yes
doveadm(USER): Debug: Effective uid=XXXX, gid=YYYY, home=/home/USER
doveadm(USER): Debug: Namespace inbox: type=private, prefix=, sep=,
inbox=yes, hidden=yes, list=no, subscriptions=yes location=maildir:~/Maildir
doveadm(USER): Debug: maildir++: root=/home/USER/Maildir, index=,
control=, inbox=/home/USER/Maildir, alt=
doveadm(USER): Debug: acl: initializing backend with data: vfile
doveadm(USER): Debug: acl: acl username = USER
doveadm(USER): Debug: acl: owner = 1
doveadm(USER): Debug: acl vfile: Global ACL directory: (none)
doveadm(USER): Debug: Namespace : type=shared, prefix=shared/%u/, sep=,
inbox=no, hidden=no, list=children, subscriptions=no
location=maildir:%h/Maildir:INDEX=~/Maildir/shared/%u
doveadm(USER): Debug: shared: root=/var/run/dovecot, index=, control=,
inbox=, alt=
doveadm(USER): Debug: acl: initializing backend with data: vfile
doveadm(USER): Debug: acl: acl username = USER
doveadm(USER): Debug: acl: owner = 0
doveadm(USER): Debug: acl vfile: Global ACL directory: (none)
dsync(USER): Debug: Effective uid=XXXX, gid=YYYY, home=/home/USER
dsync(USER): Debug: Namespace inbox: type=private, prefix=, sep=,
inbox=yes, hidden=yes, list=no, subscriptions=yes location=imapc:
dsync(USER): Debug: imapc: root=, index=, control=, inbox=, alt=
dsync(USER): Debug: imapc(old.server:PORT): Looking up IP address
dsync(USER): Debug: imapc(old.server:PORT): Connecting to IP
dsync(USER): Debug: imapc(old.server:PORT): Starting SSL handshake
dsync(USER): Debug: imapc(old.server:PORT): SSL handshake successful
dsync(USER): Debug: imapc(old.server:PORT): Server capabilities: IMAP4
IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID
NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT
THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=PLAIN ANNOTATEMORE
dsync(USER): Debug: imapc(old.server:PORT): Authenticating as cyrus for
user USER
dsync(USER): Debug: imapc(old.server:PORT): Authenticated successfully
dsync(USER): Debug: acl: initializing backend with data: vfile
dsync(USER): Debug: acl: acl username = USER
dsync(USER): Debug: acl: owner = 1
dsync(USER): Debug: acl vfile: Global ACL directory: (none)
dsync(USER): Debug: Namespace : type=shared, prefix=shared/%u/, sep=,
inbox=no, hidden=no, list=children, subscriptions=no
location=maildir:%h/Maildir:INDEX=~/Maildir/shared/%u
dsync(USER): Debug: shared: root=/var/run/dovecot, index=, control=,
inbox=, alt=
dsync(USER): Debug: acl: initializing backend with data: vfile
dsync(USER): Debug: acl: acl username = USER
dsync(USER): Debug: acl: owner = 0
dsync(USER): Debug: acl vfile: Global ACL directory: (none)
Segmentation fault (core dumped)

Here is the output of dovecot -n

# 2.1.17: /etc/dovecot/dovecot.conf
# OS: Linux 3.10-3-amd64 x86_64 Debian jessie/sid
auth_debug = yes
imapc_features = rfc822.size
imapc_host = old.server
imapc_list_prefix = INBOX
imapc_master_user = MASTERUSER
imapc_password = MASTERPASS
imapc_port = PORT
imapc_ssl = imaps
imapc_ssl_ca_dir = /etc/ssl/certs
lmtp_save_to_detail_mailbox = yes
mail_debug = yes
mail_location = maildir:~/Maildir
mail_plugins = acl
namespace {
  list = children
  location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
  prefix = shared/%%u/
  subscriptions = no
  type = shared
}
namespace inbox {
  hidden = yes
  inbox = yes
  list = no
  location =
  mailbox Drafts {
    auto = subscribe
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    auto = subscribe
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    auto = subscribe
    special_use = \Sent
  }
  mailbox Trash {
    auto = subscribe
    special_use = \Trash
  }
  prefix =
  subscriptions = yes
  type = private
}
passdb {
  args = session=yes
  driver = pam
}
plugin {
  acl = vfile
  acl_shared_dict = file:/var/lib/dovecot/shared-mailboxes
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
protocols = " imap lmtp pop3"
service auth {
  unix_listener auth-userdb {
    mode = 0777
  }
}
service lmtp {
  inet_listener lmtp {
    address = 172.16.16.78
    port = 24
  }
}
ssl_cert = </etc/dovecot/dovecot.pem
ssl_key = </etc/dovecot/private/dovecot.pem
userdb {
  args = /etc/dovecot/proxy-userdb
  driver = passwd
}
protocol lmtp {
  mail_plugins = acl
}
protocol imap {
  mail_plugins = acl autocreate imap_acl
}

-- 
j.hofmüller

aka Thesix                                   http://users.mur.at/thesix/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20131025/f7c6978e/attachment-0001.bin>


More information about the dovecot mailing list