*************** *** 619,625 **** MAILBOX_LIST_PATH_TYPE_DIR); if (strncmp(path, rootdir, strlen(rootdir)) != 0) mbox->mbox_privileged_locking = TRUE; - } return &mbox->ibox.box; } --- 619,628 ---- MAILBOX_LIST_PATH_TYPE_DIR); if (strncmp(path, rootdir, strlen(rootdir)) != 0) mbox->mbox_privileged_locking = TRUE; + else + i_warning("cmp '%s' vs '%s' len=%d", path, rootdir, (int)strlen(rootdir)); + } else + i_warning("not INBOX: '%s'", name); return &mbox->ibox.box; }