[SOLVED] Re: Trying Dovecot Replication with dsync

Francisco Wagner C. Freire wgrcunha at gmail.com
Mon Aug 18 22:14:58 UTC 2014


You can get more information here -> http://wiki2.dovecot.org/Replication


On the master configuration file you can set default permissions for
listeners, for example:

service aggregator {  fifo_listener replication-notify-fifo {    user
= vmail  }  unix_listener replication-notify {    user = vmail  }}



On Mon, Aug 18, 2014 at 4:10 PM, Minhas Listas <todasminhaslistas at gmail.com>
wrote:

> >
> > 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