/* Copyright (c) 2002-2018 Dovecot authors, see the included COPYING file */
#include "imap-common.h"
#include "imap-utf7.h"
#include "imap-commands.h"
#include "mail-namespace.h"
static bool
{
int ret;
return FALSE;
}
if (existence == MAILBOX_EXISTENCE_NONE) {
mailbox_get_vname(box)));
return FALSE;
}
return TRUE;
}
{
}
{
bool unsubscribed_mailbox2;
char sep;
/* <mailbox> */
return FALSE;
return TRUE;
if (subscribe) {
mailbox_free(&box);
return TRUE;
}
}
if (!subscribe &&
/* try to unsubscribe both "box" and "box/" */
mailbox_free(&box2);
}
} else {
"OK Subscribe completed." :
"OK Unsubscribe completed.");
}
mailbox_free(&box);
return TRUE;
}
{
}