dsync-server: Configure lock-file location?
Good day everyone,
I have a situation where my mail-folder structure (mdbox) ist like this:
My users have the following data:
$ doveadm user XYZ@xx.com
field value home /srv/mail/ mail mdbox:foo/XYZ@xx.com/
I also do replication between 2 nodes. Now, I sometimes (when a lot of replication is happening I get the following errors:
dovecot: dsync-local(XYZ@xx.com): Error: Couldn't lock /srv/mail//.dovecot-sync.lock: Timed out after 60 seconds
This of course not only for XYZ@xx.com
It seems to me, that my mailbox structure should rather be:
$ doveadm user XYZ@xx.com
field value home /srv/mail/foo mail mdbox:XYZ@xx.com/
in order to get rid of these messages? Unfortunatly I cannot change that.
I've searched around and took a look into the code of dsync-server, unfortunatly the path to the lockfile is not configurable.
Is there a way to somehow configure the lock-file location for dsync-server?
Thanks very much, udo.
participants (1)
-
Udo Waechter