[SOLVED] Re: Trying Dovecot Replication with dsync

Minhas Listas todasminhaslistas at gmail.com
Mon Aug 18 19:10:07 UTC 2014


>
> 1)
> Aug 14 15:39:34 ceph1 dovecot: imap(account=domaintest.com): Error:
> open(/var/run/dovecot/replication-notify-fifo) failed: Permission denied
>
> What is the correct perms for /var/run/dovecot/replication-notify-fifo ?
> Currently:
> # ll /var/run/dovecot/replication-notify-fifo
> prw------- 1 root root 0 Aug 14 15:57
> /var/run/dovecot/replication-notify-fifo|
>
>
Solved with:
# chown dovemail:dovemail /var/run/dovecot/replication-notify-fifo
dovemail is the user for imap processes.


> 2)
> Aug 14 16:02:34 ceph1 dovecot: dsync-server(account=domaintest.com):
> Error: Couldn't create lock */var/lib/imap/account=domaintest.com
> <http://domaintest.com>/*.dovecot-sync.lock: No such file or directory
> Aug 14 16:02:34 ceph1 dovecot: dsync-local(account=domaintest.com):
> Error: Couldn't create lock */var/lib/imap/account=domaintest.com
> <http://domaintest.com>/*.dovecot-sync.lock: No such file or directory
>
> In my production cluster, it is automatically created by dovecot when the
> user performs the first login:
> */var/lib/imap/*<account> for INDEX
> */var/spool/imap/*<account> for Mdbox
>

This was fixed with correct permission on
/var/run/dovecot/replication-notify-fifo

Thanks!
--
Thiago Henrique
www.adminlinux.com.br


More information about the dovecot mailing list