Lines Matching defs:mailbox
8 #include "mailbox-list-iter.h"
16 struct mailbox *box;
402 struct mail_namespace *ns, const char *mailbox)
404 ctx->box = mailbox_alloc(ns->list, mailbox, MAILBOX_FLAG_READONLY);
415 struct mail_namespace *ns, const char *mailbox)
419 ret = cmd_getmetadata_try_mailbox(ctx, ns, mailbox);
448 "* NO Failed to open mailbox %s: %s",
462 const char *mailbox, *entry_name;
483 if (!imap_arg_get_astring(&args[0], &mailbox)) {
498 if (mailbox[0] == '\0') {
501 } else if (strchr(mailbox, '*') == NULL &&
502 strchr(mailbox, '%') == NULL) {
503 /* mailbox attribute */
504 ns = client_find_namespace(cmd, &mailbox);
507 return cmd_getmetadata_mailbox(ctx, ns, mailbox);
509 /* wildcards in mailbox name. this isn't supported by RFC 5464,
513 patterns[0] = mailbox; patterns[1] = NULL;