Hello,

I am running Dovecot 2.3.16 (7e2e900c1a) on RHEL 9.2. I attach my "doveconf -n" configuration. I have replication enabled between 2 servers, both very beefy with 16 cores of Intel(R) Xeon(R) Gold 6244 CPU @ 3.60GHz, 768gb memory, and 100-gig ethernet. The configs are the same except the replication part which points at each other via a puppet template. It seems to work well for most users on modern email clients using the mdbox storage format. The issue I'm having is that some of my users are on the old-style mbox storage format so they can use legacy mail readers such as pine and mutt natively. For some of these users, syncing works just fine. For others, right now about a dozen users, the sync never completes, and I get the following error & backtrace in /var/log/maillog:

Aug  4 23:54:22 mail6 dovecot[1177530]: doveadm: Panic: file dsync-mailbox-import.c: line 2163 (dsync_mailbox_import_handle_mail): assertion failed: (array_count(&wanted_uids) > 0) Aug  4 23:54:22 mail6 dovecot[1177530]: doveadm: Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0(backtrace_append+0x46) [0x7fa6ab05c486] -> /usr/lib64/dovecot/libdovecot.so.0(backtrace_get+0x22) [0x7fa6ab05c5a2] -> /usr/lib64/dovecot/libdovecot.so.0(+0x10a41b) [0x7fa6ab06b41b] -> /usr/lib64/dovecot/libdovecot.so.0(+0x10a4b7) [0x7fa6ab06b4b7] -> /usr/lib64/dovecot/libdovecot.so.0(+0x5d11a) [0x7fa6aafbe11a] -> dovecot/doveadm-server(+0x24029) [0x56433f2f7029] -> dovecot/doveadm-server(dsync_mailbox_import_changes_finish+0x29c) [0x56433f32fb9c] -> dovecot/doveadm-server(dsync_brain_sync_mails+0x8d5) [0x56433f331f15] -> dovecot/doveadm-server(+0x52255) [0x56433f325255] -> dovecot/doveadm-server(+0x52639) [0x56433f325639] -> dovecot/doveadm-server(+0x5fa53) [0x56433f332a53] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_call_io+0x6d) [0x7fa6ab081cbd] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x13a) [0x7fa6ab083bba] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run+0x54) [0x7fa6ab083c64] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_run+0x40) [0x7fa6ab083e20] -> dovecot/doveadm-server(+0x37d7c) [0x56433f30ad7c] -> dovecot/doveadm-server(+0x3974d) [0x56433f30c74d] -> dovecot/doveadm-server(+0x5020b) [0x56433f32320b] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_call_io+0x6d) [0x7fa6ab081cbd] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x13a) [0x7fa6ab083bba] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run+0x54) [0x7fa6ab083c64] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_run+0x40) [0x7fa6ab083e20] -> /usr/lib64/dovecot/libdovecot.so.0(master_service_run+0x17) [0x7fa6aaff2337] -> dovecot/doveadm-server(main+0x102) [0x56433f2f8f92] -> /lib64/libc.so.6(+0x3feb0) [0x7fa6aac3feb0] -> /lib64/libc.so.6(__libc_start_main+0x80) [0x7fa6aac3ff60] -> dovecot/doveadm-server(_start+0x25) [0x56433f2f9015] Aug  4 23:54:22 mail6 dovecot[1177530]: doveadm: Fatal: master: service(doveadm): child 1117475 killed with signal 6 (core dumped)

I'm not sure what might be causing this, and wanted to see if anyone here could offer any suggestions. Please let me know if any additional information is needed.

