Displaying 1 result from an estimated 1 matches for "emexis_antispam_mailbox_delete".
2010 Nov 26
1
Mailbox Delete
...is called,
just seeing if my flag is "create or delete".
My function i copy from doveadm + autocreate create mailbox.
The delete is made, and works, but i got some errors before the delete.
I thing that is missing something in this function, like delete something
else....
static void
emexis_antispam_mailbox_delete(struct mail_namespace *namespaces, const char
*name)
{
struct mail_namespace *ns;
struct mailbox *box;
ns = mail_namespace_find(namespaces, &name);
if (ns != NULL){
box = mailbox_alloc(ns->list, name, 0);
if (mailbox_delete(box) < 0) {...