mbox_acls = mailbox_list[mailbox]
except KeyError:
# no rights for the mailbox were found
+ logging.warning("Could not find the acls for mailbox %s for user %s.", mailbox, original_user)
return
for acl_user in mbox_acls:
+ # (in case target user != original user):
+ # - don't overwrite acls eventually set for the current targetuser
+ # - don't set the default owner acls for the new folder
if acl_user != target_user and acl_user != original_user:
try:
self.mail_con.setacl(mailbox, acl_user, mbox_acls[acl_user])