lda-settings.c revision 7744586e3e0fd60158abfbb03a233d3bd8d6c48b
2454dfa32c93c20a8522c6ed42fe057baaac9f9aStephan Bosch/* Copyright (c) 2005-2009 Dovecot authors, see the included COPYING file */
61b0637759146621cbb7edcbd0b03a71cfd66dfeTimo Sirainenstatic bool lda_settings_check(void *_set, pool_t pool, const char **error_r);
a27e065f1a1f91c7fbdf7c2ea1c387441af0cbb3Timo Sirainen { type, #name, offsetof(struct lda_settings, name), NULL }
c040ee67d0ac0fb7375bb543965bf67dcae6affaTimo Sirainen { SET_DEFLIST, name, offsetof(struct lda_settings, field), defines }
a27e065f1a1f91c7fbdf7c2ea1c387441af0cbb3Timo Sirainenstatic const struct setting_define lda_setting_defines[] = {
c040ee67d0ac0fb7375bb543965bf67dcae6affaTimo Sirainenstatic const struct lda_settings lda_default_settings = {
b039dabf4c53f72454e795930e7643b6e0e625f9Timo Sirainen "Your message to <%t> was automatically rejected:%n%r",
c0a87e5f3316a57e6f915882fa1951d0fbb74a61Timo Sirainenstatic const struct setting_parser_info *lda_setting_dependencies[] = {
12b4dbf933ee54f7b96968ba150095baa985fdafTimo Sirainenconst struct setting_parser_info lda_setting_parser_info = {
12b4dbf933ee54f7b96968ba150095baa985fdafTimo Sirainen MEMBER(struct_size) sizeof(struct lda_settings),
a27e065f1a1f91c7fbdf7c2ea1c387441af0cbb3Timo Sirainenstatic bool lda_settings_check(void *_set, pool_t pool ATTR_UNUSED,
a27e065f1a1f91c7fbdf7c2ea1c387441af0cbb3Timo Sirainen const char **error_r)
a27e065f1a1f91c7fbdf7c2ea1c387441af0cbb3Timo Sirainen *error_r = "postmaster_address setting not given";