Iavor Stoev
2014-Jun-11 12:52 UTC
ACL configuration migration from Dovecot 2.1.17 to 2.2.13
Hello, I'm preparing migration to the latest Dovecot version 2.2.13 from the previous stable branch 2.1.17 which is deployed on my servers. With version 2.1.17 I use global acl dir to prevent all mail users to delete their INBOX.Junk Mail folder, which is part from our spam protection system. My current config is: cat /etc/dovecot/acls/INBOX.Junk\ Mail owner lrwstiae With version 2.2.13, the global acl dir support is disabled (with the above config, the imap server shows no folders at all) so I must use global acl file. The problem is that the "INBOX.Junk Mail" folder contains space character and I tried to escape it with "",'',/ and enclose the whole name with "" & '' without success. If I change the acl config to INBOX.Mail it works OK. The syntax of my global acl file is: cat /etc/dovecot/acls INBOX.Junk Mail owner lrwstiae The error is: Error: Global ACL file /etc/dovecot/acls line 1: Unknown ID 'Mail' Please advise Iavor Stoev Project Manager // Head of System & Network Administration Department
Timo Sirainen
2014-Jul-03 19:33 UTC
ACL configuration migration from Dovecot 2.1.17 to 2.2.13
On 11.6.2014, at 15.52, Iavor Stoev <iavor at icdsoft.com> wrote:> I'm preparing migration to the latest Dovecot version 2.2.13 > from the previous stable branch 2.1.17 which is deployed on my servers. > > With version 2.1.17 I use global acl dir to prevent all mail users to delete their INBOX.Junk Mail folder, which is part from our spam protection system. > > My current config is: > > cat /etc/dovecot/acls/INBOX.Junk\ Mail > owner lrwstiae > > With version 2.2.13, the global acl dir support is disabled (with the above config, the imap server shows no folders at all) so I must > use global acl file.It's not supposed to be disabled. It's supposed to work exactly as in v2.1. In my test it still works, so the problem is something more complex than "it's completely broken". Would be nice to know what exactly is broken with it.
Seemingly Similar Threads
- BUG: Mail folder with space in its name is not supported in the global acl file
- Changed IMAP MOVE behavior in Dovecot 2.2.x
- [Bug 11545] New: -A (preserve ACLs) with --link-dest=DIR fails when DIR has a directory with the same file's name
- not sure how to read the log
- After upgrade from 2.1 to 2.2.13 clients can create folders with names containing slash character on a Linux system