Dovecot Replikations Fehler

Andreas Reschke postfix_ml at rirasoft.de
Do Aug 5 17:24:58 CEST 2021


Hallo zusammen

ich möchte meinen Mailserver (SOHO) auf einen zweiten Server synchron 
halten. Dazu habe ich die Replication mit dsync eingerichtet.

1. Server: CentOS 8 linuxserver1 = 192.168.2.6, 
dovecot-mysql-2.3.8-9.el8.x86_64

2. Server: CentOS 8 raspi4 = 192.168.2.7, dovecot-2.3.8-9.el8.aarch64


cat 17-replication.conf
mail_plugins = $mail_plugins notify replication

service aggregator {
        fifo_listener replication-notify-fifo {
        user = vmail
        }
        unix_listener replication-notify {
        user = vmail
        }
}

service replicator {
        process_min_avail = 1
        unix_listener replicator-doveadm {
        mode = 0660
        user = vmail
        }
}

service doveadm {
        inet_listener {
        port = 12345
        }
}
doveadm_port = 12345
doveadm_password = secret
replication_dsync_parameters = -d -n INBOX -l 30 -U
plugin {
        mail_replica = tcp:192.168.2.6:12345

       bzw.

       mail_replica = tcp:192.168.2.7:12345

}

Beim replizieren kommen folgende Fehler

Aug  5 11:19:13 linuxserver1 dovecot[4126676]: 
dsync-local(user1 at rirasoft.de)<xLymCbmqC2Hv9z4AvskFaA>: Error: 
dsync(192.168.2.7:12345): I/O has stalled, no activity for 600 seconds 
(version not received)
Aug  5 11:19:13 linuxserver1 dovecot[4126676]: 
dsync-local(user1 at rirasoft.de)<xLymCbmqC2Hv9z4AvskFaA>: Error: Timeout 
during state=master_recv_handshake
Aug  5 11:19:13 linuxserver1 dovecot[4126676]: 
dsync-local(user2 at rirasoft.de)<un9QCrmqC2Hw9z4AvskFaA>: Error: 
dsync(192.168.2.7:12345): I/O has stalled, no activity for 600 seconds 
(version not received)
Aug  5 11:19:13 linuxserver1 dovecot[4126676]: 
dsync-local(user2 at rirasoft.de)<un9QCrmqC2Hw9z4AvskFaA>: Error: Timeout 
during state=master_recv_handshake
Aug  5 11:19:13 linuxserver1 dovecot[4126676]: 
dsync-local(user3 at rirasoft.de)<9/qzC7mqC2Hy9z4AvskFaA>: Error: 
dsync(192.168.2.7:12345): I/O has stalled, no activity for 600 seconds 
(version not received)
Aug  5 11:19:13 linuxserver1 dovecot[4126676]: 
dsync-local(user3 at rirasoft.de)<9/qzC7mqC2Hy9z4AvskFaA>: Error: Timeout 
during state=master_recv_handshake
Aug  5 11:19:13 linuxserver1 dovecot[4126676]: 
dsync-local(postmaster at rirasoft.de)<FRhcDLmqC2Hz9z4AvskFaA>: Error: 
dsync(192.168.2.7:12345): I/O has stalled, no activity for 600 seconds 
(version not received)
Aug  5 11:19:13 linuxserver1 dovecot[4126676]: 
dsync-local(postmaster at rirasoft.de)<FRhcDLmqC2Hz9z4AvskFaA>: Error: 
Timeout during state=master_recv_handshake
Aug  5 11:19:13 linuxserver1 dovecot[4126676]: 
dsync-local(user4 at rirasoft.de)<buovDbmqC2H09z4AvskFaA>: Error: 
dsync(192.168.2.7:12345): I/O has stalled, no activity for 600 seconds 
(version not received)
Aug  5 11:19:13 linuxserver1 dovecot[4126676]: 
dsync-local(user4 at rirasoft.de)<buovDbmqC2H09z4AvskFaA>: Error: Timeout 
during state=master_recv_handshake
Aug  5 11:19:13 linuxserver1 dovecot[4126676]: 
dsync-local(user5 at rirasoft.de)<W8NGGLmqC2H29z4AvskFaA>: Error: 
dsync(192.168.2.7:12345): I/O has stalled, no activity for 600 seconds 
(version not received)
Aug  5 11:19:13 linuxserver1 dovecot[4126676]: 
dsync-local(user5 at rirasoft.de)<W8NGGLmqC2H29z4AvskFaA>: Error: Timeout 
during state=master_recv_handshake
Aug  5 11:19:21 linuxserver1 dovecot[4126676]: doveadm: Error: 
dsync(raspi4.reschke.lan): I/O has stalled, no activity for 600 seconds 
(last sent=handshake, last recv=handshake)
Aug  5 11:19:21 linuxserver1 dovecot[4126676]: doveadm: Error: Timeout 
during state=slave_recv_last_common
Aug  5 11:19:21 linuxserver1 dovecot[4126676]: doveadm: Error: 
dsync(raspi4.reschke.lan): I/O has stalled, no activity for 600 seconds 
(last sent=handshake, last recv=handshake)
Aug  5 11:19:21 linuxserver1 dovecot[4126676]: doveadm: Error: Timeout 
during state=slave_recv_last_common
Aug  5 11:19:21 linuxserver1 dovecot[4126676]: doveadm: Error: 
dsync(raspi4.reschke.lan): I/O has stalled, no activity for 600 seconds 
(last sent=handshake, last recv=handshake)
Aug  5 11:19:21 linuxserver1 dovecot[4126676]: doveadm: Error: Timeout 
during state=slave_recv_last_common
Aug  5 11:19:21 linuxserver1 dovecot[4126676]: doveadm: Error: 
read(raspi4.reschke.lan) failed: EOF (last sent=handshake, last 
recv=handshake)
Aug  5 11:19:21 linuxserver1 dovecot[4126676]: doveadm: Error: 
dsync(raspi4.reschke.lan): I/O has stalled, no activity for 600 seconds 
(last sent=handshake, last recv=handshake)
Aug  5 11:19:21 linuxserver1 dovecot[4126676]: doveadm: Error: Timeout 
during state=slave_recv_last_common
Aug  5 11:19:21 linuxserver1 dovecot[4126676]: doveadm: Error: 
dsync(raspi4.reschke.lan): I/O has stalled, no activity for 600 seconds 
(last sent=handshake, last recv=handshake)
Aug  5 11:19:21 linuxserver1 dovecot[4126676]: doveadm: Error: Timeout 
during state=slave_recv_last_common
Aug  5 11:19:21 linuxserver1 dovecot[4126676]: doveadm: Error: 
dsync(raspi4.reschke.lan): I/O has stalled, no activity for 600 seconds 
(last sent=handshake, last recv=handshake)
Aug  5 11:19:21 linuxserver1 dovecot[4126676]: doveadm: Error: Timeout 
during state=slave_recv_last_common
Aug  5 11:19:21 linuxserver1 dovecot[4126676]: doveadm: Error: 
dsync(raspi4.reschke.lan): I/O has stalled, no activity for 600 seconds 
(last sent=handshake, last recv=handshake)
Aug  5 11:19:21 linuxserver1 dovecot[4126676]: doveadm: Error: Timeout 
during state=slave_recv_last_common
Aug  5 11:19:22 linuxserver1 dovecot[4126676]: doveadm: Error: 
dsync(raspi4.reschke.lan): I/O has stalled, no activity for 600 seconds 
(last sent=handshake, last recv=handshake)
Aug  5 11:19:22 linuxserver1 dovecot[4126676]: doveadm: Error: Timeout 
during state=slave_recv_last_common

