I'm trying to set up replication between two servers and I've hit a snag. I have two users and am using mbox files. If anybody has a sample config file for a simple system like mine I would really be grateful to see it.
Thanks,
The error I'm getting is:
Mar 23 14:07:31 knute2 dovecot: doveadm(192.168.3.100,nobody): Error: user nobody: Initialization failed: Namespace '': mkdir(/nonexistent/mail) failed: Permission denied (euid=65534(nobody) egid=65534(nogroup)) Mar 23 14:07:31 knute2 dovecot: doveadm(192.168.3.100,nobody): Error: dsync-server: User init failed Mar 23 14:07:31 knute2 dovecot: doveadm(nobody): Error: sync: Failed >to start dsync-server command: 75
knute at knute2:/etc/dovecot/conf.d $ sudo doveadm user '*' nobody knute penny
You can add to conf.d/10-mail.conf
first_valid_uid = 1000 last_valid_uid = 2000
You have nobody uid 65534 so make last_valid_uid less than you have in your /etc/passwd. Same thing with the first_valid_uid just pick first uid after users start in your /etc/passwd
I don't know why the user 'nobody' shows up here? nobody is in the /etc/passwd file but he has no group.