Couldn't create lock .dovecot-sync.lock

Listas@Adminlinux listas at
Wed May 20 13:10:56 UTC 2015

My users are like this "username=domain_name". Could the '=' character 
be the reason?

Despite my settings always worked:
# doveconf auth_username_chars
auth_username_chars = 

All opinions are welcome. Thanks!
Thiago Henrique

Em 16-05-2015 10:06, listas at escreveu:
> Hi,
> In a cluster with two servers and replication via dovecot-dsync, this
> error is logged:
> server1 dovecot: dsync-server(<user>): Error: Couldn't create lock
> /var/lib/imap/user/6a/<user>/.dovecot-sync.lock: No such file or directory
> This is because "/var/lib/imap/user/6a/<user>/" doesn't exist in
> server1. In another cluster node, the directory exists and everything
> seems to work fine.
> In my view, this indicates that the first sync is failing. In the first
> user access Dovecot creates home_dir for him. But the sync is not
> happening at this time to create the home_dir on the other node.
> My confs with doveconf -n:
> Thanks in advance!
> --
> Thiago Henrique

More information about the dovecot mailing list