Replikation: .dovecot-sync.lock stale
Hanns Mattes
hanns at hannsmattes.de
Mi Nov 11 16:25:32 CET 2026
Hei, liebe Liste,
zwei Server freebsd.bruecko.de und mail.bruecko.de, mail ist neu aufgesetzt.
Beide unter freebsd 14.5, dovecot 2.3x
Nachdem ich mail.bruecko.de neu aufgesetzt habe, treffen ich
gelegentlich auf dsync-fehler, da das lockfile offenbar nicht aufgehoben
wird.
Hier einmal die dsync-configuration:
freebsd.bruecko.de:
# This sets globally the port needed to connect
# to the doveadm service
doveadm_port = 54321
# Set the password globally to use for connecting to
# and requiring for the doveadm service
doveadm_password = irregeheim
# Set the directory for validating certificates
# provided when running with SSL enabled
# Should be the standard OpenSSL certificate directory by default
ssl_client_ca_dir = /etc/ssl/certs
# ssl_client_ca_file = /certs/rapidneu.crt
#configure replication_options
#replication_dsync_parameters = -d -N -l 120 -U -x Public/Mitteilungen
replication_dsync_parameters = -d -l 120 -U
# Configure the doveadm service to listen
service doveadm {
vsz_limit = 0
inet_listener {
# port to listen on
port = 54321
# enable SSL
ssl = yes
}
}
# Configure the aggregator service for notifications
service aggregator {
fifo_listener replication-notify-fifo {
# Your mail user that's managing files generally is used here
user = vmail
}
unix_listener replication-notify {
user = vmail
}
}
# Configure the replicator service
service replicator {
process_min_avail = 1
vsz_limit = 2G
unix_listener replicator-doveadm {
mode = 0666
}
}
# Configure target hosts for replication
# tcps can be tcp if you don't want to connect with SSL
# :port can be omitted if it's the default set globally for doveadm
plugin {
mail_replica = tcps:mail.bruecko.de
}
und das Gleiche für mail.bruecko.de
# This sets globally the port needed to connect
# to the doveadm service
doveadm_port = 54321
# Set the password globally to use for connecting to
# and requiring for the doveadm service
doveadm_password = irregeheim
# Set the directory for validating certificates
# provided when running with SSL enabled
# Should be the standard OpenSSL certificate directory by default
ssl_client_ca_dir = /etc/ssl/certs
# ssl_client_ca_file = /certs/rapidneu.crt
#configure replication_options
# replication_dsync_parameters = -d -N -l 120 -U -x Public/Mitteilungen
replication_dsync_parameters = -d -l 120 -U
# Configure the doveadm service to listen
service doveadm {
vsz_limit = 0
inet_listener {
# port to listen on
port = 54321
# enable SSL
ssl = yes
}
}
# Configure the aggregator service for notifications
service aggregator {
fifo_listener replication-notify-fifo {
# Your mail user that's managing files generally is used here
user = vmail
}
unix_listener replication-notify {
user = vmail
}
}
# Configure the replicator service
service replicator {
process_min_avail = 1
vsz_limit = 2G
unix_listener replicator-doveadm {
mode = 0666
}
}
# Configure target hosts for replication
# tcps can be tcp if you don't want to connect with SSL
# :port can be omitted if it's the default set globally for doveadm
plugin {
mail_replica = tcps:freebsd.bruecko.de
}
Fällt da jemandem etwas auf, beziehungsweise: Wo muss ich noch nachschauen?
Fragende Grüße
Hanns
Mehr Informationen über die Mailingliste Dovecot