Replicator bug report

Daniel Miller dmiller at amfes.com
Tue Dec 7 19:11:18 UTC 2021


------ Original Message ------
>
>Hi!
>
>Can you instead submit gdb bt full output and doveconf -n?
>
>Aki
>

Certainly - but I need to know how. The problem is during TCP 
replication.

Here is dovecot -n:

# 2.3.17.1 (476cd46418): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.17.1 (a1a0b892)
# OS: Linux 5.4.0-91-generic x86_64 Ubuntu 18.04.6 LTS xfs
# Hostname: bubba.amfes.lan
auth_cache_size = 4 k
auth_master_user_separator = *
auth_mechanisms = plain login
auth_policy_hash_nonce = # hidden, use -P to show it
auth_policy_hash_truncate = 8
auth_policy_server_api_header = Authorization: Basic 
d2ZvcmNlOnVsdHJhLXNlY3JldC1zZWN1cmUtc2FmZQ
auth_verbose = yes
default_login_user = nobody
default_vsz_limit = 2 G
disable_plaintext_auth = no
doveadm_password = # hidden, use -P to show it
doveadm_port = 10993
imap_capability = +SPECIAL-USE
listen = *
login_trusted_networks = 192.168.0.0/24
mail_attachment_detection_options = add-flags
mail_attachment_hash = %{sha512}
mail_attribute_dict = file:/var/mail/attributes
mail_gid = mail
mail_location = sdbox:/var/mail/%d/%n/sdbox
mail_plugins = fts fts_solr acl zlib virtual notify replication 
mailbox_alias
mail_prefetch_count = 10
mail_shared_explicit_inbox = yes
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 index ihave duplicate mime foreverypart 
extracttext
mdbox_rotate_size = 20 M
namespace archives {
   list = children
   location = mdbox:/var/mail/%d/%n/Archives/mdbox
   mailbox Unsorted {
     auto = no
     special_use = \Archive
   }
   prefix = INBOX/Archives/
   separator = /
   subscriptions = no
   type = private
}
namespace inbox {
   alias_for =
   hidden = no
   inbox = yes
   list = yes
   location =
   mailbox "Deleted Messages" {
     auto = no
     autoexpunge = 30 days
     special_use = \Trash
   }
   mailbox Drafts {
     auto = subscribe
     special_use = \Drafts
   }
   mailbox Sent {
     auto = subscribe
     special_use = \Sent
   }
   mailbox Trash {
     auto = subscribe
     autoexpunge = 30 days
     special_use = \Trash
   }
   prefix = INBOX/
   separator = /
   subscriptions = no
   type = private
}
namespace lists {
   list = children
   location = mdbox:/var/mail/%d/%n/Lists/mdbox
   prefix = INBOX/Lists/
   separator = /
   subscriptions = no
   type = private
}
namespace subscriptions {
   hidden = yes
   list = no
   location =
   prefix =
   separator = /
   subscriptions = yes
   type = private
}
namespace usershares {
   list = yes
   location = sdbox:/var/mail/%%d/%%n/sdbox:NO-NOSELECT
   prefix = INBOX/shared/%%d/%%n/
   separator = /
   subscriptions = no
   type = shared
}
namespace virtual {
   list = children
   location = virtual:/var/mail/%d/%n/virtual
   mailbox Flagged {
     comment = All my flagged messages
     special_use = \Flagged
   }
   prefix = INBOX/virtual/
   separator = /
   subscriptions = no
}
passdb {
   args = /etc/dovecot/dovecot-sql.conf.ext
   driver = sql
}
plugin {
   acl = vfile
   acl_shared_dict = file:/var/mail/%d/shared-mailboxes
   fts = solr
   fts_autoindex = yes
   fts_autoindex_exclude = \Trash
   fts_autoindex_exclude2 = \Junk
   fts_autoindex_exclude3 = \Spam
   fts_enforced = no
   fts_index_timeout = 20s
   fts_solr = url=http://127.0.0.1:8983/solr/dovecot/ batch_size=2000
   mail_replica = tcp:10.23.1.10
   mailbox_alias_new3 = Deleted Messages
   mailbox_alias_old3 = Trash
   replication_sync_timeout = 2
   sieve = file:~/sieve;active=~/.dovecot.sieve
}
protocols = imap lmtp sieve
replication_dsync_parameters = -d -l 30 -U -n INBOX -n INBOX/Archives -n 
INBOX/Lists -x INBOX/virtual -x INBOX/shared
replication_max_conns = 5
service aggregator {
   fifo_listener replication-notify-fifo {
     mode = 0600
     user = vmail
   }
   unix_listener replication-notify {
     mode = 0600
     user = vmail
   }
}
service auth {
   unix_listener /var/spool/postfix/private/auth {
     group = postfix
     mode = 0660
     user = postfix
   }
   unix_listener auth-userdb {
     group = mail
     mode = 0600
     user = vmail
   }
}
service doveadm {
   inet_listener {
     port = 10993
   }
   user = vmail
}
service imap-login {
   process_min_avail = 4
}
service imap-postlogin {
   executable = script-login /etc/dovecot/post-login.sh
   user = $default_internal_user
}
service imap {
   executable = imap imap-postlogin
   vsz_limit = 4 G
}
service indexer-worker {
   user = vmail
}
service lmtp {
   unix_listener /var/spool/postfix/private/dovecot-lmtp {
     group = mail
     mode = 0666
     user = vmail
   }
}
service replicator {
   process_min_avail = 1
   unix_listener replicator-doveadm {
     mode = 0600
     user = vmail
   }
}
ssl_cert = </etc/dovecot/certs/ssl_cert
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
userdb {
   driver = prefetch
}
userdb {
   args = /etc/dovecot/dovecot-sql.conf.ext
   driver = sql
}
verbose_proctitle = yes
protocol lmtp {
   mail_plugins = fts fts_solr acl zlib virtual notify replication 
mailbox_alias sieve
   postmaster_address = <obfuscated postmaster  at  amfes.com >
}
protocol imap {
   mail_plugins = fts fts_solr acl zlib virtual notify replication 
mailbox_alias imap_acl
}


--
Daniel




More information about the dovecot mailing list