Hi,
dsync and replication are failing. They used to work, so I guess, it might be related to the update to 2.3.17.
This is a fresh install of Freebsd 13.
Please let me know, if further Information is needed (I haven't follow Odhiambos advice from another thread yet, but will follow, if requested)
With replication-plugin disabled:
# doveadm sync -u xxx@zzz.de tcps:mail.bruecko.de doveadm(xxx@zzz.de): Panic: file array.c: line 10 (array_idx_modifiable_i): assertion failed: (idx < array->buffer->used / array->element_size) Abort
enabled plugin (btw: what makes dovecot trying to sync accounts on a fresh install, though the other server isn't configured to replicate with freebsd.bruecko.de):
Nov 3 19:08:28 freebsd dovecot[68537]: doveadm(x.zzzz@yyy.de)<91733><IT8dBxzQgmFVZgEAA4a8sQ>: Fatal: master: service(doveadm): child 91733 killed with signal 6 (core not dumped - https://dovecot.org/bugreport.html#coredumps)
I didn't follow Odhiambos advice from another thread yet, but do, if requested.
Any help appreciated
doveconf -n:
# 2.3.17 (e2aa53df5b): /usr/local/etc/dovecot/dovecot.conf # Pigeonhole version 0.5.17 (054dddfa) # OS: FreeBSD 13.0-RELEASE-p4 amd64 # Hostname: freebsd.bruecko.de auth_master_user_separator = * auth_mechanisms = plain login digest-md5 cram-md5 apop auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890+.-_@ auth_verbose = yes doveadm_password = # hidden, use -P to show it doveadm_port = 54321 lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes lda_original_recipient_header = X-Original-To lmtp_save_to_detail_mailbox = yes mail_location = mdbox:~/mdbox mail_plugins = " quota fts fts_xapian zlib notify 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 { hidden = no ignore_on_failure = no inbox = no list = children location = mdbox:%%h/mdbox prefix = shared/%%u/ separator = / subscriptions = yes type = shared } namespace { location = mdbox:/virtualmail/public:INDEXPVT=%h/mdbox/Public prefix = Public/ separator = / subscriptions = yes type = public } namespace inbox { inbox = yes location = mailbox Drafts { auto = subscribe special_use = \Drafts } mailbox Sent { auto = subscribe special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { auto = subscribe special_use = \Trash } prefix = INBOX/ separator = / } passdb { args = /usr/local/etc/dovecot/master-users driver = passwd-file master = yes pass = yes } passdb { args = /usr/local/etc/dovecot/dovecot-ldap.conf.ext driver = ldap } plugin { acl = vfile acl_anyone = allow acl_shared_dict = file:/virtualmail/shared-mailboxes.db fts = xapian fts_autoindex = yes fts_autoindex_exclude = \Trash fts_enforced = yes fts_xapian = partial=3 full=20 verbose=0 mail_replica = tcps:mail.bruecko.de quota = dict:User quota::file:%h/dovecot-quota quota_exceeded_message = Storage quota for this account has been exceeded, please try again later. quota_grace = 250M quota_rule = *:storage=2500M quota_rule2 = INBOX/Trash:storage=+10%% quota_status_nouser = DUNNO quota_status_overquota = 552 5.2.2 Mailbox is full / Mailbox ist voll quota_status_success = DUNNO quota_warning = storage=95%% quota-warning 95 %u quota_warning2 = storage=80%% quota-warning 80 %u quota_warning3 = storage=75%% quota-warning 75 %u sieve = ~/dovecot.sieve sieve_dir = ~/sieve sieve_global_dir = /virtualmail sieve_max_actions = 0 sieve_max_redirects = 64 sieve_max_script_size = 0 sieve_quota_max_scripts = 0 trash = /usr/local/etc/dovecot/dovecot-trash.conf.ext } postmaster_address = postmaster@bruecko.de protocols = imap pop3 lmtp sieve replication_dsync_parameters = -d -N -l 30 -U -x Public service aggregator { fifo_listener replication-notify-fifo { user = vmail } unix_listener replication-notify { user = vmail } } service auth { unix_listener /var/spool/postfix/private/auth { mode = 0666 } unix_listener auth-userdb { group = vmail user = vmail } } service decode2text { executable = script /usr/local/libexec/dovecot/decode2text.sh unix_listener decode2text { mode = 0666 } user = dovecot } service doveadm { drop_priv_before_exec = yes inet_listener { port = 54321 ssl = yes } vsz_limit = 0 } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service indexer-worker { vsz_limit = 2 G } service lmtp { inet_listener lmtp { address = 127.0.0.1 port = 24 } user = vmail } service managesieve-login { inet_listener sieve { port = 4190 } inet_listener sieve_deprecated { port = 2000 } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } service quota-status { client_limit = 1 executable = quota-status -p postfix inet_listener { port = 12340 } } service quota-warning { executable = script /usr/local/bin/quota-warning.sh unix_listener quota-warning { user = vmail } user = vmail } service replicator { process_min_avail = 1 unix_listener replicator-doveadm { mode = 0666 } } ssl_cert = </test/letsencrypt/live/bruecko.de/fullchain.pem ssl_cipher_list = ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA ssl_client_ca_dir = /etc/ssl/certs ssl_key = # hidden, use -P to show it ssl_prefer_server_ciphers = yes userdb { driver = prefetch } userdb { args = /usr/local/etc/dovecot/dovecot-ldap.conf.ext driver = ldap } verbose_proctitle = yes protocol lmtp { mail_plugins = " quota fts fts_xapian zlib notify acl sieve" } protocol lda { mail_plugins = " quota fts fts_xapian zlib notify acl sieve" } protocol imap { mail_plugins = " quota fts fts_xapian zlib notify acl imap_quota imap_zlib imap_acl" }
Hi!
Can you send output of
doveadm -D sync -u xxx@zzz.de tcps:mail.bruecko.de
Aki
On 03/11/2021 21:22 Hanns Mattes <hanns@hannsmattes.de> wrote:
Hi,
dsync and replication are failing. They used to work, so I guess, it might be related to the update to 2.3.17.
This is a fresh install of Freebsd 13.
Please let me know, if further Information is needed (I haven't follow Odhiambos advice from another thread yet, but will follow, if requested)
With replication-plugin disabled:
# doveadm sync -u xxx@zzz.de tcps:mail.bruecko.de doveadm(xxx@zzz.de): Panic: file array.c: line 10 (array_idx_modifiable_i): assertion failed: (idx < array->buffer->used / array->element_size) Abort
enabled plugin (btw: what makes dovecot trying to sync accounts on a fresh install, though the other server isn't configured to replicate with freebsd.bruecko.de):
Nov 3 19:08:28 freebsd dovecot[68537]: doveadm(x.zzzz@yyy.de)<91733><IT8dBxzQgmFVZgEAA4a8sQ>: Fatal: master: service(doveadm): child 91733 killed with signal 6 (core not dumped - https://dovecot.org/bugreport.html#coredumps)
I didn't follow Odhiambos advice from another thread yet, but do, if requested.
Any help appreciated
doveconf -n:
# 2.3.17 (e2aa53df5b): /usr/local/etc/dovecot/dovecot.conf # Pigeonhole version 0.5.17 (054dddfa) # OS: FreeBSD 13.0-RELEASE-p4 amd64 # Hostname: freebsd.bruecko.de auth_master_user_separator = * auth_mechanisms = plain login digest-md5 cram-md5 apop auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890+.-_@ auth_verbose = yes doveadm_password = # hidden, use -P to show it doveadm_port = 54321 lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes lda_original_recipient_header = X-Original-To lmtp_save_to_detail_mailbox = yes mail_location = mdbox:~/mdbox mail_plugins = " quota fts fts_xapian zlib notify 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 { hidden = no ignore_on_failure = no inbox = no list = children location = mdbox:%%h/mdbox prefix = shared/%%u/ separator = / subscriptions = yes type = shared } namespace { location = mdbox:/virtualmail/public:INDEXPVT=%h/mdbox/Public prefix = Public/ separator = / subscriptions = yes type = public } namespace inbox { inbox = yes location = mailbox Drafts { auto = subscribe special_use = \Drafts } mailbox Sent { auto = subscribe special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { auto = subscribe special_use = \Trash } prefix = INBOX/ separator = / } passdb { args = /usr/local/etc/dovecot/master-users driver = passwd-file master = yes pass = yes } passdb { args = /usr/local/etc/dovecot/dovecot-ldap.conf.ext driver = ldap } plugin { acl = vfile acl_anyone = allow acl_shared_dict = file:/virtualmail/shared-mailboxes.db fts = xapian fts_autoindex = yes fts_autoindex_exclude = \Trash fts_enforced = yes fts_xapian = partial=3 full=20 verbose=0 mail_replica = tcps:mail.bruecko.de quota = dict:User quota::file:%h/dovecot-quota quota_exceeded_message = Storage quota for this account has been exceeded, please try again later. quota_grace = 250M quota_rule = *:storage=2500M quota_rule2 = INBOX/Trash:storage=+10%% quota_status_nouser = DUNNO quota_status_overquota = 552 5.2.2 Mailbox is full / Mailbox ist voll quota_status_success = DUNNO quota_warning = storage=95%% quota-warning 95 %u quota_warning2 = storage=80%% quota-warning 80 %u quota_warning3 = storage=75%% quota-warning 75 %u sieve = ~/dovecot.sieve sieve_dir = ~/sieve sieve_global_dir = /virtualmail sieve_max_actions = 0 sieve_max_redirects = 64 sieve_max_script_size = 0 sieve_quota_max_scripts = 0 trash = /usr/local/etc/dovecot/dovecot-trash.conf.ext } postmaster_address = postmaster@bruecko.de protocols = imap pop3 lmtp sieve replication_dsync_parameters = -d -N -l 30 -U -x Public service aggregator { fifo_listener replication-notify-fifo { user = vmail } unix_listener replication-notify { user = vmail } } service auth { unix_listener /var/spool/postfix/private/auth { mode = 0666 } unix_listener auth-userdb { group = vmail user = vmail } } service decode2text { executable = script /usr/local/libexec/dovecot/decode2text.sh unix_listener decode2text { mode = 0666 } user = dovecot } service doveadm { drop_priv_before_exec = yes inet_listener { port = 54321 ssl = yes } vsz_limit = 0 } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service indexer-worker { vsz_limit = 2 G } service lmtp { inet_listener lmtp { address = 127.0.0.1 port = 24 } user = vmail } service managesieve-login { inet_listener sieve { port = 4190 } inet_listener sieve_deprecated { port = 2000 } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } service quota-status { client_limit = 1 executable = quota-status -p postfix inet_listener { port = 12340 } } service quota-warning { executable = script /usr/local/bin/quota-warning.sh unix_listener quota-warning { user = vmail } user = vmail } service replicator { process_min_avail = 1 unix_listener replicator-doveadm { mode = 0666 } } ssl_cert = </test/letsencrypt/live/bruecko.de/fullchain.pem ssl_cipher_list = ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA ssl_client_ca_dir = /etc/ssl/certs ssl_key = # hidden, use -P to show it ssl_prefer_server_ciphers = yes userdb { driver = prefetch } userdb { args = /usr/local/etc/dovecot/dovecot-ldap.conf.ext driver = ldap } verbose_proctitle = yes protocol lmtp { mail_plugins = " quota fts fts_xapian zlib notify acl sieve" } protocol lda { mail_plugins = " quota fts fts_xapian zlib notify acl sieve" } protocol imap { mail_plugins = " quota fts fts_xapian zlib notify acl imap_quota imap_zlib imap_acl" }
Hi, Aki,
Am 04.11.21 um 08:29 schrieb Aki Tuomi:
Hi!
I'm afraid, my problem ist not restricted to doveadm, I can't login to the server:
Nov 4 08:41:32 freebsd dovecot[81830]: imap-login: Login: user=<test@hanauix.de>, method=CRAM-MD5, rip=94.79.154.202, lip=46.4.85.45, mpid=25795, TLS, session=<Kd/Ip/HPouFeT5rK> Nov 4 08:41:32 freebsd dovecot[81830]: imap(test@hanauix.de)<25795><Kd/Ip/HPouFeT5rK>: Panic: file array.c: line 10 (array_idx_modifiable_i): assertion failed: (idx < array->buffer->used / array->element_size) Nov 4 08:41:32 freebsd dovecot[81830]: imap(test@hanauix.de)<25795><Kd/Ip/HPouFeT5rK>: Fatal: master: service(imap): child 25795 killed with signal 6 (core not dumped - https://dovecot.org/bugreport.html#coredumps)
and on the replication-partner I get also ssl-related errors:
2021-11-04T08:41:23.147574+01:00 mail dovecot: doveadm(46.4.85.45): Error: SSL handshake failed: SSL_accept() failed: error:1408F10B:SSL routines:ssl3_get_record:wrong version number
Can you send output of
doveadm -D sync -u xxx@zzz.de tcps:mail.bruecko.de
(remote machine: 2021-11-04T08:47:08.899932+01:00 mail dovecot: doveadm: Error: read(SSL 46.4.85.45) failed: EOF (last sent=handshake, last recv=handshake)
here's the output
root@freebsd:/usr/local/etc/dovecot/conf.d# doveadm -D sync -u test@hanauix.de tcps:mail.bruecko.de Debug: Loading modules from directory: /usr/local/lib/dovecot/doveadm Debug: Skipping module doveadm_acl_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: Undefined symbol "acl_user_module" (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_quota_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/lib10_doveadm_quota_plugin.so: Undefined symbol "quota_user_module" (this is usually intentional, so just ignore this message) Debug: Module loaded: /usr/local/lib/dovecot/doveadm/lib10_doveadm_sieve_plugin.so Debug: Skipping module doveadm_fts_lucene_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.so: Undefined symbol "lucene_index_init" (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/lib20_doveadm_fts_plugin.so: Undefined symbol "fts_list_backend" (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/libdoveadm_mail_crypt_plugin.so: Undefined symbol "mail_crypt_user_get_public_key" (this is usually intentional, so just ignore this message) Nov 04 08:49:59 Debug: Loading modules from directory: /usr/local/lib/dovecot Nov 04 08:49:59 Debug: Module loaded: /usr/local/lib/dovecot/lib01_acl_plugin.so Nov 04 08:49:59 Debug: Module loaded: /usr/local/lib/dovecot/lib10_quota_plugin.so Nov 04 08:49:59 Debug: Module loaded: /usr/local/lib/dovecot/lib15_notify_plugin.so Nov 04 08:49:59 Debug: Module loaded: /usr/local/lib/dovecot/lib20_fts_plugin.so Nov 04 08:49:59 Debug: Module loaded: /usr/local/lib/dovecot/lib20_zlib_plugin.so Nov 04 08:49:59 Debug: Module loaded: /usr/local/lib/dovecot/lib21_fts_xapian_plugin.so Nov 04 08:49:59 Debug: Loading modules from directory: /usr/local/lib/dovecot/doveadm Nov 04 08:49:59 Debug: Module loaded: /usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so Nov 04 08:49:59 Debug: Module loaded: /usr/local/lib/dovecot/doveadm/lib10_doveadm_quota_plugin.so Nov 04 08:49:59 Debug: Skipping module doveadm_fts_lucene_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.so: Undefined symbol "lucene_index_init" (this is usually intentional, so just ignore this message) Nov 04 08:49:59 Debug: Module loaded: /usr/local/lib/dovecot/doveadm/lib20_doveadm_fts_plugin.so Nov 04 08:49:59 Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/libdoveadm_mail_crypt_plugin.so: Undefined symbol "mail_crypt_user_get_public_key" (this is usually intentional, so just ignore this message) Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: auth-master: passdb lookup(test@hanauix.de): Started passdb lookup Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: auth-master: conn unix:/var/run/dovecot/auth-userdb: Connecting Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: auth-master: conn unix:/var/run/dovecot/auth-userdb (uid=0): Client connected (fd=9) Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: auth-master: passdb lookup(test@hanauix.de): auth PASS input: user=test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: auth-master: passdb lookup(test@hanauix.de): Finished passdb lookup (user=test@hanauix.de ) Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><>: Debug: auth-master: userdb lookup(test@hanauix.de): Started userdb lookup Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><>: Debug: auth-master: userdb lookup(test@hanauix.de): auth USER input: test@hanauix.de home=/virtualmail/hanauix.de/test uid=2001 gid=2001 Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><>: Debug: auth-master: userdb lookup(test@hanauix.de): Finished userdb lookup (username=test@hanauix.de home=/virtualmail/hanauix.de/test uid=2001 gid=2001) Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): auth-master: passdb lookup(test@hanauix.de): Started passdb lookup Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): auth-master: conn unix:/var/run/dovecot/auth-userdb: Connecting Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): auth-master: conn unix:/var/run/dovecot/auth-userdb (pid=1374,uid=0): Client connected (fd=9) Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): auth-master: passdb lookup(test@hanauix.de): auth PASS input: user=test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): auth-master: passdb lookup(test@hanauix.de): Finished passdb lookup (user=test@hanauix.de ) Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): auth-master: userdb lookup(test@hanauix.de): Started userdb lookup Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): auth-master: userdb lookup(test@hanauix.de): auth USER input: test@hanauix.de home=/virtualmail/hanauix.de/test uid=2001 gid=2001 Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): auth-master: userdb lookup(test@hanauix.de): Finished userdb lookup (username=test@hanauix.de home=/virtualmail/hanauix.de/test uid=2001 gid=2001) Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Effective uid=2001, gid=2001, home=/virtualmail/hanauix.de/test Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Quota root: name=User quota backend=dict args=:file:/virtualmail/hanauix.de/test/dovecot-quota Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Quota rule: root=User quota mailbox=* bytes=2621440000 messages=0 Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Quota rule: root=User quota mailbox=INBOX/Trash bytes=+262144000 (10%) messages=0 Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Quota warning: bytes=2490368000 (95%) messages=0 reverse=no command=quota-warning 95 test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Quota warning: bytes=2097152000 (80%) messages=0 reverse=no command=quota-warning 80 test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Quota warning: bytes=1966080000 (75%) messages=0 reverse=no command=quota-warning 75 test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Quota grace: root=User quota bytes=262144000 Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): dict quota: user=test@hanauix.de, uri=file:/virtualmail/hanauix.de/test/dovecot-quota, noenforcing=0 Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Namespace inbox: type=private, prefix=INBOX/, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=mdbox:~/mdbox Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): fs: root=/virtualmail/hanauix.de/test/mdbox, index=, indexpvt=, control=, inbox=, alt= Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl: initializing backend with data: vfile Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl: acl username = test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl: owner = 1 Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl vfile: Global ACLs disabled Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Namespace : type=shared, prefix=shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=mdbox:%h/mdbox Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt= Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): fts: Indexes disabled for namespace 'shared/%u/' Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl: initializing backend with data: vfile Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl: acl username = test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl: owner = 0 Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl vfile: Global ACLs disabled Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Namespace : type=public, prefix=Public/, sep=/, inbox=no, hidden=no, list=yes, subscriptions=yes location=mdbox:/virtualmail/public:INDEXPVT=/virtualmail/hanauix.de/test/mdbox/Public Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): fs: root=/virtualmail/public, index=, indexpvt=/virtualmail/hanauix.de/test/mdbox/Public, control=, inbox=, alt= Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl: initializing backend with data: vfile Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl: acl username = test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl: owner = 0 Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl vfile: Global ACLs disabled Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Namespace : type=private, prefix=, sep=, inbox=no, hidden=yes, list=no, subscriptions=no location=fail::LAYOUT=none Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): none: root=, index=, indexpvt=, control=, inbox=, alt= Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): fts: Indexes disabled for namespace '' Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): quota: quota_over_flag check: quota_over_script unset - skipping Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): trash plugin: Added 'INBOX/Trash' with priority 1 Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): trash plugin: Added 'INBOX/Sent' with priority 2 Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): trash plugin: Added 'INBOX/Sent Messages' with priority 2 Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Effective uid=2001, gid=2001, home=/virtualmail/hanauix.de/test Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: dict(file): dict created (uri=file:/virtualmail/shared-mailboxes.db, base_dir=/var/run/dovecot) Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Quota root: name=User quota backend=dict args=:file:/virtualmail/hanauix.de/test/dovecot-quota Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Quota rule: root=User quota mailbox=* bytes=2621440000 messages=0 Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Quota rule: root=User quota mailbox=INBOX/Trash bytes=+262144000 (10%) messages=0 Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Quota warning: bytes=2490368000 (95%) messages=0 reverse=no command=quota-warning 95 test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Quota warning: bytes=2097152000 (80%) messages=0 reverse=no command=quota-warning 80 test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Quota warning: bytes=1966080000 (75%) messages=0 reverse=no command=quota-warning 75 test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Quota grace: root=User quota bytes=262144000 Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: quota-dict: user=test@hanauix.de, uri=file:/virtualmail/hanauix.de/test/dovecot-quota, noenforcing=0 Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: dict(file): dict created (uri=file:/virtualmail/hanauix.de/test/dovecot-quota, base_dir=/var/run/dovecot) Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Namespace inbox: type=private, prefix=INBOX/, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=mdbox:~/mdbox Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: fs: root=/virtualmail/hanauix.de/test/mdbox, index=, indexpvt=, control=, inbox=, alt= Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl: initializing backend with data: vfile Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl: acl username = test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl: owner = 1 Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl vfile: Global ACLs disabled Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Namespace : type=shared, prefix=shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=mdbox:%h/mdbox Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt= Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: fts: Indexes disabled for namespace 'shared/%u/' Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl: initializing backend with data: vfile Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl: acl username = test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl: owner = 0 Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl vfile: Global ACLs disabled Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Namespace : type=public, prefix=Public/, sep=/, inbox=no, hidden=no, list=yes, subscriptions=yes location=mdbox:/virtualmail/public:INDEXPVT=/virtualmail/hanauix.de/test/mdbox/Public Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: fs: root=/virtualmail/public, index=, indexpvt=/virtualmail/hanauix.de/test/mdbox/Public, control=, inbox=, alt= Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl: initializing backend with data: vfile Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl: acl username = test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl: owner = 0 Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl vfile: Global ACLs disabled Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Namespace : type=private, prefix=, sep=, inbox=no, hidden=yes, list=no, subscriptions=no location=fail::LAYOUT=none Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: none: root=, index=, indexpvt=, control=, inbox=, alt= Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: fts: Indexes disabled for namespace '' Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: quota: quota_over_flag check: quota_over_script unset - skipping Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: brain M: Namespace INBOX/ has location mdbox:~/mdbox Nov 04 08:49:59 doveadm(test@hanauix.de): Panic: file array.c: line 10 (array_idx_modifiable_i): assertion failed: (idx < array->buffer->used / array->element_size) Abort
Thanks for Your help Regards Hanns
That's in IMAP process, not in doveadm process.
Can you try obtaining the core and producing gdb bt full for it?
Please refer to https://www.dovecot.org/bugreport-mail/ for more details.
Aki
On 04/11/2021 09:50 Hanns Mattes <hanns@hannsmattes.de> wrote:
Hi, Aki,
Am 04.11.21 um 08:29 schrieb Aki Tuomi:
Hi!
I'm afraid, my problem ist not restricted to doveadm, I can't login to the server:
Nov 4 08:41:32 freebsd dovecot[81830]: imap-login: Login: user=<test@hanauix.de>, method=CRAM-MD5, rip=94.79.154.202, lip=46.4.85.45, mpid=25795, TLS, session=<Kd/Ip/HPouFeT5rK> Nov 4 08:41:32 freebsd dovecot[81830]: imap(test@hanauix.de)<25795><Kd/Ip/HPouFeT5rK>: Panic: file array.c: line 10 (array_idx_modifiable_i): assertion failed: (idx < array->buffer->used / array->element_size) Nov 4 08:41:32 freebsd dovecot[81830]: imap(test@hanauix.de)<25795><Kd/Ip/HPouFeT5rK>: Fatal: master: service(imap): child 25795 killed with signal 6 (core not dumped - https://dovecot.org/bugreport.html#coredumps)
and on the replication-partner I get also ssl-related errors:
2021-11-04T08:41:23.147574+01:00 mail dovecot: doveadm(46.4.85.45): Error: SSL handshake failed: SSL_accept() failed: error:1408F10B:SSL routines:ssl3_get_record:wrong version number
Can you send output of
doveadm -D sync -u xxx@zzz.de tcps:mail.bruecko.de
(remote machine: 2021-11-04T08:47:08.899932+01:00 mail dovecot: doveadm: Error: read(SSL 46.4.85.45) failed: EOF (last sent=handshake, last recv=handshake)
here's the output
root@freebsd:/usr/local/etc/dovecot/conf.d# doveadm -D sync -u test@hanauix.de tcps:mail.bruecko.de Debug: Loading modules from directory: /usr/local/lib/dovecot/doveadm Debug: Skipping module doveadm_acl_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: Undefined symbol "acl_user_module" (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_quota_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/lib10_doveadm_quota_plugin.so: Undefined symbol "quota_user_module" (this is usually intentional, so just ignore this message) Debug: Module loaded: /usr/local/lib/dovecot/doveadm/lib10_doveadm_sieve_plugin.so Debug: Skipping module doveadm_fts_lucene_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.so: Undefined symbol "lucene_index_init" (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/lib20_doveadm_fts_plugin.so: Undefined symbol "fts_list_backend" (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/libdoveadm_mail_crypt_plugin.so: Undefined symbol "mail_crypt_user_get_public_key" (this is usually intentional, so just ignore this message) Nov 04 08:49:59 Debug: Loading modules from directory: /usr/local/lib/dovecot Nov 04 08:49:59 Debug: Module loaded: /usr/local/lib/dovecot/lib01_acl_plugin.so Nov 04 08:49:59 Debug: Module loaded: /usr/local/lib/dovecot/lib10_quota_plugin.so Nov 04 08:49:59 Debug: Module loaded: /usr/local/lib/dovecot/lib15_notify_plugin.so Nov 04 08:49:59 Debug: Module loaded: /usr/local/lib/dovecot/lib20_fts_plugin.so Nov 04 08:49:59 Debug: Module loaded: /usr/local/lib/dovecot/lib20_zlib_plugin.so Nov 04 08:49:59 Debug: Module loaded: /usr/local/lib/dovecot/lib21_fts_xapian_plugin.so Nov 04 08:49:59 Debug: Loading modules from directory: /usr/local/lib/dovecot/doveadm Nov 04 08:49:59 Debug: Module loaded: /usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so Nov 04 08:49:59 Debug: Module loaded: /usr/local/lib/dovecot/doveadm/lib10_doveadm_quota_plugin.so Nov 04 08:49:59 Debug: Skipping module doveadm_fts_lucene_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.so: Undefined symbol "lucene_index_init" (this is usually intentional, so just ignore this message) Nov 04 08:49:59 Debug: Module loaded: /usr/local/lib/dovecot/doveadm/lib20_doveadm_fts_plugin.so Nov 04 08:49:59 Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/libdoveadm_mail_crypt_plugin.so: Undefined symbol "mail_crypt_user_get_public_key" (this is usually intentional, so just ignore this message) Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: auth-master: passdb lookup(test@hanauix.de): Started passdb lookup Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: auth-master: conn unix:/var/run/dovecot/auth-userdb: Connecting Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: auth-master: conn unix:/var/run/dovecot/auth-userdb (uid=0): Client connected (fd=9) Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: auth-master: passdb lookup(test@hanauix.de): auth PASS input: user=test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: auth-master: passdb lookup(test@hanauix.de): Finished passdb lookup (user=test@hanauix.de ) Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><>: Debug: auth-master: userdb lookup(test@hanauix.de): Started userdb lookup Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><>: Debug: auth-master: userdb lookup(test@hanauix.de): auth USER input: test@hanauix.de home=/virtualmail/hanauix.de/test uid=2001 gid=2001 Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><>: Debug: auth-master: userdb lookup(test@hanauix.de): Finished userdb lookup (username=test@hanauix.de home=/virtualmail/hanauix.de/test uid=2001 gid=2001) Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): auth-master: passdb lookup(test@hanauix.de): Started passdb lookup Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): auth-master: conn unix:/var/run/dovecot/auth-userdb: Connecting Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): auth-master: conn unix:/var/run/dovecot/auth-userdb (pid=1374,uid=0): Client connected (fd=9) Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): auth-master: passdb lookup(test@hanauix.de): auth PASS input: user=test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): auth-master: passdb lookup(test@hanauix.de): Finished passdb lookup (user=test@hanauix.de ) Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): auth-master: userdb lookup(test@hanauix.de): Started userdb lookup Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): auth-master: userdb lookup(test@hanauix.de): auth USER input: test@hanauix.de home=/virtualmail/hanauix.de/test uid=2001 gid=2001 Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): auth-master: userdb lookup(test@hanauix.de): Finished userdb lookup (username=test@hanauix.de home=/virtualmail/hanauix.de/test uid=2001 gid=2001) Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Effective uid=2001, gid=2001, home=/virtualmail/hanauix.de/test Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Quota root: name=User quota backend=dict args=:file:/virtualmail/hanauix.de/test/dovecot-quota Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Quota rule: root=User quota mailbox=* bytes=2621440000 messages=0 Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Quota rule: root=User quota mailbox=INBOX/Trash bytes=+262144000 (10%) messages=0 Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Quota warning: bytes=2490368000 (95%) messages=0 reverse=no command=quota-warning 95 test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Quota warning: bytes=2097152000 (80%) messages=0 reverse=no command=quota-warning 80 test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Quota warning: bytes=1966080000 (75%) messages=0 reverse=no command=quota-warning 75 test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Quota grace: root=User quota bytes=262144000 Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): dict quota: user=test@hanauix.de, uri=file:/virtualmail/hanauix.de/test/dovecot-quota, noenforcing=0 Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Namespace inbox: type=private, prefix=INBOX/, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=mdbox:~/mdbox Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): fs: root=/virtualmail/hanauix.de/test/mdbox, index=, indexpvt=, control=, inbox=, alt= Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl: initializing backend with data: vfile Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl: acl username = test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl: owner = 1 Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl vfile: Global ACLs disabled Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Namespace : type=shared, prefix=shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=mdbox:%h/mdbox Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt= Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): fts: Indexes disabled for namespace 'shared/%u/' Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl: initializing backend with data: vfile Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl: acl username = test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl: owner = 0 Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl vfile: Global ACLs disabled Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Namespace : type=public, prefix=Public/, sep=/, inbox=no, hidden=no, list=yes, subscriptions=yes location=mdbox:/virtualmail/public:INDEXPVT=/virtualmail/hanauix.de/test/mdbox/Public Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): fs: root=/virtualmail/public, index=, indexpvt=/virtualmail/hanauix.de/test/mdbox/Public, control=, inbox=, alt= Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl: initializing backend with data: vfile Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl: acl username = test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl: owner = 0 Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): acl vfile: Global ACLs disabled Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): Namespace : type=private, prefix=, sep=, inbox=no, hidden=yes, list=no, subscriptions=no location=fail::LAYOUT=none Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): none: root=, index=, indexpvt=, control=, inbox=, alt= Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): fts: Indexes disabled for namespace '' Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): quota: quota_over_flag check: quota_over_script unset - skipping Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): trash plugin: Added 'INBOX/Trash' with priority 1 Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): trash plugin: Added 'INBOX/Sent' with priority 2 Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: remote(mail.bruecko.de): trash plugin: Added 'INBOX/Sent Messages' with priority 2 Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Effective uid=2001, gid=2001, home=/virtualmail/hanauix.de/test Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: dict(file): dict created (uri=file:/virtualmail/shared-mailboxes.db, base_dir=/var/run/dovecot) Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Quota root: name=User quota backend=dict args=:file:/virtualmail/hanauix.de/test/dovecot-quota Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Quota rule: root=User quota mailbox=* bytes=2621440000 messages=0 Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Quota rule: root=User quota mailbox=INBOX/Trash bytes=+262144000 (10%) messages=0 Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Quota warning: bytes=2490368000 (95%) messages=0 reverse=no command=quota-warning 95 test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Quota warning: bytes=2097152000 (80%) messages=0 reverse=no command=quota-warning 80 test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Quota warning: bytes=1966080000 (75%) messages=0 reverse=no command=quota-warning 75 test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Quota grace: root=User quota bytes=262144000 Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: quota-dict: user=test@hanauix.de, uri=file:/virtualmail/hanauix.de/test/dovecot-quota, noenforcing=0 Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: dict(file): dict created (uri=file:/virtualmail/hanauix.de/test/dovecot-quota, base_dir=/var/run/dovecot) Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Namespace inbox: type=private, prefix=INBOX/, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=mdbox:~/mdbox Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: fs: root=/virtualmail/hanauix.de/test/mdbox, index=, indexpvt=, control=, inbox=, alt= Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl: initializing backend with data: vfile Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl: acl username = test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl: owner = 1 Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl vfile: Global ACLs disabled Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Namespace : type=shared, prefix=shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=mdbox:%h/mdbox Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt= Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: fts: Indexes disabled for namespace 'shared/%u/' Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl: initializing backend with data: vfile Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl: acl username = test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl: owner = 0 Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl vfile: Global ACLs disabled Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Namespace : type=public, prefix=Public/, sep=/, inbox=no, hidden=no, list=yes, subscriptions=yes location=mdbox:/virtualmail/public:INDEXPVT=/virtualmail/hanauix.de/test/mdbox/Public Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: fs: root=/virtualmail/public, index=, indexpvt=/virtualmail/hanauix.de/test/mdbox/Public, control=, inbox=, alt= Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl: initializing backend with data: vfile Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl: acl username = test@hanauix.de Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl: owner = 0 Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: acl vfile: Global ACLs disabled Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: Namespace : type=private, prefix=, sep=, inbox=no, hidden=yes, list=no, subscriptions=no location=fail::LAYOUT=none Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: none: root=, index=, indexpvt=, control=, inbox=, alt= Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: fts: Indexes disabled for namespace '' Nov 04 08:49:59 doveadm(test@hanauix.de)<69843><rP3vIaeQg2HTEAEAA4a8sQ>: Debug: quota: quota_over_flag check: quota_over_script unset - skipping Nov 04 08:49:59 doveadm(test@hanauix.de): Debug: brain M: Namespace INBOX/ has location mdbox:~/mdbox Nov 04 08:49:59 doveadm(test@hanauix.de): Panic: file array.c: line 10 (array_idx_modifiable_i): assertion failed: (idx < array->buffer->used / array->element_size) Abort
Thanks for Your help Regards Hanns
Hi Aki,
Am 04.11.21 um 08:51 schrieb Aki Tuomi:
That's in IMAP process, not in doveadm process.
Can you try obtaining the core and producing gdb bt full for it?
Please refer to https://www.dovecot.org/bugreport-mail/ for more details.
never done before and got no output yet:
sysctl -w kern.sugid_coredump=1 sysctl -w kern.corefile=/var/coredumps/%U.%N.core
mkdir /var/coredumps chown -R 1777 /var/coredumps
Invoked doveadm-command, but got no dump yet
any hint appreciated
Regards Hanns
Hi,
Am 04.11.21 um 08:51 schrieb Aki Tuomi:
That's in IMAP process, not in doveadm process.
Can you try obtaining the core and producing gdb bt full for it?
got coredumps from doveadm-director and imap:
gdb /usr/local/libexec/dovecot/imap /var/coredumps/2001.imap.core
#0 0x000000001150b2ea in thr_kill () from /lib/libc.so.7 No symbol table info available. #1 0x0000000011480064 in raise () from /lib/libc.so.7 No symbol table info available. #2 0x0000000011534f29 in abort () from /lib/libc.so.7 No symbol table info available. #3 0x0000000011372d43 in ?? () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #4 0x00000000113714ff in ?? () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #5 0x00000000113722c1 in ?? () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #6 0x000000001137170b in i_panic () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #7 0x0000000011363274 in array_idx_modifiable_i () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #8 0x0000000012069d98 in fts_user_autoindex_exclude () from /usr/local/lib/dovecot/lib20_fts_plugin.so No symbol table info available. #9 0x000000001206723b in fts_mailbox_allocated () from /usr/local/lib/dovecot/lib20_fts_plugin.so No symbol table info available. #10 0x0000000011138f8a in hook_mailbox_allocated () from /usr/local/lib/dovecot/libdovecot-storage.so.0 No symbol table info available. #11 0x00000000111323a1 in mailbox_alloc () from /usr/local/lib/dovecot/libdovecot-storage.so.0 No symbol table info available. #12 0x0000000001043dc9 in cmd_select_full () No symbol table info available. #13 0x000000000104c6a2 in command_exec () No symbol table info available. #14 0x000000000104afba in ?? () No symbol table info available. #15 0x000000000104b0c1 in ?? () No symbol table info available. #16 0x0000000001049ad2 in client_handle_input () No symbol table info available. #17 0x0000000001048228 in client_input () No symbol table info available. #18 0x000000001138bf2f in io_loop_call_io () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #19 0x000000001138e964 in io_loop_handler_run_internal () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #20 0x000000001138c4ca in io_loop_handler_run () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #21 0x000000001138c308 in io_loop_run () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #22 0x00000000112ef638 in master_service_run () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #23 0x000000000105a967 in main () No symbol table info available.
doveadm-director:
#0 0x00000008017092ea in thr_kill () from /lib/libc.so.7 No symbol table info available. #1 0x000000080167e064 in raise () from /lib/libc.so.7 No symbol table info available. #2 0x0000000801732f29 in abort () from /lib/libc.so.7 No symbol table info available. #3 0x0000000801570d43 in ?? () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #4 0x000000080156f4ff in ?? () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #5 0x00000008015702c1 in ?? () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #6 0x000000080156f70b in i_panic () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #7 0x0000000801561274 in array_idx_modifiable_i () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #8 0x0000000802831d98 in fts_user_autoindex_exclude () from /usr/local/lib/dovecot/lib20_fts_plugin.so No symbol table info available. #9 0x000000080282f23b in fts_mailbox_allocated () from /usr/local/lib/dovecot/lib20_fts_plugin.so No symbol table info available. #10 0x0000000801336f8a in hook_mailbox_allocated () from /usr/local/lib/dovecot/libdovecot-storage.so.0 No symbol table info available. #11 0x00000008013303a1 in mailbox_alloc () from /usr/local/lib/dovecot/libdovecot-storage.so.0 No symbol table info available. #12 0x0000000001096846 in ?? () No symbol table info available. #13 0x000000000109609f in dsync_mailbox_tree_fill () No symbol table info available. #14 0x0000000001089fbd in dsync_brain_mailbox_trees_init () No symbol table info available. #15 0x00000000010873ae in dsync_brain_run () No symbol table info available. #16 0x0000000001086873 in ?? () No symbol table info available. #17 0x000000000109eed4 in ?? () No symbol table info available. #18 0x0000000801589f2f in io_loop_call_io () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #19 0x000000080158c964 in io_loop_handler_run_internal () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #20 0x000000080158a4ca in io_loop_handler_run () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #21 0x000000080158a308 in io_loop_run () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #22 0x000000000106affe in ?? () No symbol table info available. #23 0x000000000106bb8f in ?? () No symbol table info available. #24 0x000000000106c97c in doveadm_cmd_ver2_to_mail_cmd_wrapper () No symbol table info available. #25 0x000000000107e1d4 in doveadm_cmd_run_ver2 () No symbol table info available. #26 0x0000000001083130 in ?? () No symbol table info available. #27 0x0000000801589f2f in io_loop_call_io () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #28 0x000000080158c964 in io_loop_handler_run_internal () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #29 0x000000080158a4ca in io_loop_handler_run () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #30 0x000000080158a308 in io_loop_run () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #31 0x00000008014ed638 in master_service_run () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #32 0x0000000001086021 in main () No symbol table info available.
Regards Hanns
On 05/11/2021 09:38 Hanns Mattes <hanns@hannsmattes.de> wrote:
Hi,
Am 04.11.21 um 08:51 schrieb Aki Tuomi:
That's in IMAP process, not in doveadm process.
Can you try obtaining the core and producing gdb bt full for it?
got coredumps from doveadm-director and imap:
gdb /usr/local/libexec/dovecot/imap /var/coredumps/2001.imap.core
Not sure how this is done in FreeBSD but can you try getting debug symbols somehow?
Aki
Actually, this is caused by fts_autoindex_exclude issue, which has already been reported several times on the list.
Aki
On 05/11/2021 09:39 Aki Tuomi <aki.tuomi@open-xchange.com> wrote:
On 05/11/2021 09:38 Hanns Mattes <hanns@hannsmattes.de> wrote:
Hi,
Am 04.11.21 um 08:51 schrieb Aki Tuomi:
That's in IMAP process, not in doveadm process.
Can you try obtaining the core and producing gdb bt full for it?
got coredumps from doveadm-director and imap:
gdb /usr/local/libexec/dovecot/imap /var/coredumps/2001.imap.core
Not sure how this is done in FreeBSD but can you try getting debug symbols somehow?
Aki
On 05.11.21 08:39, Aki Tuomi wrote:
Not sure how this is done in FreeBSD but can you try getting debug symbols somehow?
Aki
@Hanns: can you compile from ports and use https://wiki.freebsd.org/BenWoods/DebuggingPorts or just 'make WITH_DEBUG=yes DEBUG_FLAGS="-g -O0"' in /usr/local/mail/dovecot
Hi,
Am 05.11.21 um 09:14 schrieb infoomatic:
On 05.11.21 08:39, Aki Tuomi wrote:
Not sure how this is done in FreeBSD but can you try getting debug symbols somehow?
Aki
@Hanns: can you compile from ports and use https://wiki.freebsd.org/BenWoods/DebuggingPorts or just 'make WITH_DEBUG=yes DEBUG_FLAGS="-g -O0"' in /usr/local/mail/dovecot
I've already building dovecot, following Ben's advice. I'm on the road for the rest of the day, so I can't proceed at the Moment.
Regards Hanns
participants (3)
-
Aki Tuomi
-
Hanns Mattes
-
infoomatic