View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003780||SOGo||Backend Mail||public||2016-07-26 06:49||2020-07-26 11:18|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Summary||0003780: SOGo cannot share a folder to all authenticated users|
Again, it's an iRedMail server, sharing an IMAP folder to some specific mail user works fine. e.g. logged as 'firstname.lastname@example.org', share INBOX to 'email@example.com', it works fine.
When you click the three-dot menu to share a folder, there's a entry called "Any Authenticated User", click it, and toggle on the access rights, click "Save". But no one can see this shared folder.
After checked the 'dovecot-acl' file under user's mailbox, it's obvious that SOGo generates wrong ACL.
|Tags||No tags attached.|
I can confirm this bug on Debian Buster.
Clicking the GUI as stated by the reporter (see 0.png) results in no shares. The permissions are stored correctly. But it creates a user called "(null)". If you logout and login the current user, you can confirm it in SOGo's GUI (see 00.png). But SOGo and Dovecot can't map that user correctly.
sudo doveadm acl get -u firstname.lastname@example.org INBOX
A workaround for me is to set the ACL manually on Dovecot with:
All clients have the share now: Thunderbird, Outlook, mobile phone clients, even SOGo. But again when I login the user and go to the menu I can see, that SOGo can't map that special user "authenticated" to its own "any authenticated user" group (see 1.png).
Additional note: As stated by the reporter I can confirm that shares from user A to user B work correctly. Only the "any authenticated user" is not working.
Am I missing something? I'm pretty sure everything is cofigured correctly here.
As defined in RFC 4314, SOGo will use the identifier anyone.
In my first post, the problem is SOGo generates "user=(null)" instead of "anyone". Is it a SOGo bug?
I don't have a testing environment right now, the issue was reported 4 years ago.
yes <code>acl_anyone = allow</code> is set in the configuration.
After enabling the debug mode I did what u mentioned. When opening the dialogue for the user rights it performs some imap commands. When I add the <i>Any authenticated user</i> entry the only thing in the log is <code>
The log doesn't show more.
When I check the permissions on the mail server I see:
So according to @zhb's statement it creates an user with empty id.
If you need more information feel free to ask. I would be glad to help and solve the problem.
Hi @francis, yes I'm pretty sure, I did it correctly....
Jul 24 10:13:37 sogod : <0x0x55b19e92dcf0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 24 10:15:12 sogod : 18.104.22.168, 22.214.171.124 "GET /SOGo/so/mighty.duck/Mail/0/view HTTP/1.1" 200 1274/0 0.436 - - 4M
That's why I can confirm that after saving the coressponding rights. This is the only thing, what appears in the log:
That's all! There are no IMAP commands, that follow this log.
|2016-07-26 06:49||zhb||New Issue|
|2020-07-08 14:40||mighty.duck||File Added: 00.png|
|2020-07-08 14:40||mighty.duck||File Added: 1.png|
|2020-07-08 14:40||mighty.duck||File Added: 0.png|
|2020-07-08 14:40||mighty.duck||Note Added: 0014473|
|2020-07-22 10:12||francis||Note Added: 0014563|
|2020-07-22 10:19||zhb||Note Added: 0014564|
|2020-07-22 10:22||francis||Note Added: 0014565|
|2020-07-22 10:24||zhb||Note Added: 0014566|
|2020-07-24 04:32||mighty.duck||Note Added: 0014572|
|2020-07-24 12:13||francis||Note Added: 0014582|
|2020-07-26 11:15||mighty.duck||Note Added: 0014588|
|2020-07-26 11:18||mighty.duck||Note Added: 0014589|