lmtp-settings.c revision 4afd50dff16661684ad2acddad7284bcd8c564db
/* Copyright (c) 2009-2010 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "buffer.h"
#include "var-expand.h"
#include "settings-parser.h"
#include "service-settings.h"
#include "master-service.h"
#include "master-service-settings.h"
#include "lda-settings.h"
#include "lmtp-settings.h"
#include "mail-storage-settings.h"
#include <stddef.h>
#include <unistd.h>
/* <settings checks> */
static struct file_listener_settings lmtp_unix_listeners_array[] = {
{ "lmtp", 0666, "", "" }
};
static struct file_listener_settings *lmtp_unix_listeners[] = {
};
static buffer_t lmtp_unix_listeners_buf = {
lmtp_unix_listeners, sizeof(lmtp_unix_listeners), { 0, }
};
/* </settings checks> */
struct service_settings lmtp_service_settings = {
.name = "lmtp",
.protocol = "lmtp",
.type = "",
.executable = "lmtp",
.user = "",
.group = "",
.privileged_group = "",
.extra_groups = "",
.chroot = "",
.process_min_avail = 0,
.process_limit = 0,
.client_limit = 0,
.service_count = 0,
.idle_kill = 0,
.vsz_limit = 0,
.unix_listeners = { { &lmtp_unix_listeners_buf,
sizeof(lmtp_unix_listeners[0]) } },
};
static const struct setting_define lmtp_setting_defines[] = {
};
static const struct lmtp_settings lmtp_default_settings = {
.lmtp_proxy = FALSE
};
static const struct setting_parser_info *lmtp_setting_dependencies[] = {
};
const struct setting_parser_info lmtp_setting_parser_info = {
.module_name = "lmtp",
.struct_size = sizeof(struct lmtp_settings),
};
const struct lmtp_settings **lmtp_set_r,
const struct lda_settings **lda_set_r)
{
void **sets;
}