Replication fatal error

Gerald Galster list+dovecot at gcore.biz
Mon Dec 10 22:27:22 EET 2018



> Am 10.12.2018 um 19:39 schrieb Aki Tuomi <aki.tuomi at open-xchange.com>:
> 
> This has been fixed in a later version of Dovecot, so your best course of action is to upgrade to some more recent version. I'd recommend 2.2.36.

There is a replication bug that duplicates mails on deletion via pop3 under special circumstances. The last known good version is 2.2.33.2.

See:

https://dovecot.org/list/dovecot/2018-March/111422.html
https://dovecot.org/list/dovecot/2018-September/112945.html

Aki, can you tell if this bug is on your list and will be fixed eventually (as it seems to exist in 2.3 tree as well)

Best regards,
Gerald



>> On 10 December 2018 at 18:28 admin via dovecot <dovecot at dovecot.org> wrote:
>> 
>> 
>> Dear suscribers.
>> 
>> I just dont understand this error. Don't know where to look first. If 
>> someone have already meet this problem...
>> 
>> Dec 10 16:06:17 prudence dovecot: dsync-server(address at domain.fr): 
>> Panic: file dsync-brain-mailbox.c: line 370 
>> (dsync_brain_sync_mailbox_deinit): assertion failed: (brain->failed)
>> Dec 10 16:06:17 prudence dovecot: dsync-server(address at domain.fr): 
>> Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0xa0112) 
>> [0x7f2c66f62112] -> /usr/lib/dovecot/libdovecot.so.0(+0xa020a) 
>> [0x7f2c66f6220a] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) 
>> [0x7f2c66ef21d8] -> 
>> dovecot/doveadm-server(dsync_brain_sync_mailbox_deinit+0x1b0) 
>> [0x5587f89936b0] -> 
>> dovecot/doveadm-server(dsync_brain_slave_recv_mailbox+0x417) 
>> [0x5587f8994447] -> dovecot/doveadm-server(dsync_brain_run+0x286) 
>> [0x5587f8991a86] -> dovecot/doveadm-server(+0x430d9) [0x5587f89920d9] -> 
>> dovecot/doveadm-server(+0x595cf) [0x5587f89a85cf] -> 
>> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x52) [0x7f2c66f781a2] 
>> -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x12e) 
>> [0x7f2c66f7984e] -> 
>> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x36) 
>> [0x7f2c66f78236] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) 
>> [0x7f2c66f783e8] -> dovecot/doveadm-server(+0x27eed) [0x5587f8976eed] -> 
>> dovecot/doveadm-server(+0x298cd) [0x5587f89788cd] -> 
>> dovecot/doveadm-server(+0x3f30b) [0x5587f898e30b] -> 
>> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x52) [0x7f2c66f781a2] 
>> -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x12e) 
>> [0x7f2c66f7984e] -> 
>> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x36) 
>> [0x7f2c66f78236] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) 
>> [0x7f2c66f783e8] -> 
>> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) 
>> [0x7f2c66efc9f3] -> dovecot/doveadm-server(main+0x1b5) [0x5587f89691c5] 
>> -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) 
>> [0x7f2c66af2b97] -> dovecot/doveadm-server(_start+0x2a) [0x5587f896928a]
>> Dec 10 16:06:17 prudence dovecot: dsync-server(address at domain.fr): 
>> Fatal: master: service(doveadm): child 22362 killed with signal 6 (core 
>> dumped)
>> 
>> 
>> server 1 dovecot configuration (version 2.2.9):
>> 
>> default_client_limit = 2048
>> default_process_limit = 2048
>> disable_plaintext_auth = no
>> doveadm_password = xxxxxxxxxxx
>> doveadm_port = 11225
>> hostname = xxxxxxxxxxxx
>> listen = 127.0.0.1,XX.XX.XX.XX
>> mail_location = maildir:/srv/mail/%d/%n/Maildir
>> mail_plugins = " 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 ihave
>> namespace inbox {
>>   inbox = yes
>>   location =
>>   mailbox Drafts {
>>     auto = subscribe
>>     special_use = \Drafts
>>   }
>>   mailbox Junk {
>>     auto = subscribe
>>     special_use = \Junk
>>   }
>>   mailbox Sent {
>>     auto = subscribe
>>     special_use = \Sent
>>   }
>>   mailbox "Sent Messages" {
>>     special_use = \Sent
>>   }
>>   mailbox Trash {
>>     auto = subscribe
>>     special_use = \Trash
>>   }
>>   prefix =
>> }
>> passdb {
>>   args = /etc/dovecot/dovecot-sql.conf.ext
>>   driver = sql
>> }
>> plugin {
>>   mail_replica = tcp:xxxxxxxxx:11225
>>   sieve = ~/.dovecot.sieve
>>   sieve_default = /etc/dovecot/sieve/Ingenie.sieve
>>   sieve_default_name = Ingenie
>>   sieve_dir = ~/sieve
>>   sieve_max_redirects = 0
>>   sieve_vacation_dont_check_recipient = yes
>> }
>> postmaster_address = admin at ingenie.fr
>> protocols = " imap lmtp sieve pop3"
>> service aggregator {
>>   fifo_listener replication-notify-fifo {
>>     user = vmail
>>   }
>>   unix_listener replication-notify {
>>     user = vmail
>>   }
>> }
>> service auth {
>>   unix_listener /var/spool/postfix-submission/private/dovecot-auth {
>>     group = postfix
>>     mode = 0600
>>     user = postfix
>>   }
>> }
>> service doveadm {
>>   inet_listener {
>>     address = XX.XX.XX.XX
>>     port = 11225
>>   }
>>   vsz_limit = 100 M
>> }
>> service lmtp {
>>   inet_listener lmtp {
>>     address = 127.0.0.1
>>     port = 11125
>>   }
>> }
>> service replicator {
>>   process_min_avail = 1
>>   unix_listener replicator-doveadm {
>>     group = vmail
>>     mode = 0600
>>     user = vmail
>>   }
>> }
>> ssl_ca = </etc/ssl/ingenie.fr/cacrt.pem
>> ssl_cert = </etc/ssl/ingenie.fr/crt.pem
>> ssl_key = </etc/ssl/ingenie.fr/key.pem
>> submission_host = 127.0.0.1:10025
>> userdb {
>>   driver = prefetch
>> }
>> userdb {
>>   args = /etc/dovecot/dovecot-sql.conf.ext
>>   driver = sql
>> }
>> protocol lmtp {
>>   mail_plugins = " sieve"
>> }
>> protocol imap {
>>   mail_max_userip_connections = 500
>> }
>> protocol sieve {
>>   mail_max_userip_connections = 500
>> }
>> protocol pop3 {
>>   mail_max_userip_connections = 50
>> }
>> 
>> server 2 configuration (2.2.33.2 (d6601f4ec))
>> 
>> disable_plaintext_auth = no
>> doveadm_password =  # hidden, use -P to show it
>> doveadm_port = 11225
>> hostname = xxxxxxxxxx
>> listen = XX.XX.XX.XX
>> mail_location = maildir:/srv/mail/%d/%n/Maildir
>> mail_plugins = " notify replication"
>> mail_privileged_group = mail
>> 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 {
>>   inbox = yes
>>   location =
>>   mailbox Drafts {
>>     auto = subscribe
>>     special_use = \Drafts
>>   }
>>   mailbox Junk {
>>     auto = subscribe
>>     autoexpunge = 30 days
>>     special_use = \Junk
>>   }
>>   mailbox Sent {
>>     auto = subscribe
>>     special_use = \Sent
>>   }
>>   mailbox "Sent Messages" {
>>     special_use = \Sent
>>   }
>>   mailbox Trash {
>>     auto = subscribe
>>     autoexpunge = 30 days
>>     special_use = \Trash
>>   }
>>   prefix =
>> }
>> passdb {
>>   args = /etc/dovecot/sql.conf
>>   driver = sql
>> }
>> plugin {
>>   mail_replica = tcp:xxxxxxxx:11225
>>   sieve = ~/.dovecot.sieve
>>   sieve_default = /etc/dovecot/sieve/Ingenie.sieve
>>   sieve_default_name = Ingenie
>>   sieve_dir = ~/sieve
>>   sieve_max_redirects = 0
>>   sieve_vacation_dont_check_recipient = yes
>> }
>> postmaster_address = admin at ingenie.fr
>> protocols = " imap lmtp sieve pop3 sieve"
>> service aggregator {
>>   fifo_listener replication-notify-fifo {
>>     user = vmail
>>   }
>>   unix_listener replication-notify {
>>     user = vmail
>>   }
>> }
>> service auth {
>>   unix_listener /var/spool/postfix-submission/private/dovecot-auth {
>>     group = postfix
>>     mode = 0600
>>     user = postfix
>>   }
>> }
>> service doveadm {
>>   inet_listener {
>>     address = XX.XX.XX.XX
>>     port = 11225
>>   }
>>   vsz_limit = 100 M
>> }
>> service lmtp {
>>   inet_listener lmtp {
>>     address = 127.0.0.1
>>     port = 11125
>>   }
>> }
>> service replicator {
>>   process_min_avail = 1
>>   unix_listener replicator-doveadm {
>>     group = vmail
>>     mode = 0600
>>     user = vmail
>>   }
>> }
>> ssl_ca = </etc/ssl/ingenie.fr/cacrt.pem
>> ssl_cert = </etc/ssl/ingenie.fr/crt.pem
>> ssl_client_ca_dir = /etc/ssl/certs
>> ssl_key =  # hidden, use -P to show it
>> userdb {
>>   driver = prefetch
>> }
>> userdb {
>>   args = /etc/dovecot/sql.conf
>>   driver = sql
>> }
>> protocol lmtp {
>>   mail_plugins = " sieve"
>> }
>> 
>> Thanks for considering my request.
>> 



More information about the dovecot mailing list