-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, 17 Oct 2014, Damien Desfontaines wrote:
I'm trying to make the mailbox of (system) user "spam" available to user "ted". I followed these instructions: http://wiki2.dovecot.org/SharedMailboxes/Permissions and it doesn't seem to work. To be more precise:
- I manually (and recursively) changed the permissions of all files in ~spam/Mail to 660 (and 770 for the directories);
- I manually (and recursively) changed the group owner of everything in ~spam/Mail to "mailperso", where "mailperso" is a group whose users are spam and ted;
- I added « mail_access_groups=mailperso » into my dovecot config;
- and I restarted dovecot.
But still, when I send a new email to spam, it appears as being owned by group "spam" and having permissions set to 600, so I can't access it with user "ted". I also tried to set the setgid bit for ~spam/Mail, it didn't change anything, and when I recursively set the setgid for all subdirectories of ~spam/Mail, it gives new mails the correct group (mailperso) but not the correct permissions.
Please post (here in the list)
ls -al ~spam/Mail ~spam/Mail/{new,cur}
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBVEC2gnz1H7kL/d9rAQKEIAf/b0xU5NqG1UqMy0umd+5PAmuLDf6I/IWU zD7hN/l8X2XPP2sGi5r8SkfIKZCVR/H+KLuZVJoNM5xeGlfg9c51Pd8UPrVlAlsE DnWDdJYY0+TXyqrY+chfK6rqH6+AF5EKIRioKfZmdlaK+jrQc4hHTRJIfCLpx2Ok 7MBHsCcAlPUrhpFAjmek8ylHHRlTZFvDfQei80PBRs7g7ULS+sVPgr1oSggQ1NbY o0j04LMtgcUZwrYNvOj2fr4jzUZkpoohvX2AgDbnEzzrilAYKmVfYUcjBj4Gn3+n T9CyWQCRVf1NKCAkqeH5HXaw6VcDGFUPtJVpNaZKn/ItbhfZHgqu1w== =dUq7 -----END PGP SIGNATURE-----