Please tell me about maillog Error.
I get the following error in maillog:
--- dovecot: doveadm(nfsnobody): Error: sync: User init failed dovecot: doveadm(nfsnobody): Error: User initialization failed: Namespace '': mkdir(/var/lib/nfs/Maildir) failed: Permission denied (euid=65534(nfsnobody) egid=65534(nfsnobody) missing +w perm: /var/lib/nfs, dir owned by 0:0 mode=0755) ---
I am using Dsync and the configuration is below:
--- service replicator { process_min_avail = 1 }
dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u plugin { mail_replica = remote:root@XXX }
service aggregator { fifo_listener replication-notify-fifo { mode = 0777 } unix_listener replication-notify { mode = 0777 } }
service replicator { unix_listener replicator-doveadm { mode = 0600 } }
replication_max_conns = 10
plugin { # When saving a new mail via IMAP or delivering a mail via LDA/LMTP, # wait for the mail to be synced to the remote site. If it doesn't finish # in 2 seconds, return success anyway. # replication_sync_timeout = 2s } ---
Is the Dsync setting bad? please tell me.
On 23 Feb 2020, at 03:45, 横山航平 <yokoyama.kouhei@iwate-np.co.jp> wrote:
dovecot: doveadm(nfsnobody): Error: sync: User init failed dovecot: doveadm(nfsnobody): Error: User initialization failed: Namespace '': mkdir(/var/lib/nfs/Maildir) failed: Permission denied (euid=65534(nfsnobody) egid=65534(nfsnobody) missing +w perm: /var/lib/nfs, dir owned by 0:0 mode=0755)
The user nfsnobdy does not have permission to write to /var/lib/nfs/Maildir to create the user folders.
That is beyond dovecot.
doveconf -n output would maybe help, but this is probably a file system/user issue.
participants (2)
-
@lbutlr
-
横山航平