lda-settings.c revision cca4ba2a504d70a9fe9fee37f8433997359de52c
#include "lib.h"
#include "hostpid.h"
#include "settings-parser.h"
#include "mail-storage-settings.h"
#include "lda-settings.h"
#include <stddef.h>
static const struct setting_define lda_setting_defines[] = {
};
static const struct lda_settings lda_default_settings = {
.postmaster_address = "",
.hostname = "",
.submission_host = "",
.sendmail_path = "/usr/sbin/sendmail",
.rejection_subject = "Rejected: %s",
"Your message to <%t> was automatically rejected:%n%r",
.deliver_log_format = "msgid=%m: %$",
.recipient_delimiter = "+",
};
static const struct setting_parser_info *lda_setting_dependencies[] = {
};
const struct setting_parser_info lda_setting_parser_info = {
.module_name = "lda",
.struct_size = sizeof(struct lda_settings),
#ifndef CONFIG_BINARY
#endif
};
{
/* check for valid looking fqdn in hostname */
*error_r = "postmaster_address setting not given";
return FALSE;
}
}
return TRUE;
}