Eine Suche im Internet ergab nicht viel habhaftes, nur ein Downgrade auf 
eine ältere Version (Debian). Dies ist bei mir leider so nicht möglich.

Auf der Firewall ist der Port 12345 freigeschaltet, dovecot hört auch 
auf diesen Port.

[root at linuxserver1 ~]# netstat -tulpen | grep dovecot
tcp        0      0 0.0.0.0:995 0.0.0.0:*               LISTEN      
0          50651115 4126672/dovecot
tcp        0      0 0.0.0.0:110 0.0.0.0:*               LISTEN      
0          50651113 4126672/dovecot
tcp        0      0 192.168.2.6:143 0.0.0.0:*               LISTEN      
0          50655260 4126672/dovecot
tcp        0      0 0.0.0.0:12345 0.0.0.0:*               LISTEN      
0          50655270 4126672/dovecot
tcp        0      0 192.168.2.6:993 0.0.0.0:*               LISTEN      
0          50655261 4126672/dovecot
tcp6       0      0 :::995 :::*                    LISTEN      
0          50651116 4126672/dovecot
tcp6       0      0 :::110 :::*                    LISTEN      
0          50651114 4126672/dovecot
tcp6       0      0 :::12345 :::*                    LISTEN      
0          50655271 4126672/dovecot
[root at linuxserver1 ~]#

Habe ich irgendetwas übersehen?

Gruß

Andreas



Mehr Informationen über die Mailingliste Dovecot