View Issue Details

IDProjectCategoryView StatusLast Update
0003099SOGoWeb Mailpublic2019-08-29 14:51
Reporterc.mammoli Assigned Toludovic  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platform[Server] LinuxOSRHEL/CentOSOS Version6
Product Version2.2.15 
Fixed in Version4.1.0 
Summary0003099: Can't delete IMAP acl for groups (Dovecot)
Description

Hi, if I set an imap acl using sogo this is is the imap command I grab using tshark:

IMAP 102 Request: 7 setacl "INBOX" "mail-tecnici" ""
IMAP 89 Response: 7 OK Setacl complete.

"mail-tecnici" is my group
This results in the following dovecot-acl file:
group=mail-tecnici lr

Using getacl dovecot now reports:
IMAP 82 Request: 6 getacl "INBOX"
IMAP 150 Response: * ACL "INBOX" "$mail-tecnici" lr "c.mammoli" lrwstipekxacd

Notice the $ prefix
If I try to delete the acl via sogo this is the imap command sent:
IMAP 100 Request: 6 deleteacl "INBOX" "mail-tecnici"
IMAP 92 Response: 6 OK Deleteacl complete.

However dovecot expects $mail-tecnici and does not delete the ACL

I already set NGImap4ConnectionGroupIdPrefix = "$"; in sogo.conf but I think this is the default

Steps To Reproduce

1) Share an Imap folder to a ldap group
2) Check the dovecot-acl file
3) Delete the acl using dovecot ui
4) Reopen the sharing options for the imap folder
5) Notice the folder is still shared with the group

Additional Information

[root@mailnew ~]# dovecot --version
2.1.17

[root@mailnew ~]# sogod --version
2015-02-11 11:46:23.619 sogod[14453] Don't run SOGo as root!

[root@mailnew ~]# lsb_release -a
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.6 (Final)
Release: 6.6
Codename: Final

TagsNo tags attached.

Issue History

Date Modified Username Field Change
2015-02-11 10:48 c.mammoli New Issue
2019-08-29 14:51 ludovic Note Added: 0013719
2019-08-29 14:51 ludovic Status new => resolved
2019-08-29 14:51 ludovic Fixed in Version => 4.1.0
2019-08-29 14:51 ludovic Resolution open => fixed
2019-08-29 14:51 ludovic Assigned To => ludovic