autocreate-plugin.c revision c10669a4219b5323127356d8ad5416d41c128235
/* Copyright (c) 2007-2011 Dovecot authors, see the included COPYING file */
/* FIXME: this plugin is only for backwards compatibility. log a warning in
v2.2 about this and in later versions remove completely */
#include "lib.h"
#include "array.h"
#include "unichar.h"
#include "mail-user.h"
#include "mail-namespace.h"
#include "mail-storage-hooks.h"
#include "autocreate-plugin.h"
static struct mailbox_settings *
{
struct mailbox_settings *const *box_set;
return *box_set;
}
return NULL;
}
static void
{
struct mail_namespace *ns;
struct mailbox_settings *set;
if (!uni_utf8_str_is_valid(vname)) {
i_error("autocreate: Mailbox name isn't valid UTF-8: %s",
vname);
return;
}
i_error("autocreate: No namespace found for mailbox: %s",
vname);
return;
}
}
if (subscriptions)
}
static void
bool subscriptions)
{
const char *value;
char env_name[20];
unsigned int i = 1;
env_name_base, ++i);
}
}
static void
{
}
static struct mail_storage_hooks autocreate_mail_storage_hooks = {
};
{
}
void autocreate_plugin_deinit(void)
{
}