[Dovecot] Shared mailboxes basics
skdovecot at smail.inf.fh-brs.de
Mon Mar 22 11:25:45 EET 2010
-----BEGIN PGP SIGNED MESSAGE-----
On Fri, 19 Mar 2010, Thomas Hummel wrote:
> Ok, but I still don't quite get it : if you use the same UID, doesn't this
> somehow equates giving something like 777 modes in the system user case ? (I
> mean on an OS level, problems related to such loose permission are the same
> and, if in 777, permissions are no longer a problem for dovecot) ?
I tried to hack some magic into Dovecot v1.2, in order to use system users
with the default 0700 perms and ACLs.
My idea was to put everybody sharing folders and everybody, who may access
shared folders, into the same group "doveshared", then leverage the
Unix permissions, that this group may access the folders. So I do not need
to use 0777 everywhere.
In fact, I was not able to find a reliable way to get the Unix-permissions
right for new mails. Maybe this was because I didn't set ".dovecot-shared"
or the Unix-permission of the Maildir base directory right.
I also got fchown() errors for shared mailboxes with write access to
Because of this I dropped the idea to use system users with ACLs.
Do you use 0777 Unix perm on all Maildir's and mail folders? Is it working
reliable, when mails are dropped with Deliver and APPEND, and when the
MUA creates new (sub-)folders?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the dovecot