Dovecot 2.2.15 issues with global ACL

2015-02-10 Thread Ovidiu Moldovan
Hello,

We have upgraded from Dovecot 2.2.13 to 2.2.15 and we are using global ACL file.

The content of the ACL file is as following:

* owner r
INBOX owner lrwstipekxa
INBOX/* owner lrwstipekxa
user owner rwstipekxa
user/* owner rwstipekxa


This worked fine but after update any user cannot see any folders from under 
the INBOX, also they cannot create any new folders.

Error into the logs are like this:

Debug: acl: Mailbox not in dovecot-acl-list: INBOX
Debug: acl: Mailbox not in dovecot-acl-list: INBOX/Chats
Debug: acl: Mailbox not in dovecot-acl-list: INBOX/Draft
Debug: acl: Mailbox not in dovecot-acl-list: INBOX/INBOX



I can only see one acl change log at version 2.2.14: 
http://www.dovecot.org/list/dovecot-news/2014-October/000276.html

acl: Global ACL file now supports quotes around patterns.


But I could not find the reason why the global acl file does not work anymore?

Br,
Ova


RE: Dovecot 2.2.15 issues with global ACL

2015-02-10 Thread Ovidiu Moldovan
It seems after checking the code that global ACL file functionality was changed 
at 2.2.14 so that only 1 rule is used, not multiple rules.

This is not documented or said anywhere into change logs.

Br,
Ova

-Original Message-
From: dovecot [mailto:dovecot-boun...@dovecot.org] On Behalf Of Ovidiu Moldovan
Sent: 10. helmikuuta 2015 10:26
To: dovecot@dovecot.org
Subject: Dovecot 2.2.15 issues with global ACL

Hello,

We have upgraded from Dovecot 2.2.13 to 2.2.15 and we are using global ACL file.

The content of the ACL file is as following:

* owner r
INBOX owner lrwstipekxa
INBOX/* owner lrwstipekxa
user owner rwstipekxa
user/* owner rwstipekxa


This worked fine but after update any user cannot see any folders from under 
the INBOX, also they cannot create any new folders.

Error into the logs are like this:

Debug: acl: Mailbox not in dovecot-acl-list: INBOX
Debug: acl: Mailbox not in dovecot-acl-list: INBOX/Chats
Debug: acl: Mailbox not in dovecot-acl-list: INBOX/Draft
Debug: acl: Mailbox not in dovecot-acl-list: INBOX/INBOX 


I can only see one acl change log at version 2.2.14: 
http://www.dovecot.org/list/dovecot-news/2014-October/000276.html

acl: Global ACL file now supports quotes around patterns.


But I could not find the reason why the global acl file does not work anymore?

Br,
Ova


Dsync issues between Cyrus and Dovecot

2014-12-12 Thread Ovidiu Moldovan
Hello,

I have some issues related with dsync when trying to perform two way 
synchronization between Cyrus and Dovecot.

1st time synchronization always works and email, folders, flags can be synced 
between these but once for example in dovecot side the user creates a folder, 
dsync fails with the following errors:

Debug: brain M: Other brain should change mailbox INBOX/dove GUID 
c77e7711be9a6c77fc845ea745963ddb - df0d180f71e38a544f9e8aa015be
Debug: brain M: out state=master_send_mailbox changed=1
Debug: brain S: in state=recv_mailbox_tree_deletes
Error: Can't create mailbox INBOX/dove: Mailbox already exists

INBOX/dove folder was created in Dovecot side and does not exist in Cyrus side. 
I have tried full sync or backup but without any luck. 

If I delete the folder from Dovecot side the sync works fine again.

I can post more info on the configuration if needed.

Thank you,
Ova