Potfix+Dovecot with dsync replication problem

Zeljko Dokman zdokman at gmail.com
Mon Jun 10 22:58:14 EEST 2019


Hi all,
Does enyone have a setup of postfix and dovecot with dsync replication that
actually works?

Best regards

On Mon, May 6, 2019, 14:22 Zeljko Dokman <zdokman at gmail.com> wrote:

> Hi all,
>
> I am in need of some help.
>
> Straggling to make something work, trying to configure postfix and
> dovecote imap server with dovecote replication.
>
> Can’t figure out what is wrong with my configuration.
>
>
>
> Replication is working only for vmail user account, I am getting this
> error on my secondary server  for all other users…
>
>
>
> dovecot: doveadm: Fatal: setgid(4015(zdokman) from userdb lookup) failed
> with euid=5000(vmail), gid=5000(vmail), egid=5000(vmail): Operation not
> permitted (This binary should probably be called with process group set to
> 4015(zdokman) instead of 5000(vmail))
>
>
>
> primary server reports this error:
>
>
>
> dovecot: doveadm(zdokman): Error: doveadm server disconnected before
> handshake: EOF
>
> dovecot: doveadm(zdokman): Error: sync: Disconnected from remote: EOF
>
>
>
>
>
> doveadm replicator status '*'
>
> username
>                      priority fast sync full sync success sync failed
>
> vmail
>         none     01:58:13  02:05:25  01:58:13     -
>
> zdokman
>      none     00:00:25  02:55:26  -            y
>
> test
>           none     00:01:00  21:48:13  -            y
>
>
>
> doveadm sync *
>
> doveadm(root): Fatal: execvp(Maildir) failed: Permission denied
>
> dsync-local(root): Error: read(remote) failed: EOF (version not received)
>
>
>
> I am attaching my dovecot.conf main.cf and master.cf.
>
>
>
> I think my problem is with permissions  but I can figure out how to
> workaround it.
>
>
>
> Best regards
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20190610/af6db3ef/attachment.html>


More information about the dovecot mailing list