[Dovecot] NFS mount permissions
Hi everyone,
I would like to move my mails from ocfs2 to an NFS share. As the mountpoint and all folders and files belong to nobody/nogroup, dovecot is only able to access the mails if I give full access to "others". I don't like that.
How do you NFS-using guys solve this problem?
Regards Patrick
Patrick Westenberg skrev den 2013-05-24 13:57:
How do you NFS-using guys solve this problem?
you ask nfs questions in another maillist ?
there is 2 kinds of people, one that understand unix auth, and the others that dont :)
-- senders that put my email into body content will deliver it to my own trashcan, so if you like to get reply, dont do it
Patrick Westenberg wrote:
I would like to move my mails from ocfs2 to an NFS share. As the mountpoint and all folders and files belong to nobody/nogroup, dovecot is only able to access the mails if I give full access to "others". I don't like that.
We are using user vmail via NFSv4. Which NFS version are you migrating to?
The userid vmail needs to exist on both systems (NFSv4 and mail server) and rpc.identd needs to be running on both sides with the same domain. Then the user should not be displayed as nobody, if the files are owned by vmail:vmail on the NFSv4 server.
Regards Daniel
Daniel Parthey wrote:
and rpc.identd needs to be running on both sides with the same domain.
Sorry, I meant idmapd which is configured in /etc/idmapd.conf
Regards Daniel
participants (3)
-
Benny Pedersen
-
Daniel Parthey
-
Patrick Westenberg