/* Copyright (c) 2002-2018 Dovecot authors, see the included COPYING file */
#include "imap-common.h"
#include "imap-commands.h"
#include "imap-expunge.h"
{
if (!client_verify_open_mailbox(cmd))
return TRUE;
if (error != MAIL_ERROR_PERM)
else {
"OK Closed without expunging: %s", errstr);
}
}
if (mailbox_sync(mailbox, 0) < 0)
return TRUE;
}