cmd-select.c revision 290d0477ac0fed6e0c5faa17d55364a971696923
/* Copyright (C) 2002 Timo Sirainen */
#include "common.h"
#include "commands.h"
{
struct mailbox_status status;
enum mailbox_open_flags flags;
const char *mailbox;
/* <mailbox> */
return FALSE;
}
if (readonly)
return TRUE;
}
return TRUE;
}
/* set client's mailbox only after getting status to make sure
client->select_counter++;
if (status.first_unseen_seq != 0) {
t_strdup_printf("* OK [UNSEEN %u] First unseen.",
}
t_strdup_printf("* OK [UIDVALIDITY %u] UIDs valid",
t_strdup_printf("* OK [UIDNEXT %u] Predicted next UID",
if (status.diskspace_full) {
"Disk space is full, delete some messages.");
}
"OK [READ-ONLY] Select completed." :
"OK [READ-WRITE] Select completed.");
if (mailbox_check_interval != 0) {
}
return TRUE;
}
{
}