imap-settings.c revision b9f30617c2c96d54acbc4f85ed17b939c4f28916
/* Copyright (c) 2005-2009 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "settings-parser.h"
#include "mail-storage-settings.h"
#include "imap-settings.h"
#include <stddef.h>
#include <stdlib.h>
#include <unistd.h>
static struct setting_define imap_setting_defines[] = {
};
static struct imap_settings imap_default_settings = {
/* RFC-2683 recommends at least 8000 bytes. Some clients however don't
break large message sets to multiple commands, so we're pretty
liberal by default. */
};
struct setting_parser_info imap_setting_parser_info = {
};
{
}
}
/* <settings checks> */
const char **error_r)
{
#ifndef CONFIG_BINARY
#endif
"mail_plugin_dir: access(%s) failed: %m",
return FALSE;
}
return TRUE;
}
/* </settings checks> */
static void
{
const char *const *expanded;
/* settings from userdb are in the VARS_EXPANDED list. for each
unknown setting in the list assume it's a plugin setting. */
continue;
continue;
}
}
const struct mail_user_settings **user_set_r)
{
static const struct setting_parser_info *roots[] = {
};
struct setting_parser_context *parser;
void **sets;
if (settings_pool == NULL)
else
if (settings_parse_environ(parser) < 0) {
i_fatal("Error reading configuration: %s",
}
}