cmd-expunge.c revision edcb2138d48afc1bfe81abcdfd6ad91163e4ee08
/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file */
#include "common.h"
#include "commands.h"
#include "imap-search.h"
#include "imap-expunge.h"
{
struct mail_search_arg *search_arg;
const char *uidset;
return FALSE;
if (!client_verify_open_mailbox(cmd))
return TRUE;
return TRUE;
}
if (search_arg == NULL)
return TRUE;
"OK Expunge completed.");
} else {
return TRUE;
}
}
{
/* Outlook workaround: session 1 set \Deleted flag and
session 2 tried to expunge without having seen it yet.
expunge again. */
return cmd_expunge(cmd);
}
return TRUE;
}
{
if (!client_verify_open_mailbox(cmd))
return TRUE;
} else {
return TRUE;
}
}