Permissions for shared mail don't work

Steffen skdovecot at smail.inf.fh-brs.de
Sat Oct 18 13:05:58 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Damien Desfontaines wrote:
> 
> Here it is: http://paste.fulltxt.net/Xzoq9v
> 
> You can actually see when I manually changed all permissions,
> around October 12, and the fact that the messages received
> afterwards don't have the correct permissions.

how do you deliver new messages to spam's INBOX?

> 
> On Fri, Oct 17, 2014 at 08:26:10AM +0200, Steffen Kaiser wrote:
>> 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEVAwUBVEJltnD1/YhP6VMHAQI7GAf+NfwOhFasVnecOXWLhrJWO4CNxk7e7A8x
42VudckKbY4WvgvnehhNWTvXYyJUPlDYpyijLWly2T3X2zjsQzwYiR6WCTxUCq5I
mncZ7VEiMHRW+qsAQ5UWsZsrkcJy161m8+G3ZzcTyX18O1Zt0UL0DwQ1T2xRUuQx
YMVdcvpEP0cygid6NBuT8x6+6MNMpJs3/G+M3SeOOdCgxOdIyYNYPSnlvWc07eJ2
6JC0TBXZ1Nnwf9XHLcSetR6tRBtN5aOQwTl6lpWa9rz31a5LXvR9W1kU19yqVQPA
Be2VOwLCJW/eruYqXbxDg/eJZZiZRvnArNjBpteT4RdbDmgit3+SUQ==
=KDpC
-----END PGP SIGNATURE-----


More information about the dovecot mailing list