[Dovecot] Access filesystem (NFS) as some user
Mihamina Rakotomandimby
mihamina at gulfsat.mg
Tue May 4 17:01:18 EEST 2010
> Mihamina Rakotomandimby <mihamina at gulfsat.mg> :
> My Dovecot server has to access the users Maildirs.
> Maildirs are on a NFS mount that only a user (vmail/500) may read
> and write. No one else.
My user_query returns:
+--------------------------------------+-----+-----+
| home | uid | gid |
+--------------------------------------+-----+-----+
| /data/mailaka/gulfsat.mg/m/mihamina/ | 500 | 500 |
+--------------------------------------+-----+-----+
So, I expect Dovecot to be vmail/500 when accessing the home, but the
error (syslog):
May 4 16:55:04 hostname dovecot:
stat(/data/mailaka/gulfsat.mg/m/mihamina/)
failed: Permission denied
/data/mailaka/gulfsat.mg/m/mihamina/ is on a NFS mount:
192.168.1.69:/data/mail on /data/mailaka type nfs
>Is the workaround of changing dovecot's system UID/GID a not-so-bad
>one? (I am trying to see if it works, at least...)
Bad. Gave up.
--
Architecte Informatique chez Blueline/Gulfsat:
Administration Systeme, Recherche & Developpement
+261 34 29 155 34 / +261 33 11 207 36
More information about the dovecot
mailing list