Thanks,
Ben
# 2.3.16 (7e2e900c1a): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.16 (09c29328)
# OS: Linux 5.14.0-284.11.1.el9_2.x86_64 x86_64 Springdale Open Enterprise 
Linux release 9.2 (Parma) 
# Hostname: mail5.math.princeton.edu.private
auth_cache_negative_ttl = 5 mins
auth_cache_size = 32 M
auth_debug = yes
auth_mechanisms = plain login
auth_username_format = %Ln
auth_verbose = yes
auth_verbose_passwords = sha1
doveadm_password = # hidden, use -P to show it
doveadm_port = 12345
first_valid_gid = 500
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
listen = *
mail_location = mbox:~/mail:INBOX=/var/spool/mail/%u:INDEX=/home/%u/indexes
mail_nfs_storage = yes
mail_plugins = " fts fts_squat zlib notify replication"
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 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 = 
}
passdb {
  args = /etc/dovecot/deny-users
  deny = yes
  driver = passwd-file
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
plugin {
  fts = squat
  fts_squat = partial=4 full=10
  mail_replica = tcps:mail6.math.princeton.edu:12345
  sieve = file:~/.sieve;active=~/.dovecot.sieve
  sieve_dir = ~/.sieve/
  sieve_user_log = ~/.sieve/log
}
protocols = imap lmtp
replication_max_conns = 1024
service aggregator {
  fifo_listener replication-notify-fifo {
    group = mail
    mode = 0666
    user = dovecot
  }
  unix_listener replication-notify {
    group = mail
    mode = 0666
    user = dovecot
  }
}
service anvil {
  unix_listener anvil {
    group = mail
    mode = 0666
  }
}
service auth {
  unix_listener auth-userdb {
    mode = 0666
  }
}
service doveadm {
  inet_listener {
    port = 12345
    ssl = yes
  }
  vsz_limit = 384 G
}
service imap-login {
  process_min_avail = 4
  service_count = 0
  vsz_limit = 512 M
}
service imap {
  vsz_limit = 4 G
}
service lmtp {
  inet_listener lmtp {
    address = *
    port = 24
  }
}
service replicator {
  process_min_avail = 1
  unix_listener replicator-doveadm {
    group = mail
    mode = 0666
    user = dovecot
  }
  vsz_limit = 384 G
}
service stats {
  unix_listener stats-reader {
    group = mail
    mode = 0666
  }
  unix_listener stats-writer {
    group = mail
    mode = 0666
  }
}
ssl = required
ssl_cert = </etc/pki/dovecot/certs/mail5.math.princeton.edu.crt
ssl_cipher_list = PROFILE=SYSTEM
ssl_client_ca_file = /etc/pki/tls/cert.pem
ssl_key = # hidden, use -P to show it
userdb {
  driver = prefetch
}
userdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
protocol lmtp {
  mail_plugins = " fts fts_squat zlib notify replication sieve"
}
protocol lda {
  mail_plugins = " fts fts_squat zlib notify replication sieve"
}
protocol imap {
  imap_client_workarounds = tb-extra-mailbox-sep tb-lsub-flags
  mail_max_userip_connections = 128
  mail_plugins = " fts fts_squat zlib notify replication imap_zlib"
}
local 128.112.16.53 {
  protocol imap {
    ssl_cert = </etc/pki/dovecot/certs/mail5.math.princeton.edu.crt
    ssl_key = # hidden, use -P to show it
  }
}
local 128.112.16.53 {
  protocol pop3 {
    ssl_cert = </etc/pki/dovecot/certs/mail5.math.princeton.edu.crt
    ssl_key = # hidden, use -P to show it
  }
}
local 128.112.17.119 {
  protocol imap {
    ssl_cert = </etc/pki/dovecot/certs/mail0.math.princeton.edu.crt
    ssl_key = # hidden, use -P to show it
  }
}
local 128.112.17.119 {
  protocol pop3 {
    ssl_cert = </etc/pki/dovecot/certs/mail0.math.princeton.edu.crt
    ssl_key = # hidden, use -P to show it
  }
}
local 128.112.16.246 {
  protocol imap {
    ssl_cert = </etc/pki/dovecot/certs/imap0.math.princeton.edu.crt
    ssl_key = # hidden, use -P to show it
  }
}
local 128.112.16.246 {
  protocol pop3 {
    ssl_cert = </etc/pki/dovecot/certs/imap0.math.princeton.edu.crt
    ssl_key = # hidden, use -P to show it
  }
}
local 128.112.18.23 {
  protocol imap {
    ssl_cert = </etc/pki/dovecot/certs/imap.math.princeton.edu.crt
    ssl_key = # hidden, use -P to show it
  }
}
local 128.112.18.23 {
  protocol pop3 {
    ssl_cert = </etc/pki/dovecot/certs/imap.math.princeton.edu.crt
    ssl_key = # hidden, use -P to show it
  }
}
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to