Potfix+Dovecot with dsync replication problem

Zeljko Dokman zdokman at gmail.com
Mon May 6 15:22:51 EEST 2019


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/20190506/a44da941/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dovecot.conf
Type: application/octet-stream
Size: 1865 bytes
Desc: not available
URL: <https://dovecot.org/pipermail/dovecot/attachments/20190506/a44da941/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: master.cf
Type: application/octet-stream
Size: 6315 bytes
Desc: not available
URL: <https://dovecot.org/pipermail/dovecot/attachments/20190506/a44da941/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cf
Type: application/octet-stream
Size: 2706 bytes
Desc: not available
URL: <https://dovecot.org/pipermail/dovecot/attachments/20190506/a44da941/attachment-0002.obj>


More information about the dovecot mailing list