From: Timo Sirainen Date: Thu, 2 Apr 2009 19:48:55 +0000 (-0400) Subject: acl: Don't use root directory's dovecot-acl file as the default acl. With Maildir... X-Git-Tag: 1.2.rc1~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=027a7ea252854e19a969db2bdf913551184de9f1;p=thirdparty%2Fdovecot%2Fcore.git acl: Don't use root directory's dovecot-acl file as the default acl. With Maildir it's usually INBOX's ACL. --HG-- branch : HEAD --- diff --git a/src/plugins/acl/acl-backend-vfile.c b/src/plugins/acl/acl-backend-vfile.c index 33d40015b7..4c59b4ce14 100644 --- a/src/plugins/acl/acl-backend-vfile.c +++ b/src/plugins/acl/acl-backend-vfile.c @@ -152,8 +152,7 @@ acl_backend_vfile_object_init(struct acl_backend *_backend, if (storage == NULL) { /* the default ACL for mailbox list */ - dir = mailbox_list_get_path(_backend->list, NULL, - MAILBOX_LIST_PATH_TYPE_DIR); + dir = NULL; } else { dir = acl_backend_vfile_get_local_dir(storage, name); }