[Dovecot] Is replication broken?
IT geek 31
itgeek31 at googlemail.com
Thu Jan 30 13:23:24 EET 2014
Hi,
Apologies for this being my 248th post about replication...
The current error I'm getting is:
Jan 30 12:10:54 Server1 dovecot: dsync-local(MailUser1): Error: dsync(
Server2.test.com): read() failed: read((fd)) failed: Connection reset by
peer
Subsequent errors are:
Jan 30 12:15:47 Server1 dovecot: dsync-local(MailUser1): Error: read(
Server2.test.com) failed: EOF
The above error is seen on Server1, after the initial sync completes of the
first mailbox (Sent folder to be precise).
Does anyone have an ideas as to what might be causing it? These are brand
new rebuilds, running the latest build - I just can't seem to get this
working.
Bug maybe?
Configs are as follows:
Server1:
# 2.2.10: /usr/pkg/etc/dovecot/dovecot.conf
# OS: NetBSD 5.2 cobalt
auth_mechanisms = plain login
doveadm_password = secret
doveadm_port = 12345
first_valid_uid = 1003
last_valid_uid = 1020
listen = 192.168.1.1
login_greeting = test.com
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mail_plugins = " notify replication"
passdb {
driver = passwd
}
plugin {
mail_replica = tcp:Server2.test.com
}
protocols = imap
service aggregator {
fifo_listener replication-notify-fifo {
mode = 0666
}
unix_listener replication-notify {
mode = 0600
}
}
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
user = root
}
service imap-login {
inet_listener imap {
port = 0
}
}
service replicator {
process_min_avail = 1
unix_listener replicator-doveadm {
mode = 0600
}
}
ssl_cert = </etc/openssl/certs/Server1.test.crt
ssl_key = </etc/openssl/private/Server1.test.key
userdb {
driver = passwd
}
protocol lda {
postmaster_address = postmaster at test.com
}
ServerB:
# 2.2.10: /usr/pkg/etc/dovecot/dovecot.conf
# OS: NetBSD 5.1 cobalt
auth_mechanisms = plain login
doveadm_password = secret
doveadm_port = 12345
listen = 192.168.1.2
login_greeting = test.com
mail_location = mbox:~/mail:INBOX=/var/mail/%u
passdb {
driver = passwd
}
protocols = imap
service aggregator {
fifo_listener replication-notify-fifo {
mode = 0666
}
unix_listener replication-notify {
mode = 0600
}
}
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
user = root
}
service doveadm {
inet_listener {
port = 12345
}
}
service imap-login {
inet_listener imap {
port = 0
}
}
service replicator {
process_min_avail = 1
unix_listener replicator-doveadm {
mode = 0600
}
}
ssl_cert = </etc/openssl/certs/Server2.test.com.crt
ssl_key = </etc/openssl/private/Server2.test.com.key
userdb {
driver = passwd
}
protocol lda {
postmaster_address = postmaster at test.com
}
More information about the dovecot
mailing list